Claude Code API relay for heavy users: 59API review
Why heavy Claude Code users start looking for a different setup
Running Claude Code all day is different from trying it once. A heavy user might keep a terminal session open while refactoring a service, reading a large codebase, and asking for repeated fixes until the change actually works. Every one of those turns sends input and output tokens through the model, and the cost grows with real usage rather than with a flat fee you can predict in advance.
That is the first problem 59API addresses. It is an independent third-party AI API relay, not an official channel, and it places Claude, GPT, Gemini, DeepSeek and other models behind one account, one API key and one API host at https://api.59api.com. For someone who lives in Claude Code, the appeal is straightforward: you keep working in the client you already use, you choose the model you want for each task, and you pay for the tokens you actually consume.
The second problem is the shape of the payment. 59API uses a prepaid balance, charged per request by real token usage. There is no monthly fee, and the balance never expires. You are not committing to a seat or a plan that quietly renews while you sleep. If a week is quiet, the money simply waits for the next heavy session.
Heavy usage also means you want visibility before you commit. 59API publishes per-million-token rates across its model catalogue, so you can estimate what a session will cost before you start, and top up in small steps if you would rather test the waters first. That is a very different proposition from discovering the total at the end of the month.
Connecting Claude Code to 59API in two settings
Setup is deliberately short. For Claude Code or Claude Desktop, set ANTHROPIC_BASE_URL=https://api.59api.com and ANTHROPIC_AUTH_TOKEN=YOUR_59API_KEY. That is the whole configuration change: point the client at the 59API host and hand it your key.
There is one boundary worth stating plainly, because it saves a lot of wasted debugging. Claude models work only through the genuine Claude Code or Claude Desktop client, using Claude Code 2.1.285 or newer. They do not run through the OpenAI SDK, cURL or other clients. If you try to force a Claude model through an OpenAI-compatible tool, you are asking for a protocol that will not answer, and the error message will not explain what the real problem is.
For the rest of your toolchain, 59API speaks the other common protocol. Codex, OpenAI SDKs, cURL and OpenAI-compatible clients such as Cursor, Cherry Studio, Cline and OpenCode work with GPT, DeepSeek and other non-Claude, non-Gemini models, using base_url https://api.59api.com/v1 and chat endpoint https://api.59api.com/v1/chat/completions. Gemini models follow Google's native protocol through Gemini CLI, with GOOGLE_GEMINI_BASE_URL=https://api.59api.com and GEMINI_API_KEY=YOUR_59API_KEY; they are not OpenAI-compatible and do not work on /v1/chat/completions.
For a heavy Claude Code user, this split is practical rather than confusing: your Claude work stays in Claude Code, and everything else plugs into the tools you already have.
What heavy sessions actually cost on 59API
Because billing follows real token usage, the useful question is not what a subscription costs but what a specific workload costs. 59API lists rates per 1 million tokens, billed in CNY with USD shown at ¥7.2 = $1, and the catalogue includes cache read rates as well as input and output.
Claude Sonnet 5.5 is listed at input $1.11 (¥8), output $5.56 (¥40) and cache read $0.0972 (¥0.7). Claude Opus 5.5 is input $1.53 (¥11), output $7.22 (¥52) and cache read $0.0694 (¥0.5). For lighter routing, Claude Haiku 4.5 is input $0.3472 (¥2.5), output $1.67 (¥12) and cache read $0.0278 (¥0.2).
Take a concrete workload. A Sonnet 5.5 session using 3M input tokens and 0.5M output tokens without cache costs $6.11 (¥44) on 59API, against an official list price of $11 (about ¥79.2), so 59API is about 56% of list price. An Opus 5.5 session using 2M input tokens and 0.5M output tokens without cache costs $6.67 (¥48) on 59API, against an official list price of $18 (about ¥129.6), so 59API is about 37% of list price.
Those are the numbers a heavy user actually cares about. You can model a morning of agentic work before you start it, pick the model tier that fits the task, and see the balance move as the session runs.
When a card fits better than pay-as-you-go
Pay-as-you-go is usually the right starting point, but heavy users sometimes prefer a predictable commitment. 59API therefore offers optional monthly and weekly cards. A card has its own key, it can only call that family's models, and it is paid only from the card itself: it never falls back to wallet balance, and a balance key never draws on a card. Unused quota does not roll over.
One example is the C-PRO Starter card for Claude, valid for 30 days, priced at $83.19 (¥599). It carries quota $1300 with a weekly cap $500, drains at the card's metering price × 2.4, and has a reference value at official list prices of about $361.11 (¥2600). Larger commitments exist too, including the C-MAX Standard card for Claude at $319.31 (¥2299) with quota $2650 and the same drain rule, and the C-PRO Flagship card at $239.03 (¥1721) with quota $4350 and a weekly cap $1600.
Two details matter here. First, quota and caps are card metering units written in $, not official list-price dollars, so they should not be read as official prices. Second, the drain rate of metering price × 2.4 is the number to compare against your own token volume before you commit.
A card suits a user who knows their weekly burn rate and wants the key and the cap handled up front. Pay-as-you-go suits a user whose workload still changes week to week. Both paths run on 59API, and neither requires a monthly subscription fee.
Who 59API suits, and when to start
59API fits a specific profile: developers who run Claude Code heavily, who want several model families behind one account and one key, and who would rather pay by token than commit to a fixed monthly plan. It also fits teams that want invoices for their spending, since invoices are available on top-ups.
Funding is simple. Top-ups come in ¥10, ¥50, ¥100, ¥200, ¥500 and ¥1000, paid by WeChat Pay or bank card. You can start with a small amount, watch how a real week of usage feels, and top up again. The balance never expires, so an unused top-up is not a deadline.
A second group is developers who juggle tools. Claude work happens in Claude Code and Claude Desktop. GPT, DeepSeek and other non-Claude, non-Gemini models run through Codex, OpenAI SDKs, cURL and OpenAI-compatible clients on the same account and the same host. Gemini runs through Gemini CLI on its native protocol. One 59API account can cover that mix without a separate provider relationship for every model.
If that sounds like your week, the next step is small: create the account, add a top-up, set the two Claude Code settings, and run one real task. Measure the token usage yourself, compare it with the published rates, and decide whether a card makes sense later. Heavy users do not need to guess. They can start with the smallest useful balance and see what the numbers say.
शुरू करने के लिए तैयार?
Claude, GPT और अन्य मॉडलों के लिए एक ही key, असली token उपयोग पर बिलिंग और कोई मासिक शुल्क नहीं। साइन अप करके अपनी API key बनाएं; हर मॉडल की दरें मूल्य पेज पर हैं।
मुफ़्त साइन अप मूल्य