1-Line SDK Migration Diff. Switch without rewriting your app.
- baseURL: "https://openrouter.ai/api/v1",
- apiKey: process.env.OPENROUTER_API_KEY,
- model: "anthropic/claude-opus-4-5",
+ baseURL: "https://api.rawroute.dev/v1",
+ apiKey: process.env.RAWROUTE_API_KEY,
+ model: "claude-opus-5-5",
Reference rates from the live catalog
| Model | Official | OpenRouter +5.5% | rawroute | Cached |
|---|---|---|---|---|
| Gemini 4 Carbon | $2.11 / $10.55 | $1.00 / $5.00 | $0.05 | |
| Gemini 4 Argon | $2.11 / $10.55 | $1.00 / $5.00 | $0.05 | |
| Gemini 4 Neon | $3.17 / $15.82 | $1.50 / $7.50 | $0.075 | |
| Gemini 4 Hydrogen | $1.58 / $7.91 | $0.75 / $3.75 | $0.0375 | |
| Gemini 3.8 Flash | $0.79 / $3.96 | $0.375 / $1.875 | $0.0375 |
FAQ
Do the calculators run locally in the browser?
Yes. All calculations run client-side against our public catalog prices—nothing is sent to a server.