Claude Code, on a gateway that won't lie to you.
One env var points claude-code at api.voltai.one. Same SDK, same /v1/messages protocol, byte-identical responses β with USD billing, invoices, and a daily parity benchmark you can audit.
Why VoltAI instead of a CN Claude-Code reseller
USD billing, real invoices
We charge in USD, issue USD invoices, remit taxes from a Wyoming LLC. No CNY spread, no opaque credit system, no WeChat top-up.
Daily parity benchmark
We publish MMLU-Pro / GSM8K / HumanEval raw scores every 24h at /integrity. If Ξ vs. Anthropic direct is > 1.5%, you get a full refund.
One model name β one upstream
claude-opus-4-7 on VoltAI always routes to official Anthropic. No silent substitution to a cheaper model, no quantization switching, ever β written into our Terms of Service.
Every request logged, exportable
CSV export of every call: request id, model, tokens in/out, cost, latency, upstream region. Your auditors will love you.
Three commands, thirty seconds
claude-code already speaks the Anthropic wire protocol. We host that same endpoint with one URL change.
- 1
Get an API key
Sign up at console.voltai.one, generate a server key. First $5 is on us.
- 2
Point claude-code at VoltAI
Two env vars. Claude Code's CLI picks them up automatically.
bash# One-time setup: point Claude Code at VoltAI export ANTHROPIC_BASE_URL="https://api.voltai.one" export ANTHROPIC_AUTH_TOKEN="sk-voltai-..." # from console.voltai.one # Persist across shells cat >> ~/.zshrc <<'EOF' export ANTHROPIC_BASE_URL="https://api.voltai.one" export ANTHROPIC_AUTH_TOKEN="sk-voltai-..." EOF # Then just use it claude-code - 3
Verify the wiring
Hit /v1/messages with a sanity prompt. If it replies "voltai-ok", you're routed through VoltAI.
bashcurl -s https://api.voltai.one/v1/messages \ -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{ "model": "claude-sonnet-4-6", "max_tokens": 64, "messages": [{"role":"user","content":"reply with: voltai-ok"}] }' # expect: "voltai-ok" - 4
(Optional) persistent config
If you prefer a config file over env vars, drop this in ~/.claude-code/settings.json.
json// ~/.claude-code/settings.json (optional) { "api": { "baseURL": "https://api.voltai.one", "authToken": "sk-voltai-..." }, "defaultModel": "claude-sonnet-4-6" }
Common questions
Is this a modified Claude? A fine-tune?+
No. VoltAI is a transparent passthrough β your request hits Anthropic's official endpoint, the raw response comes back to you byte-identical. We do not inject prompts, we do not rewrite outputs, we do not train on your data. See /integrity.
How does billing work? Is this a Claude subscription?+
It's metered API usage, not a subscription. You pay per token β upstream Anthropic rate + 5% gateway fee, billed monthly in USD. No minimum, cancel anytime, no OAuth handshake with your Anthropic account.
What happens if Anthropic raises prices?+
We mirror upstream rates within 24 hours and email you first. We never mark up beyond the published gateway fee.
Can I use my own Anthropic key (BYOK)?+
Enterprise plans support zero-trust BYOK: you configure your own Anthropic key, VoltAI handles auth/metering/rate-limiting but never sees the model output. Contact sales@voltai.one.
What if your parity check fails?+
If the daily /integrity snapshot shows Ξ > 1.5% vs. Anthropic direct on any benchmark, we publish the incident within 24h and refund your full billing period for affected models. No arguing, no case-by-case β it's in the ToS.
The gateway Claude Code deserves
USD billing, daily-verified parity, no subscription risk. $5 free credit to try it.