VM0VM0
Model Selection

OpenRouter

Use Claude models through OpenRouter

OpenRouter provides access to Claude models through a unified API.

Quick Setup

zero org model-provider setup --type openrouter-api-key

You'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

ModelDescription
anthropic/claude-sonnet-4.6Latest balanced performance
anthropic/claude-opus-4.6Latest highest capability
anthropic/claude-sonnet-4.5Balanced performance (recommended)
anthropic/claude-opus-4.5Highest capability
anthropic/claude-haiku-4.5Fastest response

If no model is specified during setup, Claude Code uses its built-in default model. This is shown as the "auto" option in the CLI setup wizard.

Non-Interactive Setup

# With recommended model
zero org model-provider setup --type openrouter-api-key --secret "sk-or-xxx" --model "anthropic/claude-sonnet-4.5"

# Without model (Claude Code uses its built-in default)
zero org model-provider setup --type openrouter-api-key --secret "sk-or-xxx"

Run

vm0 run my-agent "build a todo app"

Resources

On this page