DeepSeek V4 Flash on 59API: API relay rates and setup
The problem: one model, one key, and a bill you can actually predict
Most developers do not struggle because a model is missing. They struggle because every model lives behind a different account, a different key, and a different billing relationship. You wire one client for one provider, then discover that the tool you want to use expects another protocol entirely. Then the invoice arrives and you cannot tell which run of code produced it.
59API removes that fragmentation. It is an independent third-party AI API relay, and one account gives you one API key and one API host: https://api.59api.com. From that single endpoint you can reach DeepSeek, GPT, Claude, Gemini and other models. You are not switching between vendors in the sense of juggling separate sign-ups; you are pointing one base URL at one host and changing the model id when you want to change models.
Billing follows real token usage. There is no monthly fee, the balance never expires, and monthly and weekly cards are optional rather than required. For a developer who wants to try a model without committing to a subscription, that structure matters. You top up, you send requests, and the balance moves by the tokens you actually consumed.
This guide focuses on one model: DeepSeek V4 Flash, with the model id deepseek-v4-flash. It is a straightforward introduction for teams and solo builders who want a clear rate card, exact setup values, and an honest answer about when a different DeepSeek tier is the better fit.
What DeepSeek V4 Flash costs on 59API
All rates on 59API are quoted per 1 million tokens, billed in CNY, with USD shown at ¥7.2 = $1. DeepSeek V4 Flash is priced as follows:
- Input: $0.2778 (¥2) per 1 million tokens
- Output: $1.11 (¥8) per 1 million tokens
- Cache read: $0.006944 (¥0.05) per 1 million tokens
That cache read rate is the number most people skip past, and it is the one that matters most in repetitive workloads. If your application re-reads the same context over and over, the per-token cost of those reads stays very low. Output is the expensive side of the ledger, as it usually is, so a design that keeps responses concise pays for itself.
For comparison, 59API also lists DeepSeek V4 Pro at $1.25 (¥9) input, $3.75 (¥27) output and $0.0417 (¥0.3) cache read per 1 million tokens. Two other options sit lower on the input side: MiniMax M3 at $0.1389 (¥1) input and $0.5556 (¥4) output, and Qwen3.7 Plus at $0.1389 (¥1) input and $0.4167 (¥3) output. Cache reads on those two are $0.0278 (¥0.2) and $0.0417 (¥0.3) respectively.
Because these are metered prices rather than list prices, the only honest way to compare is against your own traffic. Take a real request count from your logs, estimate input and output tokens, and multiply. The rate card does the arithmetic once you supply the workload.
Setup: base URL, model id, and the client that fits
DeepSeek models connect through the OpenAI-compatible path on 59API. The base URL is https://api.59api.com/v1, and the chat endpoint is https://api.59api.com/v1/chat/completions. Codex, OpenAI SDKs, cURL and OpenAI-compatible clients such as Cursor, Cherry Studio, Cline and OpenCode all work with GPT, DeepSeek and other non-Claude, non-Gemini models.
Set the base URL, point the request at the model id deepseek-v4-flash, and supply your key. In an OpenAI SDK the shape is familiar: the base URL changes, the key changes, the model name changes. In cURL, the request goes to https://api.59api.com/v1/chat/completions with your key in the authorization header. Nothing else about your request format has to change.
Two boundaries are worth stating plainly, because getting them wrong wastes an afternoon. Claude models work only through the genuine Claude Code or Claude Desktop client, version 2.1.285 or newer, and never through the OpenAI SDK, cURL or other clients. Gemini models use Google's native protocol only through Gemini CLI, and they are not available on /v1/chat/completions. DeepSeek sits on the opposite side of that line: it belongs with GPT and other non-Claude, non-Gemini models, so the OpenAI-compatible route is the correct one.
Start with one short request, confirm the response, then add your application logic. That order keeps the debugging surface small and the first balance movement easy to reconcile against the rate card above.
When DeepSeek V4 Flash fits, and when V4 Pro earns its price
Model choice is not a loyalty decision. It is a workload decision, and the rate card is where you make it. DeepSeek V4 Flash is a sensible default for the large category of work that sends input, receives output, and needs the result delivered without ceremony: classification and routing, structured extraction from documents, summarisation, drafting, and high-volume internal tooling. The input rate of $0.2778 (¥2) and output rate of $1.11 (¥8) keep those runs inexpensive per 1 million tokens, and the cache read rate of $0.006944 (¥0.05) helps when prompts repeat.
DeepSeek V4 Pro costs more on every line: $1.25 (¥9) input, $3.75 (¥27) output, $0.0417 (¥0.3) cache read. That premium is worth considering when the output quality of the task carries more value than the token count, such as complex reasoning work or code generation where rework is expensive. There is no official list price for DeepSeek models, so there is no published discount percentage to quote. The comparison is yours to make with your own data.
A practical pattern is to start on DeepSeek V4 Flash, measure where quality falls short, and route only those cases to DeepSeek V4 Pro. The same account, key and host handle both, so the switch is a model id change rather than a new integration. If you want a third reference point, MiniMax M3 and Qwen3.7 Plus are both available on the same endpoint at lower input and output rates, which makes side-by-side comparison straightforward to run.
Since 59API charges by real token usage, you can evaluate models on live traffic instead of estimates. That is the argument for a relay in one sentence: the decision becomes measurable.
Paying for usage: prepaid balance, top-ups, and cards
59API uses a prepaid balance model. You top up, requests are charged per request based on real token usage, and there is no monthly fee. Your balance never expires, which means an unused top-up is not a deadline you have to rush to spend. Top-up amounts are ¥10, ¥50, ¥100, ¥200, ¥500 and ¥1000, paid by WeChat Pay or bank card, and invoices are available.
DeepSeek requests draw on that wallet balance. Optional monthly and weekly cards are a separate mechanism, and it is important to understand how they behave before you choose one. 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.
The available cards cover the Claude and GPT families rather than DeepSeek, so a DeepSeek workload is a straightforward pay-as-you-go case on 59API. Start with a modest top-up, run your real prompts, and watch the balance move. If your traffic pattern changes, you can adjust with another top-up rather than renegotiating a subscription.
One account, one key, one host, and a rate card you can read in a minute. That is the whole pitch for trying DeepSeek V4 Flash on 59API: point your existing OpenAI-compatible client at https://api.59api.com/v1, send deepseek-v4-flash, and let the token meter tell you what the model actually costs in your hands.
¿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