前沿模型全在同一个 sk-gw- Bearer 后面。换 base_url,换 token,其余代码一行不动。
OpenAI Chat Completions 与 Anthropic Messages 同时开放,每个模型在两条入口上都可用。Claude Code 直接指过来就能跑。
你只看到模型名。路由调度、故障转移、负载均衡都在这一层完成,你的调用代码永远不需要知道。
1 USD = 100,000,000 µ¢,每一次调用都可对账、可重算、可退款。重放安全由唯一索引保证,不靠约定。
from openai import OpenAI
client = OpenAI(
api_key="sk-gw-...",
base_url="https://heiyutv.com/api/v1",
)
resp = client.chat.completions.create(
model="claude-opus-5",
messages=[{"role": "user", "content": "你好"}],
)import anthropic
client = anthropic.Anthropic(
api_key="sk-gw-...",
base_url="https://heiyutv.com/api/v1",
)
msg = client.messages.create(
model="claude-opus-5",
max_tokens=1024,
messages=[{"role": "user", "content": "你好"}],
)| 模型 | 上下文 | 输入 ¥/M | 输出 ¥/M |
|---|---|---|---|
Claude Fable 5 claude-fable-5 | 1.00M | ¥72.00 | ¥360.00 |
Claude Opus 5 claude-opus-5 | 1.00M | ¥36.00 | ¥180.00 |
GPT-5.6 Sol gpt-5.6-sol | 1.05M | ¥36.00 | ¥216.00 |
GPT-5.6 Terra gpt-5.6-terra | 1.05M | ¥18.00 | ¥108.00 |
GPT-5.6 Luna gpt-5.6-luna | 1.05M | ¥7.20 | ¥43.20 |
Kimi K3 kimi-k3 | 1.05M | ¥21.60 | ¥108.00 |
GLM 5.2 glm-5.2 | 1.05M | ¥5.72 | ¥17.96 |
DeepSeek V4 Flash deepseek-v4-flash | 1.05M | ¥1.01 | ¥2.02 |
DeepSeek V4 Pro deepseek-v4-pro | 1.05M | ¥3.13 | ¥6.26 |