Use rawroute with Roo Code. One balance for Architect, Code & Debug modes.
Roo Code lets you assign a different model profile to Architect, Code, Ask, and Debug modes. Backing all profiles with one rawroute API key lets you run Claude Opus 5.5 ($2.00 / $10.00) for planning and GPT-6.2 Sol ($0.60 / $3.00) or Gemini 4 Argon ($1.00 / $5.00) for fast edits without juggling vendor accounts or paying OpenRouter's 5.5% deposit surcharge.
Quick setup for Roo Code
- Open Roo Code → Settings → Providers and create profiles for your Architect and Code modes.
- Select Anthropic (Base URL: https://api.rawroute.dev) for Claude profiles or OpenAI Compatible (Base URL: https://api.rawroute.dev/v1) for GPT, Gemini, and Grok.
- Use one rawroute API key with an optional hard USD cap per machine.
# Profile 1: Architect (Anthropic Native)
Provider: Anthropic
Base URL: https://api.rawroute.dev
API Key: rr_live_your_key_here
Model: claude-opus-5-5
# Profile 2: Fast Code (OpenAI Compatible)
Provider: OpenAI Compatible
Base URL: https://api.rawroute.dev/v1
API Key: rr_live_your_key_here
Model ID: gpt-6.2-solRecommended models for Roo Code
| Model | Model ID | Official | OpenRouter +5.5% | rawroute (0%) | Providers |
|---|---|---|---|---|---|
| Claude Opus 5.5 | claude-opus-5-5 | $4.22 / $21.10 | $2.00 / $10.00 | 4 | |
| Claude Sonnet 5.5 | claude-sonnet-5-5 | $2.11 / $10.55 | $1.00 / $5.00 | 4 | |
| GPT-6.2 Sol | gpt-6.2-sol | $2.11 / $10.55 | $0.60 / $3.00 | 3 | |
| Gemini 4 Argon | gemini-4-argon | $2.11 / $10.55 | $1.00 / $5.00 | 4 |
When NOT to use rawroute
- — If you specifically route Roo Code to local Ollama/vLLM weights on your own GPU, keep those profiles pointed at localhost.
FAQ
Can I attach @rawroute/mcp inside Roo Code as well?
Yes. Add rawroute-mcp in Roo Code MCP Settings to generate UI images, videos, and speech directly from your IDE.