Back to tutorials
Futuristic holographic panel showing AI model selection

Switching Your Agent's AI Model

Your agent comes pre-configured with a great default model, but you can switch anytime to balance cost, speed, and quality.

Why Switch Models?

💰

Save Credits

Budget models cost 10–20× less. For routine tasks, a cheaper model works just as well.

Get More Speed

Flash-tier models respond faster, great for quick back-and-forth conversations.

🧠

Upgrade Quality

For complex writing or reasoning, premium models like Claude Sonnet deliver noticeably better results.

How to Switch

1

Just tell your agent

The simplest way — just say it in chat:

You: switch to openrouter/anthropic/claude-sonnet-4.5

→ Agent switches model and confirms

2

Use the /model command

Send a slash command with the model ID:

/model openrouter/minimax/minimax-m2.5

/model openrouter/moonshotai/kimi-k2.5

/model openrouter/anthropic/claude-sonnet-4.5

3

Browse available models

See all models your agent can use:

/models

→ Lists all available models with current pricing

4

Check current model

Not sure which model you're on?

/status

→ Shows current model and session info

Model Naming Format

OpenClaw uses the openrouter/<author>/<slug> format for all OpenRouter models. For example:

# Anthropic models

openrouter/anthropic/claude-sonnet-4.5

openrouter/anthropic/claude-haiku-4.5

# OpenAI models

openrouter/openai/gpt-4.1-mini

openrouter/openai/gpt-4.1-nano

# Other providers

openrouter/moonshotai/kimi-k2.5

openrouter/z-ai/glm-5

openrouter/minimax/minimax-m2.5

# Auto router — picks the best model for each prompt

openrouter/openrouter/auto

The openrouter/openrouter/auto option automatically selects the most cost-effective model for each message. Great if you want to let OpenRouter optimize for you. Browse all 300+ models at openrouter.ai/models.

Available Models

All models are accessed via OpenRouter. Prices are per 1M tokens (input / output).

MiniMax M2.5

MiniMaxDEFAULT

Your default model. Excellent quality at the best price — strong coding, reasoning, and conversation.

openrouter/minimax/minimax-m2.5
$0.30 / $1.20
per 1M tokens

Kimi K2.5

Moonshot AIFALLBACK

Default fallback model. Strong reasoning with the cheapest input pricing available.

openrouter/moonshotai/kimi-k2.5
$0.23 / $3.00
per 1M tokens

GLM-5

Z-AI

Solid performance across a wide range of tasks at a great value price point.

openrouter/z-ai/glm-5
$0.30 / $2.55
per 1M tokens

GPT-4.1 Mini

OpenAI

Reliable and predictable. A great choice for straightforward tasks and automation.

openrouter/openai/gpt-4.1-mini
$0.40 / $1.60
per 1M tokens

Claude Sonnet 4.5

AnthropicPREMIUM

Premium quality for complex reasoning, nuanced writing, and advanced analysis.

openrouter/anthropic/claude-sonnet-4.5
$3.00 / $15.00
per 1M tokens

Claude Haiku 4.5

Anthropic

Fast Anthropic model. Good for quick tasks where you want Claude's quality.

openrouter/anthropic/claude-haiku-4.5
$1.00 / $5.00
per 1M tokens

Qwen 3.5 Plus

Qwen

Strong multilingual capabilities. Excellent for non-English languages.

openrouter/qwen/qwen3.5-plus
$0.40 / $2.40
per 1M tokens

Credit Impact

Approximate messages per $5 of OpenRouter credits (based on ~500 input + ~500 output tokens per message):

Model~Msgs per $5
MiniMax M2.5default~2,800
GPT-4.1 Mini~2,200
Kimi K2.5~1,600
GLM-5~1,500
Qwen 3.5 Plus~1,500
Claude Haiku 4.5~720
Claude Sonnet 4.5~240

Estimates assume ~500 input tokens + ~500 output tokens per message. Real usage varies based on conversation length and response size. Complex tasks with long context will consume more tokens.

BYOK: Use Any OpenRouter Model

On any plan, you can bring your own OpenRouter API key and access hundreds of additional models — including GPT-4o, Llama 3, Mistral, and more. Credits are billed directly by OpenRouter at their rates.

Pro Tip: Start with the Default

Your agent ships with minimax/minimax-m2.5 as primary and moonshotai/kimi-k2.5 as fallback. This combo is carefully chosen for the best balance of cost and quality. Only switch if you have a specific reason — like needing premium quality for a complex task.

Ready to try a different model?

Open your Telegram chat and type /model openrouter/anthropic/claude-sonnet-4.5 to switch right now.

Back to All Tutorials