Claude Sonnet 4.6 API
日常主力模型,半價直供。
Anthropic 平衡推理模型 — 透過 Hypereal 呼叫 $1.50 輸入 / $7.50 輸出(每百萬 tokens)。同款 Sonnet 4.6、同樣 200K 上下文,透過相容 OpenAI 的 REST 端點提供。
Drop into Claude Code or Codex in 60 seconds
Keep the CLI you already use. Swap one env var. Spend 50% less per token.
Sign up · 1 free credit
Email + password. 1 free coding credit lands in your account — enough to test from Claude Code or Codex right away. No card.
Create accountCopy your ck_ key
Dashboard → API Keys → New key. Drop it into Claude Code, Codex CLI, Cursor, Aider — anywhere that speaks OpenAI or Anthropic.
Open dashboardPlug into your CLI
Export ANTHROPIC_BASE_URL / OPENAI_BASE_URL and you keep your existing tooling. Snippet below pastes verbatim.
See all integrations# Use Claude Sonnet 4.6 inside Claude Code CLI
# 1. Grab your key at https://hypereal.cloud/manage-api-keys
# 2. Point Claude Code at Hypereal (Anthropic-compatible endpoint):
# NOTE: no /v1 — the Anthropic SDK appends /v1/messages itself.
export ANTHROPIC_BASE_URL="https://api.hypereal.cloud"
export ANTHROPIC_API_KEY="ck_..."
export ANTHROPIC_MODEL="claude-sonnet-4-6"
claude # same Claude Code, half the bill.
# Prefer raw curl? Same key works:
# curl https://hypereal.cloud/v1/chat/completions \
# -H "Authorization: Bearer ck_..." -H "Content-Type: application/json" \
# -d '{"model":"claude-sonnet-4-6","messages":[{"role":"user","content":"hi"}]}'New accounts get 1 free coding credit · enough to send a real Claude Code / Codex prompt before you spend a cent.
Claude Sonnet 價格對比
對比 Anthropic 官方的每百萬 token 價格(已驗證)
Stack up to 7.7× value
Prepaid coding credits, SQL-locked to Opus / Sonnet / GPT-5.5. No subscription, no monthly cap, no surprises.
Questions, answered
這真的是 Anthropic 的 Sonnet 4.6 嗎?
是的。相同的權重、相同的輸出,與 api.anthropic.com 位元組級一致。Hypereal 是聚合商 — 我們不微調、不替換模型。
Sonnet 4.6 與 GPT-5.5 哪個更適合我的場景?
Sonnet 4.6 在長上下文推理與指令遵循上更強;GPT-5.5 在短互動場景更快、更便宜。兩者都透過同一個 Hypereal API 存取 — 改個參數即可切換。
可以用 Anthropic SDK 嗎?
可以。Anthropic SDK 透過 base_url 覆寫原生支援;OpenAI SDK 也能透過 https://api.hypereal.cloud/v1 的 chat-completions 介面卡使用。
支援 prompt caching 嗎?
Claude Sonnet 4.6 支援 cache_control 參數 — 與官方 API 完全一致。快取命中按官方折扣價計費。
如何計費?
積分制按 token 付費,100 積分 = $1。$19.99 起儲值,無訂閱、積分永不過期,支援信用卡與加密貨幣。
Sonnet 4.6 半價上線
改個 base_url,SDK 程式碼不變,帳單減半。$19.99 起儲值。

