59API

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

59API FAQ: Claude Haiku 4.5 billing on an API relay

मूल्य · EN · 2026-11-07

How does 59API bill for API usage?

The first question developers ask about an API relay is rarely about model quality. It is about the meter: what gets charged, when it gets charged, and whether the money you paid is still there next month. 59API answers with a prepaid balance charged per request according to real token usage. There is no monthly fee, and your balance never expires, so funds you do not spend this week are still available when you need them next week. That makes spending predictable for a solo developer shipping a side project and for a team running production traffic against the same account.

Everything runs through one account and one API key, pointed at one API host, https://api.59api.com. You choose the model per request and the balance follows you, whether the call is routed through Claude Code, Codex, an OpenAI SDK, cURL, or a supported client. Prices are quoted per 1 million tokens, and billing is settled in CNY, with USD figures shown at ¥7.2 = $1. That single structure means you can read a rate card, multiply it by your expected token volume, and know roughly what a request will cost before you send it.

Because usage is charged as it happens rather than invoiced later, the practical habit is simple: top up, watch the balance, and treat the rate card as a live cost model. If a particular model is too expensive for your loop, switch models on the same key instead of renegotiating a contract.

What top-up options does 59API offer?

Top-ups on 59API start small and scale up. The available amounts are ¥10, ¥50, ¥100, ¥200, ¥500 and ¥1000, paid by WeChat Pay or bank card. Invoices are available, which matters if you are reimbursing an expense or keeping a clean record for a company. Because the balance is prepaid and charged per request, a small top-up is a perfectly reasonable way to test your integration before committing to a larger one — you are not signing up for a subscription, and there is no monthly fee waiting behind you.

There is one rule worth internalising early: a balance key and a card key are separate things. If you top up your wallet and call a model, the charge comes from the wallet. If you activate a card, that card has its own key and pays for its own usage. A card never falls back to wallet balance, and a balance key never draws on a card. Keeping them straight avoids the confusing situation where a request fails even though funds are sitting in your account.

For most developers, the sequence is straightforward: add a modest amount, run a handful of requests, check the token-level charges, then top up again in whatever size matches your actual usage. The balance carries over indefinitely, so there is no pressure to spend it quickly. That makes 59API a practical API relay for both a first integration and a sustained workload.

What do Claude Haiku 4.5 and other models cost per request?

Per-token pricing only matters once you know your token volume. A useful starting point is Claude Haiku 4.5, which on 59API is listed at $0.3472 (¥2.5) for input, $1.67 (¥12) for output and $0.0278 (¥0.2) for cache read, per 1 million tokens. Claude models work only through the genuine Claude Code or Claude Desktop client, version 2.1.285 or newer, using ANTHROPIC_BASE_URL=https://api.59api.com and ANTHROPIC_AUTH_TOKEN=YOUR_59API_KEY.

Compare that with GPT-6.1 Sol at $0.1847 (¥1.33) input and $0.9264 (¥6.67) output, or MiniMax M3 at $0.1389 (¥1) input and $0.5556 (¥4) output. For a GPT-family model through Codex, the OpenAI SDKs, cURL, or OpenAI-compatible clients such as Cursor, Cherry Studio, Cline and OpenCode, use base_url https://api.59api.com/v1 and the chat endpoint https://api.59api.com/v1/chat/completions.

Two hypothetical examples show the shape of the bill. GPT-6.1 Sol with 5M input and 1M output tokens without cache costs $1.85 (¥13.32) on 59API, about 9% of the official list price of $20 (about ¥144). Claude Haiku 4.5 with 5M input and 1M output tokens without cache costs $3.4 (¥24.5) on 59API, about 34% of the official list price of $10 (about ¥72). These are reference comparisons against list prices, not a claim about any particular workload.

Should you use a monthly or weekly card instead?

Cards are optional on 59API, and they suit a specific habit: heavy, predictable usage inside a fixed window. A card has its own key, can only call that model family, and is paid only from the card. Unused quota does not roll over, and card quota and caps are metering units written in $, not official list-price dollars.

For example, the weekly C-PRO $290 (Claude, 7 days) is priced at $40.14 (¥289), with quota $290 and a weekly cap of $290, draining at the card's metering price × 2.4. Its reference value at official list prices is about $80.56 (¥580). For GPT, the weekly G-PRO $1100 (GPT, 7 days) is $40.56 (¥292), with quota $1100 and a weekly cap of $1100, draining at the card's metering price × 2.4, and a reference value at official list prices of about $305.56 (¥2200).

Monthly cards follow the same pattern, with a 30-day window and, on some tiers, a weekly cap. The decision rule is straightforward: if your usage is steady enough to fill a card within its period, a card may suit you; if your usage is spiky or you want the balance to carry over, prepaid pay-as-you-go is the more flexible route. You can also mix them, because wallet and card keys are independent.

Refunds, referrals and connecting to 59API

Prepaid does not have to mean locked in. Unused balance can be refunded within 7 days of the top-up, minus what was used and payment-channel fees. Requests go through the Contact page and are handled within 3 business days. If you are still evaluating an API relay, that window gives you a defined way to ask for unused funds back.

Referrals are separate from billing but worth knowing. You earn 15% commission on what people you invite pay for top-ups and cards, and 5% on what their invitees pay. Commission can be withdrawn to Alipay from ¥50 or moved to your API balance, which means referral earnings can offset your own usage.

To connect, create one account, take one API key, and point your client at https://api.59api.com. Claude Code and Claude Desktop use ANTHROPIC_BASE_URL=https://api.59api.com and ANTHROPIC_AUTH_TOKEN=YOUR_59API_KEY for Claude models only. GPT, DeepSeek and other non-Claude, non-Gemini models use base_url https://api.59api.com/v1 with https://api.59api.com/v1/chat/completions. Gemini models use 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.

Start with a small top-up, send a test request, and read the token charges. That is the fastest way to see whether 59API fits the way you actually build.

दस्तावेज़

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

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

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