Model Selection
OpenRouter
Use Claude models through OpenRouter
OpenRouter provides access to Claude models through a unified API.
Quick Setup
vm0 model-provider setup --type openrouter-api-keyYou'll be prompted for your API key and model selection.
Get API Key
Visit OpenRouter Settings to create and obtain an API key.
Available Models
| Model | Description |
|---|---|
anthropic/claude-sonnet-4.5 | Balanced performance |
anthropic/claude-opus-4.5 | Highest capability |
anthropic/claude-haiku-4.5 | Fastest response |
| auto | Automatic model selection (default) |
Non-Interactive Setup
# With default model (auto)
vm0 model-provider setup --type openrouter-api-key --secret "sk-or-xxx"
# With specific model
vm0 model-provider setup --type openrouter-api-key --secret "sk-or-xxx" --model "anthropic/claude-sonnet-4.5"Run
vm0 run my-agent "build a todo app"