OpenAI & Anthropic compatible
One key for every leading model
Works with the official OpenAI and Anthropic SDKs. Change one Base URL to reach GPT, Claude, Grok and more. Billed per token in real time, no subscription, no minimum.
from openai import OpenAI
client = OpenAI(base_url="https://relay-api.chosum.top/v1", api_key="sk-nova-...")
resp = client.chat.completions.create(
model="claude-sonnet-5-5",
messages=[{"role": "user", "content": "你好"}],
)
print(resp.choices[0].message.content)Pick a Base URL by protocol
OpenAI protocol
https://relay-api.chosum.top/v1For the OpenAI SDK, LangChain, Cline, OpenCode and more. Every model is available
Anthropic protocol
https://relay-api.chosum.top/anthropicFor the Anthropic SDK and Claude Code. Claude models
Built for developers
Fast and stable
Global CDN, unbuffered streaming, first-token latency on par with going direct.
Transparent pricing
Every model lists its price per million tokens; every request's usage and cost is in your dashboard.
Official protocols, unchanged
Requests and responses match the official formats, so your existing code just works.
Secure by design
API keys are stored only as hashes. Create and revoke them any time, with per-key usage.
Popular models
See all models and pricing| Model | Context | Input | Output |
|---|---|---|---|
Claude Opus 5.5 claude-opus-5-5 | 200K | $5 | $25 |
Claude Sonnet 5.5 claude-sonnet-5-5 | 200K | $3 | $15 |
Claude Haiku 5.5 claude-haiku-5-5 | 200K | $1 | $5 |
GPT-4.1 gpt-4.1 | 1.05M | $2 | $8 |
GPT-4.1 mini gpt-4.1-mini | 1.05M | $0.4 | $1.6 |
GPT-4o gpt-4o | 128K | $2.5 | $10 |