--agent-type and every model accepted by --model, grouped by agent, with each agent’s default model marked.
This command reads the catalog compiled into your CLI build. It makes no API call and works without authentication.
Usage
Output
--json for a machine-readable list of {agent_type, label, default_model, models} objects.
Notes
A model belongs to exactly one agent type. Passing--model without a matching --agent-type is rejected by the API.
The OpenCode agent additionally accepts any openrouter/<vendor>/<model> string, which the list does not enumerate.
Because the list ships with the CLI binary, a model added to the platform after your release appears only after you upgrade. It still works if you pass it — the API is the validator.