Skip to Content
CLIChat & skillscmdop models

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 --json

Example 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 256K

Aliases 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-7

From the CLI:

cmdop chat --model @code cmdop chat --model openai/gpt-4o-mini cmdop run code-review src/ --model @code

Persist the choice:

cmdop config set chat.default_model @code

Custom 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:70b

When 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

AliasBest forLatencyRelative cost
@fastShort answers, simple lookupsLowestLowest
@balancedDay-to-day chat, refactorsMidMid
@codeHeavy code work, long contextHigherHigher
@visionImage / screenshot tasksHigherHigher
@reasoningMulti-step planning, debuggingHighestHighest