# Models and providers

Pick the AI model for your project. Use the built-in Lyna models, or connect your own Claude, ChatGPT or Kimi Code account or API key.

The model picker in the composer sets which model answers in this project. Lyna models are built in. Other models appear once you connect a provider.

The model picker open with the Lyna models, the Claude models and the search box.

## Lyna models (built in)

| Model         | Best for                                              | Cost per turn | Plan         |
| ------------- | ----------------------------------------------------- | ------------- | ------------ |
| **Lyna Free** | Everyday edits and quick answers. Fast and efficient. | Lowest        | Free and Pro |
| **Lyna Pro**  | Reasoning with strong coding for multi-step work.     | Higher        | Pro          |
| **Lyna Max**  | Large projects, tool use and long, multi-step work.   | Highest       | Pro          |

Lyna models use your Free credits (10 every 24 hours, up to 100 a month) on Free and your monthly credits on Pro. On Pro, a turn on Lyna Pro costs more credits than the same turn on Lyna Free, and Lyna Max costs the most. All three accept images. See [Credits per turn](/features/ai/credits-per-turn), and [Plans and credits](/introduction/plans-and-credits) for what each plan includes.

## Providers you can connect

| Provider                    | How to connect                                           | Models                                                                 |
| --------------------------- | -------------------------------------------------------- | ---------------------------------------------------------------------- |
| **Anthropic** (Recommended) | Sign in with **Claude Pro/Max**, or add an **API key**   | Claude Opus 5.5, Claude Sonnet 5.5, Claude Haiku 5.5, Claude Fable 5.2 |
| **OpenAI**                  | Sign in with **ChatGPT Pro/Plus**, or add an **API key** | GPT-6.2 Sol, GPT-6.2 Astra, GPT-6.1 Terra, GPT-6 Luna                  |
| **Moonshot AI**             | Sign in with **Kimi Code**                               | Kimi K3                                                                |

Models from a connected provider run on your own subscription or API key. They do not use Lyna credits. Each model offers its own thinking effort levels on each connection: see [Effort](/features/ai/effort).

## Connect a provider

1. ### Open Providers

   Open **Settings > AI > Models** and choose the **Providers** tab. You can also choose **Manage Models** in the model picker.
2. ### Choose Connect

   Under **Popular Providers**, choose **Connect** next to the provider.
3. ### Pick a method and finish

   - **Claude Pro/Max**: open the sign-in page, authorize, then paste the code you receive.
   - **ChatGPT Pro/Plus** and **Kimi Code**: Lyna shows a code. Enter it on the page it links to. The dialog updates when you are done.
   - **API key**: paste your key and save.

   The provider moves to **Connected Providers**, with a tag that shows how it is connected.

   The Connect provider dialog with the sign-in and API key methods.

## Choose a model

Open the model picker in the composer and pick a model. Use **Search models...** to filter. The choice is saved for the project.

To hide models you never use, open **Settings > AI > Models > Models** and switch them off.

> [!NOTE]
>
> **Out of Lyna credits?**
>
> When your credits run out, the picker says so and suggests switching to a connected provider to keep building on your own quota.

## When a run needs a model

Every run uses the project's saved model, wherever it starts: the chat, **Plan it** in the Site map, a note sent to an agent, **Fix with agent** in Doctor or the security scan, or Agent Review. This works with the chat closed too. When Lyna can't start the run, it says why, with what you can do:

| Lyna says                          | What you can do                                                                                                            |
| ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| **Select a model to run this**     | **Choose a model** opens the model picker right beside the button you pressed, or as a sheet on a phone.                   |
| **Claude isn't connected anymore** | **Reconnect** the provider, or **Use Lyna Free**. Your choice is kept and comes back once the provider is connected again. |
| **Lyna Pro isn't in your plan**    | **See plans**, or **Use Lyna Free**.                                                                                       |

Lyna never switches your model on its own.

When your own connection refuses a turn, such as a Claude sign-in that expired or a key that was refused, the model picker marks that provider's models **Reconnect needed** until you reconnect it. **Reconnect**, above them or on the card in the chat, opens **Providers** on that provider's own row, marked, with its **Reconnect** button ready. See [Questions, approvals and errors](/features/ai/questions-approvals-and-errors).

The Site map's Ask Lyna to change pages field saying Choose a model first, with the model picker open right beside its Choose a model button.

## Disconnect

In **Settings > AI > Models > Providers**, choose **Disconnect** next to the provider. If a sign-in expires, the provider shows **Reconnect**.

## FAQ

**Which model should I start with?** Start with Lyna Free for small edits. Use Lyna Pro or Lyna Max, or a connected Claude or GPT model, for larger features.

**Why is a model missing from the picker?** It may be hidden in **Settings > AI > Models**, locked by your plan, or it needs a provider connection. When a model leaves the list, the projects that used it move to its successor.

## Related

- [Effort](/features/ai/effort): Control how much the model thinks.
- [Credits per turn](/features/ai/credits-per-turn): What a turn costs on Lyna models.
- [AI providers](/integrations/ai-providers): Provider setup in detail.
