59API

← Volver a las guías

59API pay-as-you-go vs cards for Gemini CLI users

API · EN · 2026-11-14

The real choice is between unused subscription time and a balance you keep

Paying for AI access usually means choosing between two uncomfortable options: a subscription that bills you for months you might not use, or a prepaid plan where unused capacity quietly disappears. As a developer, you want a third option: pay for what you actually send, keep the remainder, and change your mind without a phone call.

That is the problem 59API was built to solve. 59API is an independent third-party AI API relay, not an official channel for any model vendor. One account gives you one API key and one API host, https://api.59api.com, and access to Claude, GPT, Gemini, DeepSeek and other models. You top up a prepaid balance, and each request is charged by real token usage. There is no monthly fee, and your balance never expires.

That last point matters more than it first sounds. A balance is not a rental. If you test a model for a week, decide it is not worth it, and move on, the money you loaded is still there. With optional monthly and weekly cards, the tradeoff changes: cards add structure, caps and a separate key, but they also introduce rules about how quota drains. The right choice depends on how you work, not on a slogan.

So here is the decision in practical terms: what pay-as-you-go actually gives you, what a card changes, and how to wire either one up, including Gemini CLI, which has its own protocol requirements.

How pay-as-you-go works on 59API

59API's default model is the simplest one to explain. You top up, you send requests, and the platform deducts the cost of the tokens you actually used. Top-ups come in ¥10, ¥50, ¥100, ¥200, ¥500 and ¥1000, paid by WeChat Pay or bank card, and invoices are available. Billing is in CNY, with USD figures shown at ¥7.2 = $1.

Because there is no monthly fee, a small top-up is a legitimate way to start. It is not a commitment to a plan. Your balance sits there until you use it, and it never expires. If you run Gemini CLI, the setup is two variables:

Gemini models use Google's native protocol only, so they are not OpenAI-compatible and do not work on /v1/chat/completions. Keep that boundary in mind and your Gemini CLI configuration stays simple.

For GPT, DeepSeek and other non-Claude, non-Gemini models, use base_url https://api.59api.com/v1 and the chat endpoint https://api.59api.com/v1/chat/completions. Codex, OpenAI SDKs, cURL and OpenAI-compatible clients such as Cursor, Cherry Studio, Cline and OpenCode fit into that path. One limitation is worth stating plainly: Claude models work only through the genuine Claude Code or Claude Desktop client (Claude Code 2.1.285 or newer), never through the OpenAI SDK, cURL or other clients.

What per-token pricing looks like in practice

Pay-as-you-go only makes sense if the per-token pricing is legible. On 59API, prices are per 1 million tokens, and you can see input, output and cache read rates for each model. A few examples: Gemini 2.5 Flash is $0.2083 (¥1.5) input and $1.67 (¥12) output, with cache read at $0.0208 (¥0.15). Gemini 3.1 Pro is $1.39 (¥10) input and $8.06 (¥58) output. MiniMax M3 is $0.1389 (¥1) input and $0.5556 (¥4) output.

Worked examples make the difference easier to judge. For GPT-6.1 Sol, 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. For Claude Haiku 4.5, 5M input plus 1M output tokens without cache costs $3.4 (¥24.5) on 59API; at the official list price of $10 (about ¥72), that is about 34% of list price.

These are reference comparisons against official list prices, not a promise about your workload. Your real bill depends on your traffic, your context length, and how much you reuse cached tokens. But the shape of the billing is straightforward: no monthly fee, no idle capacity, and a balance you can top up again whenever it runs low. For a developer who is still learning which models fit which tasks, that flexibility is usually worth more than a fixed allowance.

What an optional card changes

Cards are optional on 59API, and they behave differently from a wallet balance. 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 they should not be read as direct price comparisons.

Here is a small sample of what is available:

There are also weekly Claude cards and enterprise tiers. Card quota drains at the card's metering price × 2.4. The reference value at official list prices is shown for orientation: about $305.56 (¥2200) for the weekly G-PRO $1100, about $169.44 (¥1220) for C-PRO Starter, and about $652.78 (¥4700) for C-MAX Standard. Note that the Claude and GPT cards cover their own model families only, so a Gemini CLI workflow is funded from your balance rather than from a card.

How to choose, and how to start

Here is the decision in short form. If your usage is unpredictable, you are testing several models, or you only use a Gemini CLI workflow, pay-as-you-go balance is the natural fit: no monthly fee, no expiry, and top-ups from ¥10 to ¥1000 whenever you want more. If your usage is heavy and predictable within a model family, a monthly card can give you a larger quota and a weekly cap, at the cost of a fixed term and no rollover. If you want a short burst, the weekly cards exist for that too.

Risk is lower with balance than most developers expect. 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. So a small first top-up is a reversible way to see how your real traffic behaves.

Whichever route you pick, the plumbing on 59API stays the same: one account, one API key, one API host at https://api.59api.com. For Gemini CLI, set GOOGLE_GEMINI_BASE_URL and GEMINI_API_KEY. For GPT and DeepSeek through Codex, OpenAI SDKs, cURL or OpenAI-compatible clients, use the /v1 base URL and /v1/chat/completions. For Claude, use the genuine Claude Code or Claude Desktop client. Start with a small balance, watch your first few requests, and let the numbers decide whether a card makes sense for you.

Docs

¿Listo para empezar?

Una sola clave para Claude, GPT y más, con facturación por tokens reales y sin cuota mensual. Regístrate para crear tu clave API; las tarifas de cada modelo están en la página de precios.

Registro gratis Precios