Claude Opus 5 on 59API: API proxy rates and setup
The real problem is not the model, it is the arithmetic
Open any frontier-model pricing page and you will see three columns: input, output, cache read. That is a good start, but it does not answer the question a developer actually has: what will my next month of agent work cost, and how do I get the model into the tool I already use without rewriting my workflow?
59API exists to remove that friction. It is an independent third-party AI API relay, not an official channel from any model lab. One account gives you one API key and one API host, https://api.59api.com, and the same balance works across Claude, GPT, Gemini, DeepSeek and other models. You prepay, and each request is charged by its real token usage. There is no monthly fee, and the balance never expires, so an unused top-up is not a deadline you have to race.
This guide focuses on one model: Claude Opus 5. Here is the plan. First, the numbers — what Opus 5 costs per 1 million tokens on 59API, and how that compares with the official list price used as a reference point. Second, the setup — the exact two environment variables that point a genuine Claude Code or Claude Desktop client at 59API. Third, the decision: when Opus 5 earns its place in your stack, when a cheaper sibling makes more sense, and when an optional card fits better than pay-as-you-go. Every figure below is billed in CNY, with USD shown at ¥7.2 = $1.
Claude Opus 5 rates on 59API
Here is the core table. Rates are per 1 million tokens, and cache read is the price you pay when 59API serves a portion of your prompt from cache instead of reprocessing it.
- Claude Opus 5, model id
claude-opus-5: input $1.81 (¥13), output $9.03 (¥65), cache read $0.1111 (¥0.8). Official list price: $5 / $25. - Claude Opus 5.5, model id
claude-opus-5-5: input $1.53 (¥11), output $7.22 (¥52), cache read $0.0694 (¥0.5). Official list price: $4 / $20. - Claude Sonnet 5.5, model id
claude-sonnet-5-5: input $1.11 (¥8), output $5.56 (¥40), cache read $0.0972 (¥0.7). Official list price: $2 / $10. - Claude Haiku 4.5, model id
claude-haiku-4-5-20251001: input $0.3472 (¥2.5), output $1.67 (¥12), cache read $0.0278 (¥0.2). Official list price: $1 / $5.
Two observations worth keeping. First, output tokens are the expensive side of the ledger in every row, so a task that makes the model write long files or long answers will cost noticeably more than one that mostly reads context. Second, cache read is dramatically cheaper than fresh input on every model here. If your workload repeats a large fixed context — a repository, a schema, a document set — then the cache read rate is the number that should drive your model choice, not the headline input price.
Because 59API meters actual usage, you can start with a small balance, watch the first requests land, and adjust. Top-ups are available at ¥10, ¥50, ¥100, ¥200, ¥500 and ¥1000, paid by WeChat Pay or bank card, with invoices available if you need them.
What a real workload costs
Rates are useful; totals are decisive. Here are worked examples for Claude workloads, billed without cache on 59API and compared against the official list price as a reference point.
- Claude Sonnet 5.5, 3M input plus 0.5M output tokens: $6.11 (¥44) on 59API, against an official list price of $11 (about ¥79.2). That is about 56% of list price.
- Claude Haiku 4.5, 5M input plus 1M output tokens: $3.4 (¥24.5) on 59API, against an official list price of $10 (about ¥72). That is about 34% of list price.
- Claude Opus 5.5, 2M input plus 0.5M output tokens: $6.67 (¥48) on 59API, against an official list price of $18 (about ¥129.6). That is about 37% of list price.
Read those numbers as a budgeting tool rather than a promise. A 5M-token input run is not a hypothetical: it is what a long session against a large codebase or a document-heavy pipeline can look like. Haiku 4.5 handles that volume at $3.4 (¥24.5). Opus 5.5, priced for heavier reasoning, handles a smaller 2M plus 0.5M run at $6.67 (¥48).
That gap is the central design decision. Opus 5, at $1.81 (¥13) input and $9.03 (¥65) output per 1 million tokens, sits between Opus 5.5 and Sonnet 5.5. For a task where output quality decides whether the work is usable, the extra spend is the point. For a task where the output is a summary, a classification or a mechanical edit, route it to a smaller model and keep the expensive tier for the steps that need it. 59API makes that routing easy because one key and one balance cover the whole Claude family.
Setup: two variables, one host
Claude models on 59API run through the genuine Claude Code or Claude Desktop client — Claude Code 2.1.285 or newer. They do not run through the OpenAI SDK, cURL or other clients, and it is worth being precise about that, because the OpenAI-compatible path is a separate story for non-Claude, non-Gemini models such as GPT and DeepSeek.
For Claude, set two environment variables:
ANTHROPIC_BASE_URL=https://api.59api.comANTHROPIC_AUTH_TOKEN=YOUR_59API_KEY
That is the whole integration. Point the base URL at the 59API host, drop your key into the auth token variable, and restart the client. There is no SDK rewrite, no wrapper library and no per-client configuration file to maintain. The same two variables work for both Claude Code and Claude Desktop, so a developer who starts in the terminal and later moves into the desktop app keeps one setup.
Two practical notes. First, use a real Claude Code or Claude Desktop client, version 2.1.285 or newer; Claude models are not reachable through the OpenAI SDK, cURL, Codex, Cursor, Cherry Studio, Cline or OpenCode. Those clients pair with GPT, DeepSeek and other non-Claude, non-Gemini models on base_url https://api.59api.com/v1 with the chat endpoint https://api.59api.com/v1/chat/completions. Second, keep your key private and treat it like any other credential in your environment file.
Once the client connects, the model id is the only remaining decision. For Opus 5, that is claude-opus-5.
When to use Opus 5, and when to spend less
Opus 5 is the right pick when the cost of a wrong or shallow answer is higher than the cost of the tokens. Concretely: multi-step reasoning across a large context, refactors where a missed dependency costs you an afternoon, and long-horizon agent work where the model has to hold a plan together across many turns. At $1.81 (¥13) input and $9.03 (¥65) output per 1 million tokens, the bill stays legible because 59API meters real usage against a prepaid balance that never expires.
For everything else, step down. Sonnet 5.5 at $1.11 (¥8) input and $5.56 (¥40) output is the sensible default for everyday coding help. Haiku 4.5 at $0.3472 (¥2.5) input and $1.67 (¥12) output handles summaries, lookups and routine edits, and its $0.0278 (¥0.2) cache read rate rewards repeated context. If you want a stronger tier with lower rates, Opus 5.5 at $1.53 (¥11) and $7.22 (¥52) is the step above Opus 5.
There is also an optional card path for predictable volume. The C-PRO entry card for Claude runs 30 days at $83.19 (¥599), with quota $610 and a weekly cap of $230, draining at the card's metering price × 2.4. A card has its own key, can only call that family's models, is paid only from the card, and never falls back to wallet balance — unused quota does not roll over. Quota and caps are card metering units written in $, not official list-price dollars, so treat them as metering figures rather than price comparisons.
For most developers, the sequence is simple: top up a small balance, connect Claude Code with the two variables above, run Opus 5 on the tasks that justify it, and let the lighter models handle the rest. Try it on a real task this week and let the token meter tell you where the money actually goes.
¿Listo para empezar?
Una sola clave para Claude, GPT y más, con facturación por tokens reales y sin cuota mensual. Regístrate para crear tu clave API; las tarifas de cada modelo están en la página de precios.
Registro gratis Precios