One wallet. Better coding usage.
按 Claude Opus / Sonnet 官方 API 价格对比
Top up Hypereal Credits once. The credits work across Hypereal, and your selected top-up amount can reduce token charges on Claude Opus, Claude Sonnet, GPT-5.5, and Gemini 3.5 coding models.
想充值就充值,想停就停。不需要维护月费套餐。
可连接 Claude Code、Codex CLI、Cursor、Cline、Aider、Continue.dev、OpenCode,或你自己的应用。
你看到的是 token 和 credits,不是模糊的月度请求池。
本计划里 Claude Opus 比官方 API 低 32%,Claude Sonnet 比官方 API 低 77%。
How is one wallet charged?
Every API uses Hypereal Credits. Coding multipliers apply only to the listed coding models.
Claude, GPT, and Gemini coding models spend the same Hypereal Credits wallet. Your selected top-up amount can reduce charges on these coding models.
Video, image, audio, 3D, GPU, training, and other model APIs use the prices shown on their product pages.
Top up Hypereal Credits
Each pack adds face-value credits to one wallet. The amount you top up determines the coding-model usage multiplier.
Top-ups add face-value Hypereal Credits. Coding multipliers are a coding-model feature shown for this plan.
Coding models with usage multipliers
Call the model ID you want. Billing applies the coding multiplier only to these listed models.
精确 token 价格
规则很简单:每次请求按输入和输出 token 计费。
| 模型 | Hypereal $ / 百万 token(输入 / 输出) | 官方 API 价 | 低于官方 |
|---|---|---|---|
Claude Opus 4.7 / 4.6 | $3.40 / $16.96 | $5.00 / $25.00 | −32% |
Claude Sonnet 4.6 | $0.68 / $3.40 | $3.00 / $15.00 | −77% |
GPT-5.5 | $0.42 / $2.52 | $1.20 / $7.20 | −65% |
Gemini 3.5 Thinking | $0.90 / $5.40 | $1.50 / $9.00 | −40% |
Gemini 3.5 Fast | $0.90 / $5.40 | $1.50 / $9.00 | −40% |
按 1M tokens 计费。输入和输出分开计算,重度用户可以清楚预估成本。
在你已有的编程工具里使用
把 Hypereal 接入任何兼容 OpenAI 或 Anthropic API 的工具。
任何支持 OpenAI 或 Anthropic API 的工具都能用。把 base URL 设为 hypereal.cloud,再填入你的 key。下方有配置示例。
Hypereal 支持 cache_control 缓存和 Hypereal Cache。Hypereal Cache 默认开启,agent 重复发送仓库上下文时可以减少 token 消耗。你可以把 hypereal.cache 设为 "auto",不填也是同样默认值。
Claude Code
官方 Anthropic Claude Code CLI 使用 /v1/messages。指向 Hypereal,日常默认用 Sonnet,并保持 prompt cache 开启。
# 1. Get your API key
# https://hypereal.cloud/manage-api-keys
# 2. Point Claude Code at Hypereal (Anthropic-compatible endpoint).
# NOTE: do NOT include /v1 — the Anthropic SDK appends /v1/messages
# itself. Setting the URL to .../v1 produces /v1/v1/messages → 404.
export ANTHROPIC_BASE_URL="https://api.hypereal.cloud"
export ANTHROPIC_API_KEY="ck_..." # your Hypereal key
# 3. Default to Sonnet 4.6 for daily coding agents.
# Switch to claude-opus-4-7 only for the hardest refactors.
export ANTHROPIC_MODEL="claude-sonnet-4-6"
# 4. Run
claude
# Hypereal Cache is enabled by default.
# Use hypereal.cache="auto" to be explicit, or omit it.OpenAI Codex CLI
OpenAI Codex CLI 使用 /v1/chat/completions。把 OPENAI_BASE_URL 设为 Hypereal,并固定到 GPT-5.5。
export OPENAI_BASE_URL="https://hypereal.cloud/v1"
export OPENAI_API_KEY="ck_..."
export OPENAI_MODEL="gpt-5.5"
codex --provider openaiCursor
Cursor 支持 OpenAI 兼容端点。在 Settings -> Models 中覆盖 OpenAI host。
# Cursor → Settings → Models → "Add OpenAI-compatible"
# Base URL: https://hypereal.cloud/v1
# API Key: ck_...
# Model: gemini-3.5-thinking (or gpt-5.4 / claude-sonnet-4-6)
#
# Enable "Override OpenAI" in the same panel so Cursor routes
# completions through Hypereal instead of api.openai.com.
#
# Note: Cursor BYOK currently rejects gpt-5.5
# (https://forum.cursor.com/t/gpt-5-5-byok-not-working/160004/15).
# Use the LiteLLM workaround if you need gpt-5.5 in Cursor:
# pip install "litellm[proxy]"
# OPENAI_API_BASE=https://api.hypereal.cloud/v1 \
# OPENAI_API_KEY=ck_... \
# python -m litellm.proxy.proxy_cli --model gpt-5.5
# Then point Cursor at http://localhost:4000/v1 instead.OpenCode / Cline / Aider
OpenCode、Cline、Aider 可以使用 Anthropic 兼容的 API 设置或环境变量。
# OpenCode / Cline (VS Code) — Anthropic-compatible.
# Cline appends /v1/messages itself, so omit /v1 here.
{
"anthropic.baseURL": "https://api.hypereal.cloud",
"anthropic.apiKey": "ck_...",
"anthropic.model": "claude-sonnet-4-6"
}
# Aider uses the Anthropic SDK underneath — same rule:
# do NOT add /v1 to ANTHROPIC_API_BASE.
export ANTHROPIC_API_BASE="https://api.hypereal.cloud"
export ANTHROPIC_API_KEY="ck_..."
aider --model anthropic/claude-sonnet-4-6Hermes Agent
Hermes Agent 支持任何 OpenAI 兼容端点。配置一次即可运行。
# Hermes Agent supports OpenAI-compatible endpoints out of the box.
hermes config set provider openai-compatible
hermes config set base_url https://hypereal.cloud/v1
hermes config set api_key ck_...
hermes config set model gemini-3.5-fast
hermes run "Refactor auth.ts to use jose"Raw curl
给 agent 和脚本使用:带上 API key 直接调用 /v1/messages。
curl https://hypereal.cloud/v1/messages \
-H "x-api-key: ck_..." \
-H "content-type: application/json" \
-H "anthropic-version: 2023-06-01" \
-d '{
"model": "claude-sonnet-4-6",
"max_tokens": 1024,
"system": [{
"type": "text",
"text": "You are a senior TypeScript refactoring assistant.",
"cache_control": {"type": "ephemeral"}
}],
"messages": [{"role": "user", "content": "Write a Python quicksort."}],
"hypereal": {"cache": "auto"}
}'
