The brain is the model a bot thinks with. It is the Brain part of the agent model, picked separately from the runtime (how the bot works) and the bot (who it is).

Picking a brain

A brain is picked in three steps:
  1. Provider: who makes the model.
  2. Family and model: which model.
  3. Settings: options the model supports, such as effort.
Each brain in the list has a line under its name that says how it will run, for example “With your Claude Code sign-in”, “On this computer” or “With Allternit credits”, and a badge.
Brain popover listing Claude Sonnet 5, Claude Opus 5.5, GPT-6 Luna and Kimi K3 with Plan badges, Qwen 3 8B with a Local badge and DeepSeek V4 Flash with a Credits badge; beside it the runtime popover grouped by category

The brain list in a bot chat. Each row has its access badge: Plan, Local or Credits. The line at the bottom says what the result will be.

Access: how a brain is paid for

Access belongs to the brain, not the runtime. The same model can show up more than once: Claude Sonnet 5 on your Claude plan, and on credits. Pick the row you want to pay with. The bot remembers the choice (botBrain.access). Each runtime lists the access it supports in the registry. Claude Code supports plan and key. OpenCode supports plan, key and local. The Allternit runtime supports all four. See the catalog.

Which brains fit which runtime

Most runtimes run any brain. A few run only their own vendor’s models: The rule every surface uses is the same: a brain fits a runtime when the runtime runs any brain, or when the brain’s provider is in the runtime’s list. A runtime always runs its own CLI’s models, so a Kimi Code brain always fits Kimi Code. The brain list only shows brains that fit the runtime you picked. In the runtime and brain selector a brain that does not fit is left out, not shown disabled. Picking a brain in that selector applies the runtime and brain together. Thinking is chosen per model. Each model lists the levels it supports (for example effort levels), and the level sits inside the brain you picked. The table comes from GET /api/v1/models/thinking on Allternit Cloud, with a built-in fallback when it cannot be reached.

When you switch runtime

If you pick a runtime that can’t run the brain you had, the brain changes to one that fits, and a one-line note says so:
Codex runs OpenAI models only, so the brain changed to GPT-6 Luna.
The new brain is the default model of the runtime’s own CLI. The bot record keeps botBrain.autoSwitchedFrom so every surface can show the same note. Nothing switches without telling you.
Phone agent card with the note 'Codex runs OpenAI models only, so the brain changed to GPT-6 Luna', and below it a connected bot with locked Run by OpenAI chips

The note after picking Codex for a bot that had a Claude brain.

Routing: where a turn goes

Once runtime, brain and access are set, a turn goes one of four ways:
  • No computer linked? Credits and keys work from the web and phones. Plans also work with no computer for the providers that allow it; see Use your plan. CLI runtimes need a computer.
  • A brain that isn’t ready (signed out, or out of plan limits) stops and tells you. It does not quietly move to another brain unless you set a fallback. See Keep a bot answering.
  • The control layer is the same on every route. Policy, the tool broker, memory and the usage record apply whichever way the turn goes. See Control layer.
For the routing design underneath (execution modes and the model pool), see Routing.

In the terminal

--model still works as another name for --brain. In the TUI, /runtime shows each brain with [plan], [key], [local] or [credits]. See gizzi runtime and gizzi agents bot.