Claude Code
settings.json- ANTHROPIC_BASE_URL
- https://api.coderelayhub.com
- ANTHROPIC_AUTH_TOKEN
- crh_••••••••
Claude models answer only the official Claude Code / Desktop clients, version 2.1.285 or newer.
Setup guide →CodeRelay Hub speaks the Anthropic, OpenAI and Gemini wire formats on a single host. Point Claude Code, Codex or Gemini CLI at it, keep your workflow, and pay for the tokens each run actually consumes.
settings.jsonClaude models answer only the official Claude Code / Desktop clients, version 2.1.285 or newer.
Setup guide →config.tomlExport CRH_TOKEN in your shell; GPT and the other /v1 families work from there.
Setup guide →.gemini/.envBare host with no /v1beta suffix: the CLI appends the native path itself.
Setup guide →Prices per 1M tokens (input / output). The official-equivalent column converts the vendor's own list price at $1 = ¥7.2; only Claude and GPT have one.
| Agent | Model | This hub, in / out | Official equivalent |
|---|---|---|---|
| Claude Code | Claude Sonnet 5.5 claude-sonnet-5-5 |
$1.26 / $6.29 | $3.00 / $15.00 |
Claude Opus 5.5 claude-opus-5-5 |
$1.63 / $7.70 | $4.00 / $20.00 | |
| Codex | GPT-5.6 Sol gpt-5.6-sol |
$0.3847 / $2.16 | $5.00 / $30.00 |
GPT-6 Astra gpt-6-astra |
$0.7403 / $3.70 | $10.00 / $50.00 | |
| Gemini CLI | Gemini 3.1 Pro gemini-3.1-pro |
$1.63 / $9.48 | no official list price |
Gemini 3.8 Flash gemini-3.8-flash |
$1.24 / $5.58 | no official list price |
Models outside this table are on the full price sheet. All models and rates →
Five monthly plans, from one engineer's sprint to a whole team. A plan is used through its own key and drawn at official value × 2.1; the official-value column shows what its quota is worth at list prices.
| Plan | Covers | Quota per term | Term (days) | Weekly ceiling | Official value | Price | |
|---|---|---|---|---|---|---|---|
Claude $350 · 7 days · weekly $350 |
Claude | $350 | 7 | $350 | ≈ $166.67 | $31.39 | Buy |
Claude $1,600 · 30 days · weekly $480 |
Claude | $1,600 | 30 | $480 | ≈ $761.90 | $131.39 | Buy |
Claude $7,000 · 30 days · no weekly cap |
Claude | $7,000 | 30 | uncapped week | ≈ $3,333.33 | $717.50 | Buy |
GPT $3,500 · 30 days · weekly $1,100 |
GPT | $3,500 | 30 | $1,100 | ≈ $1,666.67 | $85.56 | Buy |
GPT $14,000 · 30 days · no weekly cap |
GPT | $14,000 | 30 | uncapped week | ≈ $6,666.67 | $430.00 | Buy |
Usage is drawn from the quota at official value × 2.1.
Bring your team: every payment made by an engineer you invite earns you 11%, and payments by the engineers they invite earn you 4%. Earnings land at once and can be withdrawn or moved to your balance.