Claude Haiku 4.5 pricing and pay-per-token on 59API
Why a flat subscription feels wrong for coding work
Most AI subscriptions assume a steady rhythm: the same usage every month, billed on the same date. Coding work rarely behaves that way. A week of refactoring can mean thousands of requests, followed by a quiet fortnight spent reading documentation, reviewing a pull request, or fixing one stubborn bug. A fixed plan rewards the busy month and quietly penalises the quiet one. You either keep paying for capacity you are not using, or you ration the tool exactly when a deadline arrives.
Pay-per-token flips that assumption. Instead of buying a monthly allowance, you fund a prepaid balance and pay for the tokens your requests actually consume. On 59API, there is no monthly fee, and the balance never expires. A heavy release week can draw heavily on the balance without triggering a plan change, and a light month leaves the remaining funds there for the next one.
This model fits uneven workloads for a simple reason: usage becomes a variable cost rather than a fixed commitment. The question is no longer whether you will use enough to justify a subscription. It is whether the current request is worth its token usage.
That distinction matters for developers who switch between small utility prompts and long, context-heavy sessions. It also leaves room for a second option: optional cards for teams or individuals who prefer a defined quota for a fixed window. The point is not that one structure fits everyone. The point is that your usage pattern, not a calendar, should decide.
How 59API meters and charges
59API is an independent third-party AI API relay, not an official channel from any model provider. One account gives you one API key and one API host: https://api.59api.com. From there, you can reach Claude, GPT, Gemini, DeepSeek and other models through one connection.
Money moves the way most developers expect. You top up by WeChat Pay or bank card, and invoices are available. Top-up amounts are ¥10, ¥50, ¥100, ¥200, ¥500 and ¥1000. Each request is billed by real token usage, with prices quoted per 1 million tokens. Billing is in CNY, and USD figures are shown at ¥7.2 = $1.
Because the balance does not expire, a top-up behaves like a refillable meter rather than a coupon. If you are between projects, nothing is burning down. If a new task arrives, you are already set up.
Cards sit alongside this rather than replacing it. A card has its own key, is limited to one model family, 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. Keeping those two rails separate makes the accounting predictable: wallet requests use wallet funds, card requests use card quota.
For a developer with a spiky workload, that separation is the practical benefit. You can keep the default pay-as-you-go path for everything irregular, and use a card when a specific block of work justifies a known quota.
Rates that make the numbers legible
Pay-per-token only makes sense if the per-token rates are clear. 59API prices are quoted per 1 million tokens, with billing in CNY and USD shown at ¥7.2 = $1. A few examples show the range:
- Claude Haiku 4.5 (
claude-haiku-4-5-20251001): input $0.3472 (¥2.5), output $1.67 (¥12), cache read $0.0278 (¥0.2). - GPT-6.1 Sol (
gpt-6.1-sol): input $0.1847 (¥1.33), output $0.9264 (¥6.67), cache read $0.0375 (¥0.27). - Claude Sonnet 5.5 (
claude-sonnet-5-5): input $1.11 (¥8), output $5.56 (¥40), cache read $0.0972 (¥0.7).
Now apply those rates to a hypothetical month. GPT-6.1 Sol with 5M input plus 1M output tokens, without cache, costs $1.85 (¥13.32) on 59API. At the official list price of $20 (about ¥144), that is about 9% of list price.
Claude Haiku 4.5 with 5M input plus 1M output tokens, without cache, costs $3.4 (¥24.5) on 59API, against an official list price of $10 (about ¥72), or about 34% of list price. For a heavier Claude session, Claude Sonnet 5.5 with 3M input plus 0.5M output tokens, without cache, costs $6.11 (¥44), versus an official list price of $11 (about ¥79.2), about 56% of list price.
The pattern is what matters. A quiet month stays cheap, and a heavy month is still metered rather than billed as an all-or-nothing plan. Official list prices are reference prices only; 59API is an independent third-party relay.
When an optional card fits better
Pay-as-you-go is the default, but it is not the only option. 59API offers optional monthly and weekly cards, and they make sense when you can see a block of concentrated work coming.
Consider the C-PRO $290 weekly card (Claude, 7 days): $40.14 (¥289), quota $290, weekly cap $290. It drains at the card's metering price × 2.4, and its reference value at official list prices is about $80.56 (¥580). Quota and caps are card metering units written in $, not official list-price dollars, so they should not be read as direct list-price comparisons.
Monthly cards follow the same pattern. The C-PRO Starter edition (Claude, 30 days) costs $83.19 (¥599), with quota $610 and weekly cap $230. The C-PRO Standard edition (Claude, 30 days) is $152.64 (¥1099), with quota $1100 and weekly cap $410.
Three rules keep this predictable. First, a card key calls only its own model family, so a Claude card does not serve GPT. Second, it is paid only from the card, with no fallback to wallet balance, and a balance key never draws on card quota. Third, unused quota does not roll over.
For an uneven workload, the practical split is simple: use the wallet for scattered, unpredictable usage, and consider a card for a sprint you know will be heavy. You are not forced to commit to a subscription for the whole month because one week is intense.
Connect in a few settings
Connecting is deliberately small. For Claude Code or Claude Desktop, set ANTHROPIC_BASE_URL=https://api.59api.com and ANTHROPIC_AUTH_TOKEN=YOUR_59API_KEY. Claude models work only in the genuine Claude Code or Claude Desktop client, version 2.1.285 or newer, never through the OpenAI SDK, cURL or other clients.
For Codex, OpenAI SDKs, cURL and OpenAI-compatible clients such as Cursor, Cherry Studio, Cline and OpenCode, use base_url https://api.59api.com/v1 and chat endpoint https://api.59api.com/v1/chat/completions. Those clients cover GPT, DeepSeek and other non-Claude, non-Gemini models only.
Gemini CLI uses Google's native protocol: set GOOGLE_GEMINI_BASE_URL=https://api.59api.com and GEMINI_API_KEY=YOUR_59API_KEY. Gemini models do not work on /v1/chat/completions.
Once connected, top up only what you want to spend. The balance never expires, so there is no clock running on unused funds and no monthly fee to forget about. If your workload is uneven, that is the point: pay for the tokens you use, keep the rest for the next burst, and reach for a card only when a defined quota fits the job better. 59API gives you both rails, and lets the workload decide which one you ride.
Ready to get started?
One key for Claude, GPT and more, billed by real token usage with no monthly fee. Sign up to create your API key; rates for every model are on the pricing page.
Sign up free Pricing