One key, no subscription, no minimum. Point Claude Code at our Anthropic-compatible endpoint and pay per token from a prepaid balance at roughly 14% of the official Anthropic list price. When the balance hits zero, requests stop — there is no way to run up a bill.
Rates follow the provider's published token prices: ÷ 7 on the Claude line, ÷ 14 on the Codex line. Examples at current list prices:
| Model class | Official list | You pay |
|---|---|---|
| Opus-class | $5 / $25 per M tokens | ≈14% |
| Sonnet-class | $2 / $10 per M tokens | ≈14% |
| Codex line (GPT) | $2 / $10 per M tokens | ≈7% |
macOS / Linux
export ANTHROPIC_BASE_URL=https://api.mddtech.cn/p export ANTHROPIC_AUTH_TOKEN=sk-your-key export ANTHROPIC_MODEL=claude-sonnet-5
Windows PowerShell
$env:ANTHROPIC_BASE_URL="https://api.mddtech.cn/p" $env:ANTHROPIC_AUTH_TOKEN="sk-your-key" $env:ANTHROPIC_MODEL="claude-sonnet-5"
That is the whole setup — Claude Code talks the Anthropic protocol, so nothing else changes. The same key works for any tool that lets you override an Anthropic base URL.
If you switch between providers (official ↔ relay ↔ your own gateway), editing
~/.claude/settings.json by hand gets old fast. ccpkit keeps every provider as a named profile
and writes the right config for you, with automatic backups.
pipx install ccpkit # or: pip install ccpkit ccpkit add mdd --preset mdd --claude-key sk-your-key --codex-key sk-your-other-key --use ccpkit use mdd # switch later ccpkit doctor mdd # connectivity, latency, which models are actually there ccpkit list # see every profile, * marks the active one ccpkit restore # undo: roll back to the previous config
Prefer clicking to typing? ccpkit ships a local web UI — no extra install:
ccpkit ui
It opens a page on 127.0.0.1 where you can add, edit, switch
and health-check profiles, and see exactly what gets written to each client config. It binds to localhost only and
is protected by a random token, so nothing else on the network can reach it.
On Windows? You don't even need Python. Download the exe and double-click it — that opens the same UI:
https://github.com/kanfangwang/ccpkit/releases/latest/download/ccpkit.exe
Built from the tagged source by GitHub Actions on every release. Windows may show a SmartScreen warning for unsigned binaries — “More info” → “Run anyway”. Same code as the pip package, just with Python bundled inside.
ccpkit is an independent open-source tool (MIT, zero dependencies, Python
3.8+, one file). It works with any Anthropic- or OpenAI-compatible endpoint — the mdd preset is just
one of several. Source: github.com/kanfangwang/ccpkit
Using CC Switch, or any other profile manager? You do not need us to be in its built-in preset list — add it as a custom provider. Works in CC Switch, ccpkit, or anything else that lets you set a base URL:
Name 麦多 API / MadeMore API Claude https://api.mddtech.cn/p Codex https://api.mddtech.cn/p/v1 Key your own key (starts with sk-)
Save it, select it, done. Nothing else to configure.
Only models that actually work are enabled. A request for anything else is rejected before it reaches the upstream provider, and you are not charged for it. Sonnet is the default: it is strong enough for coding and costs about 60% less per token than Opus. Opus 5.5 is both newer and cheaper than Opus 5 — check the price table above before assuming the newest is the priciest.
| Consumer subscription | Official API | MadeMore API | |
|---|---|---|---|
| Billing | $20–200 / month | per token, card on file | per token, prepaid |
| Unused month | paid anyway | — | credits stay |
| Overspend risk | none | yes, no hard cap | none — stops at zero |
| Card required | yes | yes | no (WeChat Pay) |
| Price per token | plan limits | list price | ~14% of list |
| Support / SLA | vendor | vendor | best-effort, no SLA |
The trade-off is honest: you are buying from a third-party relay, not from Anthropic. No SLA, no enterprise contract — in exchange the price is about a seventh, and you can start with $5.
Set ANTHROPIC_BASE_URL to our endpoint and use a key from the portal. Billing becomes per token
from a prepaid balance instead of a monthly plan, so a light week costs a light amount.
There is no daily request cap on standard keys — the only limit is your balance. If a run stops, it is because the balance reached zero, and you can top up and continue immediately. Upstream capacity limits can still cause occasional 429s, which are visible on the live status panel.
No. The portal records per-request usage metadata only — model, token counts, cost, timestamp — so you can audit your own spend. Prompt and completion content is not stored.
With WeChat Pay: the portal shows a one-time QR code, you scan it in WeChat and confirm, and the balance is credited automatically — usually within seconds. There is no “I’ve paid” button and no waiting for a human. If WeChat Pay is not an option for you, email us and we will arrange something by hand.
Yes — a self-service trial key with no email required, so you can measure real latency from your own network before spending anything.
No. This is an independent third-party relay service. “Claude”, “Codex” and other model names are used only to describe API compatibility.