cmdop models
List available models for chat and skill execution. cmdop accepts both aliases (semantic, stable) and concrete IDs (specific provider model).
List
cmdop models
cmdop models --jsonExample output:
ALIAS CONCRETE PROVIDER CONTEXT
@code anthropic/claude-opus-4-7 cmdop 1M
@balanced openai/gpt-4o cmdop 128K
@fast openai/gpt-4o-mini cmdop 128K
@vision anthropic/claude-sonnet-4 cmdop 200K
@reasoning z-ai/glm-5.1 cmdop 256KAliases vs concrete IDs
- Aliases (
@code,@balanced,@fast,@vision,@reasoning) resolve, on the default path, server-side at the cmdop model gateway to whatever the team currently considers the best fit. Aliases survive provider migrations. For how the gateway authenticates (the sign-in your agent already holds) and which providers it brokers, see How model access works. - Concrete IDs (
openai/gpt-4o-mini,z-ai/glm-5.1,anthropic/claude-opus-4-7) lock to one specific model. Use these in regression tests or when you want strict determinism.
Switch the model
Inside chat:
/model @code
/model anthropic/claude-opus-4-7From the CLI:
cmdop chat --model @code
cmdop chat --model openai/gpt-4o-mini
cmdop run code-review src/ --model @codePersist the choice:
cmdop config set chat.default_model @codeCustom providers
If you’ve added a custom OpenAI-compatible provider via cmdop provider add, that provider’s models also appear in the list — prefixed with the provider name:
cmdop provider set ollama-local
cmdop models
# → ollama-local/qwen2.5-coder:32b
# → ollama-local/llama3.3:70bWhen a custom provider is active, chat goes straight to your endpoint and the alias names (@code, @balanced) resolve to that provider’s default model. Note that vision / OCR is gateway-only — with a custom (or local) provider active, an image-analysis request returns a clear error rather than silently falling back. See /cli/automation/provider and How model access works.
Cost & latency hints
| Alias | Best for | Latency | Relative cost |
|---|---|---|---|
@fast | Short answers, simple lookups | Lowest | Lowest |
@balanced | Day-to-day chat, refactors | Mid | Mid |
@code | Heavy code work, long context | Higher | Higher |
@vision | Image / screenshot tasks | Higher | Higher |
@reasoning | Multi-step planning, debugging | Highest | Highest |
Related
- How model access works — the model gateway, the default path, and bring-your-own-key.
- cmdop chat
- cmdop provider
- cmdop style
- cmdop instructions