/model picker in the TUI and gizzi models both use one rule, kept in src/runtime/providers/offer.ts (the same rule as Desktop’s model picker).
What the picker offers
Sections appear in this order:
OpenRouter is never its own section. Allternit Cloud uses it to route, so it is not offered on its own. A model ref that names it still runs when you ask for it by name (
gizzi --model openrouter/…).
Live catalog
The Allternit Cloud list comes from the server. Gizzi reads it when you sign in and caches it on disk for 6 hours. If the server cannot be reached, Gizzi uses the cache, then a built-in list.gizzi models --refresh skips the cache.
Layers and access
The picker shows three layers above the list:
Access badges:
A locked row is grey and shows the reason on the right. Press Enter on it to see the unlock action. It does not select the model. The action is one of: sign in, add credits, accept terms, upgrade, or retry. Hidden models are not listed. A saved choice of a hidden model still works.
Press F2 to move through your 5 most recent models.
Local servers and offline rows
A local server shows only the models it lists. Gizzi adds no placeholder models. If a server is in your config and does not answer in 1 second, the picker shows one grey row: the server name, then “offline”. It also shows the fix. You cannot select that row. See Configuration.List the models
gizzi models prints the models the picker offers, in the picker’s order: Allternit Cloud, Your subscriptions, API keys, Local. Under Your subscriptions the CLIs come in a fixed order. Inside a provider, models are in the vendor’s order, newest and strongest first. They are not sorted alphabetically.
Each row is provider/model. Tags after a row:
The last line shows the current default and why:
default: provider/model (reason).
- For CLIs that can list their own models, Gizzi asks the CLI and caches the list for 6 hours.
gizzi models --refreshreads it again. Models a CLI marks as hidden are not shown. If the CLI cannot be asked, Gizzi shows its built-in list. - Each row shows its access badge. A locked row shows the reason. An offline server is one dim line: the name, “offline”, and the fix.
gizzi models --jsonprints an object with two keys.sectionshas the same data as before.rowshas one entry per row:id,section,access,locked, andoffline.gizzi models --allalso shows providers the picker does not offer: aggregators such as OpenRouter, and API providers with no key.gizzi models <provider>shows one provider. Usegizzi models claude-clifor example.- Retired Allternit Cloud aliases are not listed, but a saved choice of one keeps working. A retired CLI model id in your config is mapped to its replacement.
- A local server that is installed but reports no models is not listed.
Pull and verify local models
These commands use the Local Engine and the Freeweights catalog.pull exits with code 2 when the result is unverified. Add --allow-unverified to accept files that have no hash anywhere. --download and --run work as before.
Publish a model to Freeweights
freeweights.write scope (ALLTERNIT_API_KEY works if it is an alt_ key). Large files go in parts and the command prints each step. Files are scanned before they are served, so the repo reads “scanning” at first. gizzi models pull on a community repo prints a notice that it is a community upload and ends as unverified unless you pass --allow-unverified. gizzi usage shows your Freeweights storage. See Uploads.
Default model
Gizzi picks the model for a turn in this order:- Your pick. A model you chose with
/modelin the TUI, with--modelfor one run, or withmodelin the config. A pick stays until you change it. - Gizzi’s choice. On a paid Allternit plan, Allternit Cloud’s default model. Otherwise the first CLI brain that is installed and signed in, in the fixed order, using that CLI’s default model. A CLI that is not signed in is never chosen.
- Nothing usable. Gizzi says so and asks you to pick a model or sign in.
Global config files are read in this order, and a later file wins. First the legacy
gizzi config folder, then the gizzi-code config folder (~/.config/gizzi-code). In each folder: config.json, gizzi.json, gizzi.jsonc, config.toml. The TUI and the runtime read the same merged config.
If the model shown is not the one you expect, run gizzi debug model. It prints the config files it read, the merged values, the choice and its reason, the runtime default, the TUI default, and match: yes or match: no.
Swarm and mission workers use your default CLI brain unless you pass --brain.
In the TUI
/model shows the same sections and order as gizzi models. Type to filter. Rows carry the default and current tags, and a CLI that is not signed in has a “not signed in” note. Where a model has thinking levels, you set one per model. Picking a model makes it your pick and adds it to your recent models.
To choose the runtime too (Claude Code, Codex, Allternit and others) and see only the brains that fit it, use /runtime. See gizzi runtime.
Picking a needs credits row keeps your current model and prints:
Effort on gizzi run and gizzi exec
--effort accepts the levels the picked model has. An unsupported level is an error that lists the valid ones. A failed run exits with a non-zero code.
Thinking levels
The picker’s second column shows each model’s thinking level. It reads the same per-model table Desktop, the web app and iPhone pick from (model-thinking.json), so each model offers only the levels it takes. Claude Opus 5.5 takes Low, Medium, High, Extra high and Max. GPT-6 Sol adds Ultra. Gemini 3 takes Low and High. Press ← and → on the focused model to change its level. The row under the list shows every level, with the default marked *. A model with — has no levels in the table and runs at its own default.
The level you pick reaches the model. A CLI brain gets it as its own flag (Claude Code runs with --effort xhigh). Allternit Cloud and other providers get the vendor’s own option. /effort <level> sets it from the prompt and accepts every level in the table: none, minimal, low, medium, high, xhigh, max and ultra. A level the current model doesn’t take is ignored and the model’s default applies. The footer shows the level in the vendor’s words, for example effort: extra high.
Pick a model at launch
--model sets the model for the session, ahead of your settings and gizzi.json. /model changes it later.
Plan models (chatgpt/…, plan/…, copilot-plan/…) answer only what you type and send in the TUI. They are chat only, never picked as a default or for titles and summaries, and refused in gizzi run, bots, missions, routines and sub-agents. See Plans answer only you.
CLI brains in the TUI
A model under Your subscriptions runs in your own signed-in CLI, through the same drivergizzi run and Desktop use. It does not use your Allternit Cloud credits.
- The CLI runs its own tools. Its text, thinking and tool calls (Read, Update, Bash…) show in the TUI as they happen.
- Permissions still apply. The CLI starts in the TUI’s permission mode (default, accept edits, plan or bypass), and each tool it asks to run shows the TUI’s normal approval prompt, with the diff for an edit and the command for Bash.
- Each turn resumes the CLI’s own session, so it remembers earlier turns.
/clearstarts a new one. - Side tasks (titles, recaps, the auto-mode classifier) run as a text-only CLI turn.
gizzi attach.
Run a model on this computer
New with this release.
gizzi models fit, run, ps and stop run open-weights models on this computer, through the Local Engine. They use the same fit rule as the apps (contract) and the Freeweights device data, and are described for people in Run models on your device.
If the build is for MLX and the MLX engine pack cannot be installed,
run says why and uses the GGUF (llama.cpp) build instead, if one fits.
When a model is too big for memory but fits on disk, gizzi models fit shows Streams from disk and the disk it needs. gizzi models run then picks the colibri engine and the stream build. Colibri runs on Mac, Windows and Linux computers only. See Models larger than memory.
ps shows memory, speed, context used and the idle timer for each running model, and --json prints the raw list.
The models appear under the Local section of /model while they run. Speed depends on your hardware and is not guaranteed.
When a turn fails
Each failure names the real cause and one or two commands to run. Examples:
The “Not logged in” notice in the prompt footer only appears when the selected model is on Allternit Cloud and no Cloud credential exists: no
ALLTERNIT_API_KEY, no ALLTERNIT_API_TOKEN, and no device token from gizzi login or gizzi pair.
Web search on any model
Web search works whatever model you picked. Models with their own search (Claude, ChatGPT, Gemini, CLI brains) use it. Otherwise theWebSearch tool in the terminal app and the engine’s websearch tool ask Allternit’s search route (POST /api/v1/search/web on api.allternit.com), signed in with your ALLTERNIT_API_KEY, ALLTERNIT_API_TOKEN or this computer’s paired device token. Searches there run on Allternit’s search account and return titles, links, dates and a short text for each result, which show as source pills.
If you are signed out, or the route can’t answer (not deployed yet, not configured, offline), Gizzi falls back to the public Exa search endpoint as before. Set GIZZI_DISABLE_ALLTERNIT_SEARCH=1 to skip the route.
Developers: client src/runtime/tools/builtins/allternit-search.ts (test test/tools/allternit-search.test.ts); route cmd/allternit-cloud-api/src/routes/web_search.rs, which needs EXA_API_KEY on the server and answers 503 search_not_configured without it.
For developers
- Provider rule:
cmd/gizzi-code/src/runtime/providers/offer.ts(ProviderOffer.kind,isOffered,isCliBrain). CLI brains come from the CLI catalog (cli-catalog.json) and CLIs the user added, not a fixed list. - TUI routing:
services/api/cliBrain.tsdrivesRuntimeDriverFactory.resolveCliand maps driver events to the TUI’s messages. Tool calls the CLI already ran carrycliObserved, soquery.tsshows them without running them again. - Approvals:
AgentTask.approveToolandpermissionMode(runtime/runtime-driver.ts). Claude Code gets--permission-prompt-tool stdioand eachcan_use_toolrequest is answered by the caller; ACP CLIs ask after the spawn gate allows. - Error text:
services/api/providerErrors.ts(describeProviderError), used by the Cloud path (errors.ts), the OpenAI-compatible path (localModel.ts) and CLI brains.