Knowledge Base Sections ▾
Navigation
▸ Start here By rolesCategories
- Gonka Network Architecture: Sprint, Transfer Agents, DiLoCo
- Developers: How to Earn GNK
- Self-hosting: Step-by-step guide
- Choosing a GPU for Gonka: Hardware Recommendations
- Qwen3-235B: the model previously served by Gonka
- Kimi K2.6: a model previously hosted by Gonka
- MiniMax M2.7 API: pricing and free start
- DeepSeek V4 Flash 0731 API: Pricing and Free Start
- GLM-5.3 Flash API: Pricing and a Free Start
API and pricing
DeepSeek V4 Flash 0731 API: Pricing and Free Start
In short: DeepSeek V4 Flash 0731 is no longer available from DeepSeek itself. On September 10, 2026, its API moved to V4.1 Flash, and the old name deepseek-v4-flash now points to the new model — at $0.15 per million input tokens and $0.60 per million output tokens, and twice as expensive during peak hours. The 0731 build is still sold by OpenRouter providers — for example, DeepInfra at $0.06 and $0.18 — and by JoinGonka Gateway at $0.0062 and $0.019; with us it's served by the decentralized Gonka network.
New JoinGonka accounts get 3M free tokens, the API is compatible with OpenAI and Anthropic, and in the installer for Claude Code, Codex CLI, and OpenCode this model is set by default. Below — pricing with sources, what changed at DeepSeek, setup, and specs.
DeepSeek V4 Flash 0731 API price calculator
What your month on DeepSeek V4 Flash 0731 costs: on the official API, on the cheapest OpenRouter provider, and on JoinGonka. Everywhere — pay only for tokens, no subscription.
Example workload:
Chatbot or service: short history, responses of noticeable length, no cache considered.
| Where to pay | Per month |
|---|---|
| DeepSeek API (DeepSeek-V4.1-Flash)$0.15 input, $0.003 from cache · $0.60 output per 1MAt peak hours: $0.30 input · $1.20 outputDeepSeek currently sells a different model — DeepSeek-V4.1-Flash. | $6.00 |
| OpenRouter, cheapest provider (DeepInfra)DeepSeek V4 Flash 0731·$0.06 input, $0.015 from cache · $0.18 output per 1M | $2.10 |
| JoinGonka GatewayDeepSeek V4 Flash 0731·$0.0062 input · $0.019 output per 1MContext 380 000 tokens, output up to 32 768.Cache input — at the regular input price. | $0.22 |
Fine-tune the calculation
The resent part of a request — dialogue history, system prompt — costs less on official APIs and many providers. On JoinGonka all input is at one price, and the calculation accounts for that.
Work at DeepSeek peak hours
Peak hours for DeepSeek are on weekdays, excluding Chinese holidays: 01:00–04:00, 06:00–10:00 UTC. The price during these hours is shown in the API row above.
Free start: new JoinGonka accounts get 3M tokens, and the key is issued right after sign-up.
Prices outside JoinGonka verified on November 2, 2026 (DeepSeek prices · model status at DeepSeek · providers on OpenRouter). The JoinGonka price is pulled from the gateway API and updates automatically. Cache write fees charged by others are not included.
How Much Does DeepSeek V4 Flash API Cost: DeepSeek, OpenRouter, and JoinGonka
Prices per 1M tokens as of November 2, 2026:
| Where to buy | Model | Input | Cached input | Output |
|---|---|---|---|---|
| DeepSeek, off-peak | V4.1 Flash | $0.15 | $0.003 | $0.60 |
| DeepSeek, peak hours | V4.1 Flash | $0.30 | $0.006 | $1.20 |
| OpenRouter — DeepInfra | V4 Flash 0731 | $0.06 | $0.015 | $0.18 |
| OpenRouter — Relace | V4 Flash 0731 | $0.07 | $0.014 | $0.14 |
| JoinGonka Gateway | V4 Flash 0731 | $0.0062 | at input price | $0.019 |
DeepSeek's peak hours are on weekdays, excluding Chinese holidays, from 01:00 to 04:00 and from 06:00 to 10:00 UTC, that is 9:00–12:00 and 14:00–18:00 Beijing time. These have been in effect since August 17, 2026: during that time the price is double. With JoinGonka and OpenRouter providers, the price doesn't depend on the time of day.
The 0731 build on OpenRouter is sold by more than twenty providers, and the model card doesn't show the cheapest one. The cheapest of all are DeepInfra and Relace: the difference with them is about ×10 on input and ×8 on output.
DeepSeek has a very cheap cache — $0.003 per million tokens off-peak, cheaper than our input. But an agent's bill is also made up of output at $0.60 (during peak — $1.20) and input that misses the cache, so even for an agent that reads almost everything from cache, a month on JoinGonka usually comes out cheaper. And that comparison is already against a different, newer model.
What Changed at DeepSeek: Peak Hours and V4.1 Flash
- August 17, 2026. DeepSeek introduced peak hours: during Chinese working hours, the API price is double what it is the rest of the time.
- September 10, 2026. V4.1 Flash was released, and V4 Flash was retired from the API. The name
deepseek-v4-flashwas kept for compatibility, but requests to it are now served by the new model. - October 17, 2026. V4.1 Flash was updated to build 1017, the main model name in the API is now
deepseek-flash.
What this means in practice: code that calls deepseek-v4-flash at DeepSeek itself has been running on a different model since September. Responses, reasoning length, and agent behavior could have changed without a single edit in your project. If you need the 0731 build specifically, the one your prompts and agents are debugged on, it's available from OpenRouter providers and JoinGonka — with us under the exact identifier deepseek-ai/DeepSeek-V4-Flash-0731.
The lineup of models on the Gonka network also changes — by vote of the network participants. The current list is always returned by GET https://gate.joingonka.ai/v1/models.
How to Connect DeepSeek V4 Flash 0731 via API
1. Key. Sign up for JoinGonka Gateway and create a jg-… key in your dashboard. New accounts get 3M free tokens.
2. Request. The endpoint is https://gate.joingonka.ai/v1, the model is deepseek-ai/DeepSeek-V4-Flash-0731:
curl https://gate.joingonka.ai/v1/chat/completions \
-H "Authorization: Bearer jg-your-key" \
-H "Content-Type: application/json" \
-d '{"model": "deepseek-ai/DeepSeek-V4-Flash-0731", "messages": [{"role": "user", "content": "Hello!"}]}'If your code is already written against the DeepSeek API on the OpenAI SDK, only three lines change — the endpoint, the key and the model name:
from openai import OpenAI
client = OpenAI(api_key="jg-your-key", base_url="https://gate.joingonka.ai/v1")
response = client.chat.completions.create(
model="deepseek-ai/DeepSeek-V4-Flash-0731",
messages=[{"role": "user", "content": "Summarize this changelog in three bullet points: ..."}],
)
print(response.choices[0].message.content)3. Agents and editors. The installer sets up Claude Code, Codex CLI, OpenCode and other tools with a single command. Wherever it writes the config itself, DeepSeek V4 Flash is the default, and a flag switches an already-configured tool over to it:
npx @joingonka/setup --model deepseekFor Anthropic-compatible clients the endpoint is https://gate.joingonka.ai, without /v1. For how Claude Code runs on DeepSeek and what it costs per month, see the article "Claude Code cheaper".
DeepSeek V4 Flash 0731 specs in the API
V4 Flash is the lightweight model in the DeepSeek V4 family: an MoE with 284 billion parameters, of which about 13 billion are active per token, with open weights under the MIT license. Build 0731 is a retrained version dated July 31, 2026. By DeepSeek's own benchmarks on agentic tasks it beats even the preview of the flagship V4 Pro: Terminal Bench 2.1 — 82.7, DeepSWE — 54.4. In JoinGonka its working specs are:
- Context — 380,000 tokens, verified with a request of 381,000 input tokens. OpenRouter providers offer a window of up to 1M, network hosts are configured for 400,000, and we publish what we've verified.
- Response — up to 32,768 tokens — four times more than GLM-5.3 Flash and MiniMax M2.7.
- Reasoning and tool calling work over OpenAI- and Anthropic-compatible paths, including multi-step agent scenarios.
- Text only: the network doesn't accept images yet.
Models, their IDs and limits are in the Gonka API documentation, availability is on the gateway status page.
DeepSeek V4 Flash, GLM-5.3 Flash and MiniMax M2.7: which model to pick
| GLM-5.3 Flash | DeepSeek V4 Flash 0731 | MiniMax M2.7 | |
|---|---|---|---|
| Context in JoinGonka | 390,000 | 380,000 | 180,000 |
| Response up to | 8,192, including reasoning | 32,768 | 8,192 |
| Strength | Tasks that need thinking: logic, bug hunting, code analysis | Long answers, big documents, long agent sessions | Fast short answers |
| Official API | Z.ai: $0.15 / $0.50 | V4 Flash retired, V4.1 Flash — from $0.15 / $0.60 | MiniMax is retiring the model from its API |
| JoinGonka | one price — $0.0062 input / $0.019 output per 1M | ||
In JoinGonka all models share one price, so you pick the model for the task, and switching is one model line in the request. For a deeper look at GLM-5.3 Flash and its reasoning, see the model page.
When to choose DeepSeek V4 Flash 0731
- Coding agents. Claude Code, Codex CLI and OpenCode run long sessions with tools — that's where the 380,000 context and up to 32,768-token responses matter, which is why the installer defaults to DeepSeek V4 Flash.
- Big documents and whole repositories. An annual report, a bundle of contracts or a mid-sized repository fits in a single request, with no chunking.
- Long answers. Big files, reports and translations in a single request, without splitting into parts.
- Code tuned to build 0731. Prompts and agents configured for this version run on this same version, not on a model the provider swapped in under the old name.
For tasks where the model needs to think through tangled logic, compare answers with GLM-5.3 Flash — its reasoning is on by default.
Want to learn more?
Explore other sections or start earning GNK right now.
Connect DeepSeek V4 Flash through JoinGonka →