rawroute vs. LiteLLM (Self-Hosted). Zero ops, built-in discount, instant failover.
LiteLLM is an open-source SDK and proxy that still charges 100% official vendor list prices (because you bring your own vendor keys) plus your proxy hosting overhead. rawroute is a managed gateway delivering 50–70% lower chat pricing and automatic multi-provider failover—and can plug straight into LiteLLM as a single upstream provider.
Verified 28.11.2026 · OpenRouter fee (5.5%) read 23.11.2026
What differs.
| Dimension | LiteLLM | rawroute |
|---|---|---|
| Token cost | 100% official vendor list price (BYOK) | 30–50% of official list price |
| Operations & scaling | Manage Docker, Postgres, Redis, key rotation | Zero infrastructure; instant API key |
| Can they work together? | LiteLLM orchestrates your internal routing/budgets | Add rawroute as 1 openai/ provider in litellm config |
What it costs.
| Model | Vendor (via LiteLLM) | rawroute |
|---|---|---|
| Claude Fable 5.2 | $4.00 / $20.00 | |
| Claude Opus 5.5 | $2.00 / $10.00 | |
| Claude Sonnet 5.5 | $1.00 / $5.00 | |
| Claude Haiku 5.5 | $0.05 / $0.25 | |
| GPT-6.2 Astra | $2.40 / $12.00 | |
| GPT-6.2 Sol | $0.60 / $3.00 | |
| GPT-6.1 Terra | $0.30 / $1.50 | |
| Gemini 4 Neon | $1.50 / $7.50 | |
| Gemini 4 Carbon | $1.00 / $5.00 | |
| Gemini 4 Argon | $1.00 / $5.00 | |
| Gemini 4 Hydrogen | $0.75 / $3.75 | |
| Gemini 3.8 Flash | $0.375 / $1.875 | |
| Grok 4.7 | $1.00 / $3.00 | |
| Kimi K3.1 Pro | $1.073 / $5.61 |
USD, LLMs per 1M tokens input / output.
When NOT to use rawroute
- — Run LiteLLM internally if your compliance policy forbids external gateways or if you already have deep enterprise volume discounts directly with Anthropic/OpenAI.
FAQ
How do I use rawroute inside LiteLLM?
In your litellm config.yaml, set model: openai/claude-opus-5-5, api_base: https://api.rawroute.dev/v1, and api_key: os.environ/RAWROUTE_API_KEY.