59API

← सभी गाइड पर लौटें

Claude Opus 5 on 59API API relay: rates, setup, use

मॉडल · EN · 2026-11-07

The problem: powerful models should not come with billing surprises

You want access to a strong Claude model, but you do not want to learn a new billing system every time you switch providers. You want one endpoint, one key, and a clear number at the end of the month. That is the everyday friction this guide is about: how to run Claude Opus 5 through the 59API API relay, what it actually costs, how to connect it, and when a different model is the more sensible choice.

59API is an independent third-party AI API relay. One account gives you one API key and one API host, https://api.59api.com, covering Claude, GPT, Gemini, DeepSeek and other models. Billing is prepaid and charged per request based on real token usage. There is no monthly fee, and your balance never expires. Monthly and weekly cards are optional, so you can start with a small top-up and decide later whether a fixed-quota card fits your workload better.

All prices on 59API are quoted per 1 million tokens and billed in CNY, with USD figures shown at ¥7.2 = $1. That makes cost planning straightforward: you can look at a rate, estimate your token volume, and see the real figure before you commit to anything. The rest of this article walks through Claude Opus 5 specifically, but the same account and the same host serve the rest of the catalogue.

Claude Opus 5 rates on 59API, in plain numbers

Claude Opus 5 uses the model id claude-opus-5. On 59API, its input rate is $1.81 (¥13) per 1 million tokens, its output rate is $9.03 (¥65), and a cache read is $0.1111 (¥0.8). For reference, the official list price is $5 / $25 for input and output. The gap matters because output tokens are always the more expensive side of the table: if your workload generates long answers, output cost will dominate your bill.

Two nearby Claude options help you put that in perspective. Claude Sonnet 5.5, model id claude-sonnet-5-5, is $1.11 (¥8) input, $5.56 (¥40) output and $0.0972 (¥0.7) cache read, against an official list price of $2 / $10. Claude Haiku 4.5, model id claude-haiku-4-5-20251001, is $0.3472 (¥2.5) input, $1.67 (¥12) output and $0.0278 (¥0.2) cache read, against an official list price of $1 / $5.

A worked example makes the difference concrete. For Claude Sonnet 5.5 with 3M input plus 0.5M output tokens and no cache, the cost on 59API is $6.11 (¥44); at the official list price the same run is $11 (about ¥79.2), so 59API is about 56% of list price. For Claude Haiku 4.5 with 5M input plus 1M output tokens and no cache, 59API costs $3.4 (¥24.5) against $10 (about ¥72) at list price, or about 34% of list price. These are pricing illustrations, not quotes for a specific project.

Setup: two settings and the genuine Claude client

Connecting Claude through 59API is deliberately small. Set ANTHROPIC_BASE_URL=https://api.59api.com and ANTHROPIC_AUTH_TOKEN=YOUR_59API_KEY, then start the genuine Claude Code or Claude Desktop client. That is the whole configuration. Claude Code 2.1.285 or newer is required.

There is one rule worth stating plainly, because it saves a lot of debugging: Claude models work only through the genuine Claude Code or Claude Desktop client. They do not work through the OpenAI SDK, cURL, or other clients, and they are not reachable on the OpenAI-compatible chat endpoint. If you are used to testing a provider with a quick cURL call, that habit will fail here.

The rest of the catalogue has its own routes. 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 use Google's native protocol only, through Gemini CLI, with GOOGLE_GEMINI_BASE_URL=https://api.59api.com and GEMINI_API_KEY=YOUR_59API_KEY. In short: one key, one host, but each model family speaks to the client built for it.

Before you connect, top up your balance. Options run from ¥10, ¥50, ¥100, ¥200, ¥500 and ¥1000, paid by WeChat Pay or bank card, and invoices are available. Once the balance is in place, the two environment variables above are all you need to change.

When Opus 5 earns its place, and when it does not

Claude Opus 5 is the tier you reach for when output quality matters more than unit economics. Consider a hypothetical case: a developer asks for a careful refactor plan, then iterates on it across several turns. Long context and repeated passes mean both input and output tokens add up, so the $1.81 (¥13) input and $9.03 (¥65) output rates are the numbers to budget against.

Now consider a different hypothetical workload: classifying incoming text, renaming files, extracting a field from a form. These are repetitive, narrow tasks with short answers. Claude Haiku 4.5 at $0.3472 (¥2.5) input and $1.67 (¥12) output is a more natural fit, and its $0.0278 (¥0.2) cache read rate makes repeated prompts cheap. If you are paying Opus 5 prices for Haiku-sized jobs, you are spending more than the task requires.

Claude Sonnet 5.5 sits in the middle at $1.11 (¥8) input and $5.56 (¥40) output, and for many day-to-day coding sessions it is the pragmatic default. A sensible habit is to start with the cheaper model, and move up to Opus 5 when a task genuinely needs it. Because 59API bills on real token usage, that choice shows up directly in your balance.

Caching deserves a mention too. Cache reads on Opus 5 are $0.1111 (¥0.8) per 1 million tokens. If your workflow reuses a large fixed prompt, cache reads can meaningfully reduce the input cost of each repeat request.

Pay-as-you-go or a card: choose your billing shape

59API gives you two billing shapes, and you can mix them across separate keys. The simplest is prepaid pay-as-you-go: top up, call, and pay only for the tokens you actually use. There is no monthly fee and the balance never expires, so a small top-up is enough to test a model before committing to anything larger.

Cards are the optional second shape. A card has its own key, can only call that family of models, and 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. Quota and caps are card metering units written in $, not official list-price dollars, so they should not be read as list prices.

For Claude, the C-PRO entry card lasts 30 days at $83.19 (¥599), with quota $610 and a weekly cap of $230, draining at the card metering price × 2.4. Its reference value at official list prices is about $169.44 (¥1220). Weekly Claude options also exist, such as the C-PRO $290 weekly card at $40.14 (¥289) with quota $290 and weekly cap $290.

My suggestion is simple. Start pay-as-you-go on 59API, measure your real token usage on Claude Opus 5 or a cheaper sibling, and only then decide whether a card matches your pattern. Either way, the setup stays the same: one account, one key, one host, and pricing you can read before you spend.

दस्तावेज़

शुरू करने के लिए तैयार?

Claude, GPT और अन्य मॉडलों के लिए एक ही key, असली token उपयोग पर बिलिंग और कोई मासिक शुल्क नहीं। साइन अप करके अपनी API key बनाएं; हर मॉडल की दरें मूल्य पेज पर हैं।

मुफ़्त साइन अप मूल्य