DeepSeek V4 Pro API proxy on 59API: rates and setup
The problem: one model, too many ways to wire it up
You have decided to use DeepSeek V4 Pro. That is the easy part. The friction starts immediately after: which endpoint do you point at, which key format does it expect, which client can actually speak to it, and how do you know what a request will cost before the invoice lands? Most developers end up holding several provider accounts, several API keys and several configuration files just to compare models or route traffic between them.
Cost visibility is the other half of the problem. Subscription-style plans tie you to a monthly commitment whether you use them or not, while usage plans can leave you guessing at the end of the month. 59API takes a different route: it is an independent third-party AI API relay where you get one account, one API key and one API host at https://api.59api.com, with access to Claude, GPT, Gemini, DeepSeek and other models. You top up a prepaid balance, and each request is charged according to the real token usage it consumes. There is no monthly fee, and the balance never expires.
This guide is deliberately narrow. It covers DeepSeek V4 Pro specifically: what it costs per 1 million tokens, how to configure it, and how to decide whether it or the lower-priced DeepSeek V4 Flash is the right choice for your workload. If you are evaluating an API proxy for a real product rather than a weekend demo, you want those three answers before you write the first integration.
What DeepSeek V4 Pro actually costs
On 59API, prices are quoted per 1 million tokens and billed in CNY, with USD figures shown at ¥7.2 = $1. The current rates for the two DeepSeek V4 tiers are straightforward:
- DeepSeek V4 Pro (
deepseek-v4-pro): input $1.25 (¥9), output $3.75 (¥27), cache read $0.0417 (¥0.3). - DeepSeek V4 Flash (
deepseek-v4-flash): input $0.2778 (¥2), output $1.11 (¥8), cache read $0.006944 (¥0.05).
Read those numbers as three different levers rather than one price. Output is the expensive direction on both models, so a workload that generates long responses will cost meaningfully more than one that ingests a lot of context and answers briefly. Cache reads carry the smallest per-token rate on both models, which makes them worth understanding before you optimise anything else. If your application reuses the same context across calls, cached reads are the part of the bill you can most directly influence.
It is also worth remembering that an official list price does not exist for DeepSeek models, so there is no list-price saving to quote here. What 59API does publish is a clean, current per-token rate. For models where a reference price does exist, the contrast is clear: GPT-6.1 Sol at 5M input plus 1M output tokens without cache costs $1.85 (¥13.32) on 59API, against an official list price of $20 (about ¥144), so 59API is about 9% of list price. That example is not a DeepSeek quote, but it shows the shape of the pricing model you are signing up for.
Setup: two settings and the right client
DeepSeek models use the OpenAI-compatible path on 59API. That means the base URL is https://api.59api.com/v1 and the chat endpoint is https://api.59api.com/v1/chat/completions. Your request body carries the model id deepseek-v4-pro, and your key is the single 59API key tied to your account.
Because the protocol is OpenAI-compatible, the client list is long: Codex, OpenAI SDKs, cURL and OpenAI-compatible clients such as Cursor, Cherry Studio, Cline and OpenCode all work with DeepSeek and other non-Claude, non-Gemini models. If your team already has an OpenAI-shaped integration, the migration is mostly configuration rather than a rewrite.
Two boundaries are worth stating plainly, because they save hours of debugging. 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. Gemini models use Google's native protocol only, via Gemini CLI, and do not work on /v1/chat/completions. DeepSeek sits outside both restrictions, so for this model your OpenAI-compatible tooling is the correct path.
A practical habit: keep the key in an environment variable rather than in source control, and start with a single small request before wiring it into a queue or a background job. Once one call succeeds against https://api.59api.com/v1/chat/completions, the rest of your integration is ordinary request handling.
When to choose Pro, and when Flash is enough
Start with the cost gap, because it is the number you can verify today. DeepSeek V4 Flash costs $0.2778 (¥2) per 1 million input tokens and $1.11 (¥8) per 1 million output tokens, against $1.25 (¥9) and $3.75 (¥27) for DeepSeek V4 Pro. Cache reads are $0.006944 (¥0.05) for Flash and $0.0417 (¥0.3) for Pro. If your traffic volume is high and each response is short, the Flash tier keeps the line item small.
That arithmetic is not the whole decision, though. The sensible way to choose is to run your own evaluation. Take a representative set of prompts from your actual product, send them through both model ids on 59API, and compare output quality against your acceptance criteria. The model that passes your bar at the lower rate is the one to default to; the other is the fallback for the cases where it does not.
Consider a hypothetical: a support assistant that classifies short inbound messages and returns a brief reply. Input and output volumes are both high, but output stays tiny, so Flash may cover the workload at a lower cost per request. Now consider a hypothetical code-review assistant that receives long repository context and writes detailed explanations. Output tokens dominate the bill, and you have a strong reason to test Pro first.
Because both tiers sit behind the same key, host and billing account on 59API, switching between them is a model-id change rather than an account migration. That makes it realistic to keep one in production and route a slice of traffic to the other while you measure.
Paying for it: prepaid balance, no subscription
59API bills against a prepaid balance topped up in advance, and your balance never expires. That matters for planning: unused funds stay available, so a small top-up for testing does not disappear if you pause work for a week. Top-ups come in ¥10, ¥50, ¥100, ¥200, ¥500 and ¥1000 amounts, paid by WeChat Pay or bank card, and invoices are available for those who need them.
Monthly and weekly cards are optional rather than required. Each card has its own key, can call only 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. The card catalogue covers Claude and GPT families, so for DeepSeek work the prepaid balance is the route to take, with cards relevant only if you later add Claude or GPT traffic alongside it.
One more practical note on card economics: quota and caps are card metering units written in $, not official list-price dollars, so they should not be read as direct list-price comparisons.
Put together, the offer is simple. One account, one key, one host, per-request billing by real token usage, and published rates for DeepSeek V4 Pro of $1.25 (¥9) input and $3.75 (¥27) output per 1 million tokens. Top up the smallest amount that fits your test budget, point your OpenAI-compatible client at https://api.59api.com/v1, and let the first real request tell you how the model behaves in your product.