59API

← Voltar aos guias

GPT-6 Astra pricing on 59API: input vs output tokens

Modelos · EN · 2026-11-11

Why the input and output split decides your API bill

Most developers estimate an API bill the wrong way: they look at the model name and forget the token mix. A request that reads a large file and returns three lines looks cheap. A request that generates thousands of words of code looks expensive. Both are charged the same way on 59API, an independent third-party AI API relay that gives you one account, one API key and one API host for 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.

So the practical question is simple: which side of the exchange carries the weight in your product? Input tokens are the material you send: system prompts, retrieved documents, chat history, tool output and code you paste in. Output tokens are what the model writes back: the answer, the diff, the generated function. Output tokens are typically the more expensive half of the price list, because generation is the expensive direction.

Read the rates as a ratio, not as a single number. If output costs several times input, then a chat assistant that sends long history and replies briefly behaves very differently from an agent that reasons in long chains and writes large patches. 59API charges the same real usage either way, so the model you pick and the token ratio you produce are the two levers you control.

What 59API charges, per 1 million tokens

All prices below are per 1 million tokens. Billing is in CNY, with USD figures shown at ¥7.2 = $1. Look at the input and output columns side by side before you commit to a model for a given task.

Two patterns jump out. First, output is consistently the expensive direction: on GPT-6 Astra, output is roughly five times the input rate, so a long answer costs far more than the context that prompted it. Second, cache reads are a fraction of the input rate on every model listed, which is why repeated context is worth thinking about. If your workload can reuse a stable prompt prefix, the cache read column is the number to watch. Every one of these rates is visible on 59API before you send a request, so you can model the bill first and adjust later.

Two bills worked out with real numbers

Here is what a concrete month of usage looks like on 59API, using the same volumes you can reproduce in a log analyser.

GPT-6.1 Sol, 5M input + 1M output tokens without cache: $1.85 (¥13.32) on 59API. At official list price, the same volume is $20 (about ¥144), so 59API is about 9% of list price. This is the shape of a chat-heavy product: a large context window, a shorter reply, and a bill that stays small because input is priced low and cache is not needed.

Claude Sonnet 5.5, 3M input + 0.5M output tokens without cache: $6.11 (¥44) on 59API. At official list price the same volume is $11 (about ¥79.2), so 59API is about 56% of list price. Claude models on 59API 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, so plan the client before you plan the volume.

Compare the two and the lesson is visible: the same relay, two very different token ratios, two very different bills. Work out your own ratio first, then pick the model that fits it.

Where cache reads change the arithmetic

The third column deserves more attention than most developers give it. On GPT-6 Astra, a cache read is $0.0694 (¥0.5) per 1 million tokens against an input rate of $0.6944 (¥5). On GPT-6.1 Sol, cache read is $0.0375 (¥0.27) against input $0.1847 (¥1.33). On MiniMax M3, cache read is $0.0278 (¥0.2) against input $0.1389 (¥1). On DeepSeek V4 Flash, cache read is $0.006944 (¥0.05) against input $0.2778 (¥2).

For an agent that re-sends the same project context on every step, that gap is the difference between a comfortable bill and an uncomfortable one. For a one-shot request with no repeated context, cache reads do nothing for you, and the input and output rates are the whole story.

On 59API you are charged per request by real token usage, so the mix you actually send is the mix you pay for. There is no monthly fee to amortise and no subscription tier to guess at. If you are unsure, start with a small top-up, watch the token counts in your own logs, and adjust the prompt structure or the model. Gemini models are also available on 59API, but they use Google's native protocol through Gemini CLI only, so their input, output and cache-read rates are billed on the same per-token basis rather than through an OpenAI-compatible endpoint.

Pay per token or buy a card

59API gives you two ways to pay. The first is straightforward: top up by WeChat Pay or bank card at ¥10, ¥50, ¥100, ¥200, ¥500 or ¥1000, and let requests draw down that prepaid balance. Invoices are available, and unused balance can be refunded within 7 days of the top-up, minus what was used and payment-channel fees, with requests handled through the Contact page within 3 business days.

The second is an optional card. 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, and quota and caps are card metering units written in $, not official list-price dollars. For example, G-PRO 入门版 (GPT, 30 days) costs $83.19 (¥599), carries quota $2300 with a weekly cap $880, drains at the card's metering price × 2.4, and has a reference value at official list prices of about $638.89 (¥4600). Weekly and monthly cards are optional, so you can start purely on usage and add one when your workload becomes predictable.

To connect, set base_url to https://api.59api.com/v1 and the chat endpoint to https://api.59api.com/v1/chat/completions for GPT, DeepSeek and other non-Claude, non-Gemini models in Codex, OpenAI SDKs, cURL and compatible clients such as Cursor, Cherry Studio, Cline and OpenCode. Put your key in the usual place, then send one request and read the token counts. That single measurement tells you more about your bill than any pricing table, and on 59API it costs you the exact usage of one real call.

Docs

Pronto para começar?

Uma só chave para Claude, GPT e outros, com cobrança por tokens reais e sem mensalidade. Cadastre-se para criar sua chave API; as tarifas de cada modelo estão na página de preços.

Cadastro grátis Preços