---
title: "Migrate from OpenRouter in 60 seconds"
canonical: "https://rawroute.dev/guides/migrate-from-openrouter"
lang: "en"
last_verified: "2026-11-28"
description: "Drop-in migration checklist from OpenRouter to https://api.rawroute.dev/v1: remove provider prefixes, save 5.5% top-up fees, and cut token costs 50–70%."
---

# Migrate from OpenRouter in 60 seconds

Moving from OpenRouter to rawroute requires changing two environment variables—base_url (https://api.rawroute.dev/v1) and your API key—plus dropping vendor prefixes like "anthropic/" or "openai/" from model strings. You immediately eliminate OpenRouter's 5.5% credit fee and pay 30–50% of official chat list prices.

## Model ID mapping (OpenRouter → rawroute)

| OpenRouter ID | rawroute ID | OpenRouter +5.5% | rawroute (0%) |
|---|---|---|---|
| anthropic/claude-opus-4-5 / opus-5-5 | claude-opus-5-5 | $4.22 / $21.10 | $2.00 / $10.00 |
| anthropic/claude-sonnet-5-5 | claude-sonnet-5-5 | $2.11 / $10.55 | $1.00 / $5.00 |
| openai/gpt-6.2-astra | gpt-6.2-astra | $8.44 / $42.20 | $2.40 / $12.00 |
| google/gemini-4-argon | gemini-4-argon | $2.11 / $10.55 | $1.00 / $5.00 |

## Bonus: switch Claude to native /v1/messages

While OpenRouter wraps most calls through OpenAI schemas, rawroute lets Anthropic SDK clients talk directly to https://api.rawroute.dev/v1/messages so prompt caching breakpoints and extended thinking blocks work verbatim.

### .env diff · 1-line switch

```bash
# - OPENAI_BASE_URL=https://openrouter.ai/api/v1
# - OPENAI_API_KEY=sk-or-...
RAWROUTE_BASE_URL=https://api.rawroute.dev/v1
RAWROUTE_API_KEY=rr_live_your_key_here
```

## When NOT to use rawroute

- If your codebase relies on open-weight models outside our 36 frontier models, keep OpenRouter as a secondary fallback route in LiteLLM or your router config.
