59API

← 返回教程列表

Claude Sonnet 5 on 59API: API proxy rates and setup

模型对比 · EN · 2026-11-08

The problem: getting Claude to work without guessing the cost

Most developers meet Claude through one of two walls. The first is access: you want a working Claude Code setup today, without juggling separate credentials for every tool in your workflow. The second is cost: list pricing makes sustained agent runs expensive, because every retry, every tool call and every long context window is billed by real token usage.

Claude Sonnet 5 sits in the middle of the catalogue, which makes it a sensible default for everyday coding work. But choosing a model is only half the decision. You also need a clear answer on what a request actually costs, how to point your client at it, and when a cheaper sibling is the smarter pick.

That is exactly what this checklist covers. By the end, you will know the per-million-token rates for Claude Sonnet 5 on 59API, the two environment variables that connect Claude Code or Claude Desktop, and the situations where another model deserves the slot in your setup.

If you have been comparing relay pricing by headline numbers alone, slow down for a minute. The useful comparison is tokens in, tokens out, cache reads, and the client you actually run.

What 59API actually is

59API is an independent third-party AI API relay. One account gives you one API key and one API host, https://api.59api.com, and from there you can reach Claude, GPT, Gemini, DeepSeek and other models.

Billing is prepaid and charged per request by 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 only add a card if your usage pattern calls for one.

Top-ups come in ¥10, ¥50, ¥100, ¥200, ¥500 and ¥1000, paid by WeChat Pay or bank card, and invoices are available. Prices are listed per 1 million tokens and billed in CNY, with USD figures shown at ¥7.2 = $1.

That structure matters when you are evaluating Claude Sonnet 5. You are not buying a seat and hoping the meters behave. You are topping up a balance, making requests, and watching each one cost what the tokens you actually consumed. No subscription to cancel, no quota to guess at, no balance that quietly expires while you are busy shipping.

Claude Sonnet 5 rates, and the models around it

Claude Sonnet 5 (model id claude-sonnet-5) is priced on 59API at $1.11 (¥8) for input, $5.56 (¥40) for output and $0.0972 (¥0.7) for cache read, per 1 million tokens. The reference official list price is $2 / $10 for input and output.

Claude Sonnet 5.5 (model id claude-sonnet-5-5) carries the same 59API rates: $1.11 (¥8) input, $5.56 (¥40) output and $0.0972 (¥0.7) cache read, against a reference official list price of $2 / $10.

If you want to step up, Claude Opus 5.5 (model id claude-opus-5-5) is $1.53 (¥11) input, $7.22 (¥52) output and $0.0694 (¥0.5) cache read. If you want to step down, 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.

Read these as a ladder, not a ranking. Output tokens cost several times input tokens on every one of these models, so the shape of your prompt matters more than the sticker price alone. Cache reads are cheaper again, which is one more reason to keep reusable context stable between runs.

Setup: two settings in the genuine Claude client

Here is the rule that saves an afternoon of debugging: Claude models work only through the genuine Claude Code or Claude Desktop client. On 59API that means Claude Code 2.1.285 or newer. Claude models do not work through the OpenAI SDK, cURL, Codex, Cursor, Cherry Studio, Cline, OpenCode or any other client.

Set these two environment variables and restart the client:

That is the whole integration. One key, one host, no monthly fee. Top up your balance first, then request the model by its id, for example claude-sonnet-5, and let the client handle the protocol.

Two quick operational notes. First, keep your key in the environment rather than in a committed file. Second, because 59API charges by real token usage, it pays to keep an eye on your balance as you experiment; you can top up again at any of the listed amounts whenever you need more headroom.

Once the client connects, you can switch between Sonnet, Opus and Haiku models by changing the model id, without changing your endpoint or your key.

When to use Sonnet 5, and what it costs in practice

Use Claude Sonnet 5 as your default for routine coding work: refactors, feature work, debugging, test generation, everyday agent loops. It is the middle rung, priced well below the reference official list price while staying in the same family as the rest of the Claude range.

Switch to Claude Opus 5.5 when the task genuinely needs heavier reasoning and the output is worth the higher rate. Switch to Claude Haiku 4.5 for short, mechanical, high-volume calls where a faster, cheaper response is the point.

Here is a worked example. Claude Sonnet 5.5, 3M input plus 0.5M output tokens without cache, costs $6.11 (¥44) on 59API. At the official list price of $11 (about ¥79.2), 59API is about 56% of list price.

Now imagine the same shape of workload on Claude Haiku 4.5: 5M input plus 1M output tokens without cache costs $3.4 (¥24.5) on 59API, versus an official list price of $10 (about ¥72), so 59API is about 34% of list price.

That is the practical argument for the ladder. Pick the model the task deserves, then let the relay keep the per-token bill readable.

Pay-as-you-go first, cards when your usage becomes predictable

Start with the prepaid balance. It has no monthly fee, it never expires, and it is charged per request by real token usage, which makes it easy to validate a workload before committing to anything larger.

When your usage becomes steady, 59API offers optional cards. Each card has its own key, can only call that family's models, and is paid only from the card. 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.

For Claude, the C-PRO Starter Edition (30 days) is $83.19 (¥599), with quota $610 and a weekly cap $230; it drains at the card's metering price × 2.4, and its reference value at official list prices is about $169.44 (¥1220).

For heavier Claude runs, the C-PRO Standard Edition (30 days) is $152.64 (¥1099), quota $1100, weekly cap $410, draining at the card's metering price × 2.4, with a reference value at official list prices of about $305.56 (¥2200).

Either way, the workflow is the same: top up, connect Claude Code or Claude Desktop with the two settings above, and pick Sonnet 5 for the work in front of you.

接入文档

准备好开始了吗?

一个 Key 接入 Claude、GPT 等模型,按真实 token 计费,没有月费。注册后即可创建 API 密钥,每个模型的单价都在价格页。

免费注册 价格