59API

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

59API FAQ: referrals, withdrawals, Claude Opus 5.5 setup

API · EN · 2026-11-19

Why developers ask about referrals before they switch

Most developers do not arrive at 59API looking for a referral program. They arrive because they want one account and one API key that can reach Claude, GPT, Gemini, DeepSeek and other models, and they want to pay only for what they actually use. The referral question comes second: once the account works, people want to know whether the earning opportunity is real, how it is calculated, and how the money leaves the platform.

Here is the short version. 59API is an independent third-party AI API relay, not an official channel of any model provider. One account gives you one API key and one API host, https://api.59api.com. You keep a prepaid balance, and every request is charged according to real token usage. There is no monthly fee, and your balance never expires. Monthly and weekly cards are optional, so you can start small and decide later.

Billing is in CNY, with dollar figures shown at ¥7.2 = $1, so every number here is easy to check. This walkthrough covers referral commissions, withdrawals, refunds, and the exact setup for Claude Opus 5.5 and the other model families.

How referral commissions are calculated

The referral programme on 59API pays two levels of commission, and the difference is simple once you see it in writing. You earn 15% on what the people you invite pay. That includes their top-ups and their card purchases, so both wallet funding and card orders count.

You also earn 5% on what their invitees pay. In other words, the referral tree pays you on the first level at 15% and on the second level at 5%. You do not need to guess whether a card purchase or a balance top-up qualifies: both are included in the first-level figure.

Two practical notes. First, commission is earned on payments, not on model usage, so a referral who tops up once and never calls the API still generates commission on that top-up. Second, there is no monthly fee attached to your own account, so referral earnings sit alongside a prepaid balance that never expires rather than being folded into a subscription.

If you want to try this, treat it as a by-product of using a relay you already like. Invite a teammate who needs Claude Code, a colleague testing GPT through an OpenAI-compatible client, or a friend experimenting with DeepSeek. Each of them can work from the single-key setup described later in this guide.

Getting referral money out: Alipay or API balance

There are two ways to use the commission you earn, and you choose based on what you want to do with it. You can withdraw it to Alipay from ¥50 or more, or you can move it straight into your API balance and spend it on requests.

Moving commission into the API balance is the fastest route for a developer who is already paying for tokens. It keeps everything in one place: the same balance that funds your Claude, GPT, Gemini and DeepSeek calls also funds your own usage. There is no monthly fee, so that balance does not shrink simply because a month went by, and it never expires.

Withdrawing to Alipay is the option for anyone who wants cash outside the platform. The threshold is ¥50, and billing is in CNY, with dollar figures shown at ¥7.2 = $1. Because referral commission is based on what your invitees actually pay, the amount that reaches your balance or your Alipay account follows their top-ups and card purchases rather than a fixed monthly reward.

Either way, the process belongs to the same account you use for the API. You do not need a second wallet, a separate vendor, or a subscription just to collect what you have earned.

Top-ups, refunds, and the card rules worth knowing

Top-up amounts are ¥10, ¥50, ¥100, ¥200, ¥500 and ¥1000, paid by WeChat Pay or bank card. Invoices are available, which matters if your work needs a clean receipt. Because 59API charges per request by real token usage and the balance never expires, a small first top-up is a low-risk way to test the setup described below.

Refunds are straightforward: 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. Keep that window in mind, and keep the top-up receipt handy.

Cards are optional and behave differently from your wallet. A 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, so treat them as metering figures rather than a comparison with provider pricing.

Setting up Claude Opus 5.5 in Claude Code or Claude Desktop

Claude models work only through the genuine Claude Code or Claude Desktop client, and Claude Code 2.1.285 or newer is required. They do not work through the OpenAI SDK, cURL or other clients, so the setup below is the only supported path.

Set two values: ANTHROPIC_BASE_URL=https://api.59api.com and ANTHROPIC_AUTH_TOKEN=YOUR_59API_KEY. That is the whole configuration. Your key comes from the same 59API account that holds your prepaid balance, so a single credential covers Claude and the rest of the model families.

For Claude Opus 5.5, the model id is claude-opus-5-5. Current rates per 1 million tokens are input $1.53 (¥11), output $7.22 (¥52) and cache read $0.0694 (¥0.5), with a reference official list price of $4 / $20 for input and output. A hypothetical request of 2M input plus 0.5M output tokens without cache costs $6.67 (¥48) on 59API, against an official list price of $18 (about ¥129.6), so 59API is about 37% of list price.

Top up, paste the two values, restart the client, and run your first prompt. If something fails, check the client version first: Claude Code 2.1.285 or newer, and the genuine client rather than a look-alike.

GPT, DeepSeek and Gemini: the rest of the setup

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 only. Use base_url https://api.59api.com/v1 and chat endpoint https://api.59api.com/v1/chat/completions. Claude and Gemini are excluded from these clients by protocol.

Gemini models use Google's native protocol only, through Gemini CLI. Set GOOGLE_GEMINI_BASE_URL=https://api.59api.com and GEMINI_API_KEY=YOUR_59API_KEY. Gemini models are not OpenAI-compatible and do not work on /v1/chat/completions.

Rates are per 1 million tokens. GPT-6.1 Sol (gpt-6.1-sol) is input $0.1847 (¥1.33), output $0.9264 (¥6.67) and cache read $0.0375 (¥0.27). DeepSeek V4 Flash (deepseek-v4-flash) is input $0.2778 (¥2), output $1.11 (¥8) and cache read $0.006944 (¥0.05). Hypothetically, 5M input plus 1M output tokens on GPT-6.1 Sol without cache costs $1.85 (¥13.32) on 59API, versus an official list price of $20 (about ¥144), so 59API is about 9% of list price.

That is the whole decision: one account, one key, one host, prepaid per-token pricing, and a referral programme paying 15% on your invitees' payments and 5% on the next level, withdrawable to Alipay from ¥50 or movable to your API balance.

दस्तावेज़

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

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

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