List available provider/model ids
list_modelsRetrieve provider/model ids for OpenCode delegation tasks. Filter by provider, substring, or limit to find the right model for cost-effective task distribution.
Instructions
List provider/model ids that OpenCode can use, in "provider/model" form (e.g. "minimax-coding-plan/MiniMax-M2.5-highspeed"). Optionally filter to a single provider. Use these ids for the model argument of delegate_task or as default_model in set_delegate_config.
Args:
provider (string): Optional provider id to filter by (e.g. "minimax-coding-plan", "openrouter").
contains (string): Optional case-insensitive substring filter.
limit (number): Max ids to return (default 200).
response_format ('markdown' | 'json'): Output format (default 'markdown').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max ids to return | |
| contains | No | Case-insensitive substring filter | |
| provider | No | Filter to a single provider id | |
| response_format | No | markdown |