官方价与 LLMRouter 价格均以美元显示;充值 ¥1 = $1 余额。折扣按官方美元价的 ¥7 / $1 参考汇率计算。
| 公开分组 | 输入 | 输出 | 缓存读取 | 条件 |
|---|---|---|---|---|
| Claude -Kiro【特惠】anthropic | 官方价 $2.00实付 $1.000.71 折 省 92.9% | 官方价 $10.00实付 $5.000.71 折 省 92.9% | 官方价 $0.20实付 $0.100.71 折 省 92.9% | 长上下文已启用 |
| Claude -Max【满血版】anthropic | 官方价 $2.00实付 $3.402.4 折 省 75.7% | 官方价 $10.00实付 $17.002.4 折 省 75.7% | 官方价 $0.20实付 $0.342.4 折 省 75.7% | 长上下文已启用 |
这是 Claude 的 Anthropic Messages 协议示例,Base URL 使用 /anthropic。
const client = new Anthropic({
apiKey: process.env.LLMROUTER_API_KEY,
baseURL: "https://api.llmrouter.pro/anthropic",
});
const message = await client.messages.create({
model: "claude-sonnet-5-5",
max_tokens: 1024,
messages: [{ role: "user", content: "Hello" }],
});