AI Team OS
Back to tutorials
Switching Your Agent's AI Model

Switching Your Agent's AI Model

Learn how to switch your AI agent's model. Compare pricing, performance, and find the best model for your needs.

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

Why Switch Models?

ReasonDetails
šŸ’° Save CreditsBudget models cost 10–20Ɨ less. For routine tasks, a cheaper model works just as well.
⚔ Get More SpeedFlash-tier models respond faster, great for quick back-and-forth conversations.
🧠 Upgrade QualityFor 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).

ModelProviderInputOutput~Msgs/$5Notes
MiniMax M2.5MiniMax$0.30$1.20~2,800DEFAULT — Excellent quality at the best price
Kimi K2.5Moonshot AI$0.23$3.00~1,600FALLBACK — Strong reasoning, cheapest input
GLM-5Z-AI$0.30$2.55~1,500Solid performance at a great value
GPT-4.1 MiniOpenAI$0.40$1.60~2,200Reliable for straightforward tasks
Claude Sonnet 4.5Anthropic$3.00$15.00~240PREMIUM — Complex reasoning & analysis
Claude Haiku 4.5Anthropic$1.00$5.00~720Fast Anthropic model for quick tasks
Qwen 3.5 PlusQwen$0.40$2.40~1,500Strong multilingual capabilities

Estimates assume ~500 input tokens + ~500 output tokens per message. Real usage varies based on conversation length and response size.

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.