Model selectors
Every model in ka is addressed by a selector:
vendor/model@effort- vendor (the provider):
anthropic,openai,google,zai,deepseek,groq,openrouter,ollama,lmstudio,llamacpp,vllm, … plus 500+ catalog models across 27 seeded vendors. - model: the model id, verbatim, including any colons (e.g.
qwen3.5:9b). - effort: optional reasoning effort (
low/medium/high, some models addmax). The separator is@precisely because model ids may contain colons.
ka --model anthropic/claude-sonnet-5@highka --model ollama/qwen3.5:9bWhere selectors are set
Section titled “Where selectors are set”Priority from lowest to highest; each layer overrides the last:
[roles]inka.toml(default,fast)modelin~/.config/ka/ka.tomlmodelin.ka/ka.toml(trusted projects)KA_MODELenvironment variable--modelflag
model = "ollama/qwen3.5:9b"effort = "high"
[roles]default = "anthropic/claude-sonnet-5"fast = "groq/llama-3.3-70b" # cheap lookups, subagentsThe /model picker
Section titled “The /model picker”/model with no argument opens a picker over the entire catalog:
- type-to-filter across vendors and model ids
- per-row key/env status, context window, and price (only for verified prices; see below), plus each model’s reasoning levels where the dialect exposes them
Enteron an unmatched filter sets it as a customvendor/modelselector- picking a model persists it as your default for future conversations
/settings edits model, mode, and effort together; press s to persist the whole panel. /thinking [level] picks the reasoning level directly (Enter persists; the named form is session-scoped). The thinking level always shows beside model and mode whenever the model exposes reasoning control.
Roles let you keep one main model and a cheap one for subagent work (pathfinder, fast lookups). [roles] fast is consulted where a cheap model is appropriate; default is your main.