---
title: "60 秒从 OpenRouter 无缝迁移至 rawroute"
canonical: "https://rawroute.dev/zh/guides/migrate-from-openrouter"
lang: "zh-Hans"
last_verified: "2026-11-28"
description: "从 OpenRouter 一键迁移到 https://api.rawroute.dev/v1 实战指南：去掉模型前缀，立省 5.5% 充值费并享受官方标价 3–5 折实付单价。"
---

# 60 秒从 OpenRouter 无缝迁移至 rawroute

从 OpenRouter 迁移至 rawroute 仅需修改 base_url（https://api.rawroute.dev/v1）与密钥，并去除模型名称中的厂商前缀（如 anthropic/ 或 openai/），即刻省去 5.5% 充值抽成并将对话成本降至官方 3–5 折。

## 模型 ID 对照表（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 |

## 进阶技巧：Claude 支持原生 /v1/messages 透传

与 OpenRouter 统一转为 OpenAI 格式不同，rawroute 原生开放 https://api.rawroute.dev/v1/messages 端点，Anthropic SDK 无需改写工具调用与缓存标记即可直通。

### .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
```

## 何时不适用 rawroute

- 若部分业务依赖开源小众模型，可在网关层保留 OpenRouter 作为特定模型的补充通道。
