# Model

> The model list that opens from a Model row, where you search every model you can use, narrow it to one provider, and pick the model or go back to the default.

Source: https://air.build/docs/screens/team/model-picker/

The model list is where you choose the AI model behind a **Model** row: the model every Agent runs on by default, or the model of one Agent. It has a search field, a way to narrow the list to one provider, the default on top, the models you picked lately, and every model you can use. On iPhone and iPad it's a sheet; on the Mac it's a popover under the **Model** row.

## Open it

The list opens from two places:

- **Settings › Custom Keys › Default Model › Model**: the model every Agent runs on unless it has a model of its own. See [Custom Keys](https://air.build/docs/settings/custom-keys/#default-model).
- **An Agent's editor › Model**: the model of that one Agent, in [Create from Blank](https://air.build/docs/screens/team/create-from-blank/) and when you edit an Agent. See [Edit an Agent's profile](https://air.build/docs/agents/edit-an-agent/#choose-a-model).

**iPhone**

Tap the **Model** row. The row shows the current model's mark and name, then a chevron.

The sheet is titled **Model**. It opens at half height; drag it up, or tap the search field, and it fills the screen. The close button in its top-right corner closes it without changing anything.

**Mac**

Click the model's name at the end of the **Model** row (its mark, its name and an up-down chevron). The list opens in a popover under it, with the cursor in the search field.

Click outside the popover, or press Esc, to close it.

The **Model** row reads:

| Row shows | When |
| --- | --- |
| **Platform Default** | In Custom Keys, while you follow AirBuild's own default. |
| **Default (_model_)** | In an Agent's editor, while the Agent follows the Team's Default Model. The name in brackets is that model. **Default** alone until the app knows it. |
| The model's name | You picked a model. |
| A warning sign and the saved name | The model you picked isn't in the list any more. See [A model that's gone](https://air.build/docs/screens/team/model-picker/#a-model-thats-gone). |
| A placeholder in place of the name | In Custom Keys, until the app has read the Team's Default Model. |
| A spinner before the name | In Custom Keys, while a new choice is being saved. |

## What's on it

From top to bottom:

| Item | What it shows or does | Default |
| --- | --- | --- |
| Search field | "Search _N_ models", where _N_ is how many models you can choose from. "Loading models…" (and the field is dimmed) until the list arrives. Type to search; the ✕ clears it. | Empty |
| Providers | **All**, then one entry per provider you can use, each with how many models it lists (how many match while you search). On iPhone and iPad it's a row of buttons under the search field that scrolls sideways; on the Mac it's a column on the left, with **All** on top and the rest under **Providers**. Shown only when you have more than one provider. | **All** |
| Default row | The first row. In Custom Keys it reads **Platform Default**: follow AirBuild's default. In an Agent's editor it reads **Use default — _model_**: follow the Team's Default Model, which is named. | Checked while nothing else is picked |
| **Recent** | Up to five models you picked last, newest first. Kept on this device only. The model you're on is added on top when it isn't there yet. | — |
| **_N_ models** | Every model, A to Z, numbers read as numbers. Each row shows the model's mark, its name and the provider it comes through (on the Mac at the end of the row, on iPhone and iPad under the name). The chosen model has a check mark. | — |
| **Show _N_ more** | Under a long list. Shows the next part of it. | — |

With a provider chosen and nothing typed, the list shows only that provider's models, A to Z, without the default row and **Recent**.

Only the model changes here. **Thinking Effort**, **Speed** and the context switch are rows of their own under **Model**, on the page you came from.

### Providers you can see

| Provider | When it's listed |
| --- | --- |
| **AirBuild** | Models AirBuild runs for you. Each row wears the mark of the company that made the model. |
| A subscription you connected | After you connect it in [Custom Keys](https://air.build/docs/settings/custom-keys/#providers), in the order Custom Keys lists them. |
| **Custom Endpoint** | After you set up a Custom Endpoint. Its one row is your endpoint's name. |
| **Magpie** | After you connect Magpie in [Custom Keys](https://air.build/docs/settings/custom-keys/#magpie). Lists the models Magpie offers. When Magpie isn't answering, the provider shows **Offline** instead of a count, and only the model you're on (if it's a Magpie model) is left, with "Models will appear when Magpie is connected." and **Retry** under it. |

The same model can come through two providers. It's then two rows, each naming its provider.

## Choose a model

1. Open the list (see [Open it](https://air.build/docs/screens/team/model-picker/#open-it)).
2. Find the model: scroll, tap a provider to see only its models, or type in the search field.
3. Tap the model. On the Mac, click it, or highlight it with the arrow keys and press Return.

The list closes and the **Model** row shows the new model. In Custom Keys the choice applies at once. In an Agent's editor it's saved when you tap **Done** (or **Create**).

To follow the default again, choose the first row (**Platform Default** or **Use default — _model_**).

When the new model has thinking levels, it keeps the level you had if it offers it. Otherwise it takes the nearest one it has.

### Search

Each word you type must appear in the model's name, its ID or its provider's name. The results show under **_N_ results**, best match first: a word that is a whole word of the name ranks above one that starts a word, and above one found inside a word. With a provider chosen, only its models are searched. The provider counts show how many matches each one has; a provider with none fades, but can still be tapped or clicked.

### On the Mac

- ↑ and ↓ move the highlight. The pointer moves it too.
- ← and → go to the previous or next provider, while the search field is empty.
- Return chooses the highlighted row and closes the list. Typing highlights the best match, so Return takes it.
- ⌘Return chooses the highlighted row and keeps the list open, as ⌘-click does.
- Esc empties the search field; with the search field empty, Esc closes the list.

## A model that's gone

When the model you picked isn't offered any more, the list has a row for it at the top with "No longer available", checked. The **Model** row shows a warning sign before its name. Choose another model, or the default row. On the Mac, choosing the "No longer available" row only closes the list; on iPhone and iPad it can't be chosen.

## A login that stopped working

When a subscription's login is no longer accepted, its provider shows a warning sign instead of a count, and its models are dimmed and can't be chosen. Above them: "This login is no longer accepted. Sign in again." In Custom Keys the line ends in **Sign In Again**, which opens that provider's page. From an Agent's editor, sign in again in [Custom Keys](https://air.build/docs/settings/custom-keys/#signing-in).

## Messages

| Message | What it means | What to do |
| --- | --- | --- |
| "Loading models…" and placeholder rows | The list is on its way. | Wait. |
| "Couldn't load the latest models." with **Try Again**, above the list | The list shown is the one the app had before. | Tap **Try Again**, or choose from the list shown. |
| "Couldn't load the latest models." with **Try Again**, in place of the list | There's no list to show. | Check your connection and tap **Try Again**. |
| "No models match “_text_”" | Nothing matches what you typed, in the provider chosen. | Change the words, or look at the counts beside the providers to see where there are matches. |
| "This login is no longer accepted. Sign in again." | That provider's login stopped working. | See [A login that stopped working](https://air.build/docs/screens/team/model-picker/#a-login-that-stopped-working). |
| "Models will appear when Magpie is connected." with **Retry** | Magpie isn't answering. Only the model you're on, if it's a Magpie model, is listed under it. | Tap **Retry**. If it stays, check [Magpie's state](https://air.build/docs/settings/custom-keys/#magpies-state) in Custom Keys. |
| **Use your AirBuild AI quota?** "This model won't use the model account you connected. It uses your AirBuild AI quota instead." | After a pick, when your Team has a provider connected and you chose one of AirBuild's own models (or a default that runs on them). | **Use AirBuild Model** applies it. **Cancel** keeps the model you had. |

**Why don't I see the provider list?**

It shows only when you can use models from more than one provider. With one, the list is that provider's models alone.

**Is Recent the same on all my devices?**

No. Each device keeps its own.

**Which model does the default row use?**

In an Agent's editor, the row names it: it's the Team's Default Model, set in Custom Keys. In Custom Keys, **Platform Default** follows the model AirBuild chooses; the list doesn't name it.
