
TL;DR
DeepSeek V4 Flash pricing split into peak and off-peak rates in August 2026, while third-party hosts kept serving the old flat rates or undercut them further. Here is every way to access DeepSeek's fast MoE coding model, from the cheapest verified hosted routes on OpenRouter and DeepInfra to the official first-party tiers, local weights, and which path makes sense for your workload.
Direct answer
DeepSeek V4 Flash pricing split into peak and off-peak rates in August 2026, while third-party hosts kept serving the old flat rates or undercut them further. Here is every way to access DeepSeek's fast MoE coding model, from the cheapest verified hosted routes on OpenRouter and DeepInfra to the official first-party tiers, local weights, and which path makes sense for your workload.
Best for
Developers comparing real tool tradeoffs before choosing a stack.
Covers
Verdict, tradeoffs, pricing signals, workflow fit, and related alternatives.
Start here: Third-party hosts still serve DeepSeek V4 Flash at the old flat rates or cheaper. As of August 22, 2026, the cheapest verified routes are OpenRouter's auto-router (as low as $0.06 input / $0.12 output per million tokens via StreamLake and Baidu Qianfan with 57 percent off) and DeepInfra ($0.09 / $0.18), both well below DeepSeek's own off-peak pricing ($0.22 / $0.66). If you want a low-friction agent trial with generous limits, OpenCode Go is $5 for the first month when you use referral code M6HEHM4JM5.
Last updated: August 22, 2026
| Source | What it covers |
|---|---|
| DeepSeek API Pricing | Official peak/off-peak rates and context limits |
| DeepSeek API Documentation | Endpoints, authentication, model IDs |
| Hugging Face: deepseek-ai/DeepSeek-V4-Flash-0731 | Open weights, MIT license, framework support |
| OpenRouter: deepseek/deepseek-v4-flash | Live multi-provider routing table and prices |
| OpenCode Go referral link | $5 first-month promo with referral code M6HEHM4JM5 |
DeepSeek V4 Flash is an efficiency-optimized Mixture-of-Experts model with 284B total parameters, 13B activated parameters, and a 1M-token context window. It is designed for fast inference and high-throughput coding workloads, released under an MIT license. On August 16, 2026, DeepSeek shifted its first-party API to peak and off-peak pricing, raising rates by 2x to 4x depending on the hour. Third-party providers have not all followed, which is why the cheapest access today is no longer direct from DeepSeek.
This post maps every verified route: the genuinely cheap ones, the official first-party tiers, free or near-free options, and local. Prices are per million tokens and were verified August 22, 2026. Pricing pages move, so treat the numbers as a snapshot.
DeepSeek V4 Flash is DeepSeek's efficiency-tier open-weights coding model, released April 23, 2026 and refreshed July 31, 2026 as DeepSeek-V4-Flash-0731. It is a Mixture-of-Experts model with 284B total parameters, 13B activated per forward pass, a 1M-token context window, and an MIT license. It introduces a hybrid attention architecture combining Compressed Sparse Attention and Heavily Compressed Attention for efficient long-context processing. On coding benchmarks it delivers strong performance at a fraction of the cost and compute of closed models. For the full technical breakdown and cost math, see the DeepSeek V4 developer guide and the V4 economics post. This page covers access and pricing.
For most developers the right answer is a hosted API. DeepSeek V4 Flash is MIT-licensed open weights, so any inference provider can serve it and compete on price. Here is the live picture, sorted by blended cost.
| Provider | Input ($/1M) | Output ($/1M) | Cached input | Context | Notes |
|---|---|---|---|---|---|
| OpenRouter (cheapest route) | 0.06 | 0.12 | 0.012 | 1M | StreamLake/Baidu 57% off, auto-routes |
| DeepInfra | 0.09 | 0.18 | 0.018 | 1M | fp4 quant, among cheapest stable |
| Sail Research (via OpenRouter) | 0.09 | 0.18 | 0.02 | 1M | fp4 quant |
| Together AI | 0.14 | 0.28 | 0.03 | 1M | Old flat rate, reliable uptime |
| NovitaAI | 0.14 | 0.28 | 0.028 | 1M | Old flat rate, fp8 |
| DeepSeek off-peak | 0.22 | 0.66 | 0.007 | 1M | First-party, 17 hours daily |
| DeepSeek peak | 0.44 | 1.32 | 0.014 | 1M | First-party, 7 hours daily (01:00-04:00, 06:00-10:00 UTC) |
A few things worth knowing before you pick a row:
deepseek/deepseek-v4-flash, and OpenRouter sends your request to the cheapest or fastest one that meets your constraints. You get failover and price competition without managing keys for each host. StreamLake and Baidu Qianfan are currently offering 57 percent off, which is why OpenRouter's blended rate sits near $0.06 input / $0.12 output. There is no :free variant for DeepSeek V4 Flash on OpenRouter despite catalog pages suggesting otherwise - the endpoints list for the free slug is empty. See the OpenRouter profile for the wider router picture.For the worked cost-per-task math versus closed models, the V4 economics post and the budget AI coding models comparison run the numbers.
From the archive
Aug 22, 2026 • 8 min read
Aug 21, 2026 • 7 min read
Aug 21, 2026 • 8 min read
Aug 21, 2026 • 7 min read
On August 16, 2026, DeepSeek replaced its flat-rate API pricing with a two-tier system: off-peak and peak. The change raised rates by 57 percent to 371 percent depending on the token type and hour. Here is the current structure as verified August 22, 2026 from the official pricing page:
| Tier | Cache hit | Cache miss input | Output | When |
|---|---|---|---|---|
| Off-peak | $0.007 | $0.22 | $0.66 | 17 hours daily (all except peak) |
| Peak | $0.014 | $0.44 | $1.32 | 7 hours daily (01:00-04:00, 06:00-10:00 UTC) |
Peak hours are 01:00-04:00 and 06:00-10:00 UTC, seven hours daily. Everything else is off-peak, and off-peak is exactly half the peak rate. Important change effective August 23, 2026: weekends (Saturdays and Sundays, Beijing Time) will be all off-peak, removing the peak windows on those days. This means if you schedule workloads for weekends and outside the two UTC windows on weekdays, you stay on the lower tier.
For context, the old flat rate (live until August 16) was $0.14 input and $0.28 output per million tokens. Off-peak output is now $0.66, a 136 percent increase. Peak output is $1.32, a 371 percent increase. Cache-hit pricing rose even more sharply - off-peak is 2.5x the old rate, peak is 5x. This hits agentic workloads hardest because they rely on caching to keep costs manageable.
The first-party API supports the full 1,048,576-token context, tool calling, structured output, and reasoning effort (high or xhigh). Use it when you want the reference behavior, predictable pricing directly from the source, or compliance requirements that rule out third-party providers. But if pure cost is the goal, third-party hosts are currently cheaper.
Three paths will run DeepSeek V4 Flash with little or no upfront cost today. None is unlimited, and the genuinely free ones are unstable or time-limited, so read the terms before wiring production workloads to them.
M6HEHM4JM5 and the subscription is $5 for the first month, then $10 per month. Go bundles DeepSeek V4 Flash with other open-weight models (GLM-5, Kimi K2, Qwen, MiniMax) under usage caps measured in requests per five-hour window. DeepSeek V4 Flash has the highest request limit in the catalog: 31,650 requests per five hours. Treat this as a low-friction trial rather than a production route - quotas reset, and Go is designed for evaluation and prototyping, not for scaling a production agent.deepseek-v4-flash-free endpoint at https://opencode.ai/zen/v1/chat/completions. The free tier exists but is frequently exhausted. GitHub issues from July and August 2026 show persistent 429 FreeUsageLimitError responses even for minimal requests, suggesting the quota is either shared globally or resets unpredictably. The paid Zen rate is $0.14 input / $0.28 output per million tokens. Treat the free tier as promotional and likely unavailable; if it works when you test it, use it, but do not build production plans around it.If you want free and you want it to last, the honest answer is local: download the weights and run them yourself. That is the local and self-host section below; if your hardware is more modest, our best local models hub is the starting point for laptop-class options.
M6HEHM4JM5, $5 first month. Best for evaluating the model in a coding-agent loop without managing API keys.Because the weights are MIT-licensed and on Hugging Face, you can run DeepSeek V4 Flash with no per-token cost at all - if you have the hardware.
vllm serve "deepseek-ai/DeepSeek-V4-Flash-0731" as working out of the box. This only pays off above a high, steady token volume where amortized GPU cost beats per-token API pricing. Below that line, a hosted route is cheaper and far less operational work.If your goal is genuinely local coding on modest hardware, a smaller dense model is the right tool - see the best local coding LLMs.
On August 4, 2026, Vercel AI Gateway announced a 90 percent discount on DeepSeek V4 Flash routed through Novita, dropping the effective rate to $0.014 input / $0.028 output per million tokens for Pro customers. The promo was time-limited and ended August 11, 2026. After that date, Novita's rate returned to the standard $0.14 / $0.28 through the gateway. The promo post is archived here for reference, but do not expect the 90 percent off rate to still be live. The standard Vercel AI Gateway blended rate for DeepSeek V4 Flash is currently $0.09 input / $0.18 output per million tokens, routing across multiple providers including Novita, DeepInfra, Fireworks, and others.
Self-hosting DeepSeek V4 Flash only makes economic sense at steady high volume. If you run fewer than several billion tokens per month, paying $0.09 to $0.22 per million on a hosted API is almost certainly cheaper than the amortized cost of GPU capacity, electricity, and operational overhead. The break-even line depends on your GPU access cost, but for most teams it sits well into the hundreds of dollars per month of sustained token spend. Below that line, use a hosted route. Above it, vLLM or SGLang on reserved capacity starts to pencil out.
The other reason to self-host is compliance: air-gapped environments, data residency requirements, or contractual restrictions on third-party inference. If that is the driver, cost is not the primary variable.
No permanent unlimited free hosted API exists. OpenCode Zen has a free tier that is frequently exhausted and unreliable. OpenCode Go is $5 the first month with referral code M6HEHM4JM5, then $10 per month. The weights themselves are free under an MIT license, so self-hosting has no per-token cost, but that requires datacenter-class GPU hardware. For practical purposes, the cheapest stable hosted access is DeepInfra or OpenRouter at $0.09 to $0.12 per million input tokens.
On hosted APIs, the cheapest verified routes as of August 22, 2026 are OpenRouter's auto-router (as low as $0.06 input / $0.12 output per million tokens via StreamLake or Baidu Qianfan with 57 percent off) and DeepInfra at $0.09 input / $0.18 output. Both are fp4 quantized, so validate quality on your own task. Self-hosting is cheapest only at high sustained volume.
Yes. DeepSeek V4 Flash exposes an OpenAI-compatible endpoint at https://api.deepseek.com, so any tool that accepts OpenAI-shaped APIs can point at it with a config change. Set OPENAI_BASE_URL=https://api.deepseek.com and OPENAI_API_KEY=your-deepseek-key, then use model=deepseek-v4-flash. Most coding agents (Claude Code, OpenCode, Cline, Cursor, GitHub Copilot) support custom OpenAI-compatible endpoints. The DeepSeek V4 developer guide covers setup for each tool.
Not practically. At 284B total parameters and 13B active, even a 4-bit quantized build needs multi-GPU high-RAM hardware. Ollama does not yet have an official GGUF build for V4 Flash 0731. For local coding on consumer hardware, a smaller dense model (Qwen3-8B, Llama 3.3-8B, DeepSeek-Coder-6.7B) is the right choice. See the best local coding LLMs.
MIT. The weights are permissive with no regional or commercial restrictions. You can use, modify, deploy, and commercialize DeepSeek V4 Flash without a separate license from DeepSeek.
Peak hours are 01:00-04:00 and 06:00-10:00 UTC, seven hours daily. Everything else is off-peak. Starting August 23, 2026, weekends (Saturdays and Sundays, Beijing Time) are all off-peak regardless of the clock. Off-peak rates are exactly half of peak rates. If you schedule workloads outside those windows, you stay on the cheaper tier.
Read next
DeepSeek V4 splits into Flash and Pro, ships a 1M context window, and undercuts every closed model on price. Here's how to wire it up with the OpenAI SDK, when to pick it over Claude or GPT, and what changed since V3 and R1.
10 min readDeepSeek V4 Pro lands an 80.6 on SWE-bench Verified in Max reasoning mode at $0.435/$0.87 per million tokens, and Flash runs agent inner loops for cents. Here is the worked cost math, the Flash-vs-Pro split, and a clear guide on when to route to DeepSeek instead of a frontier model.
9 min readThe sub-$1.50 coding tier just got serious: DeepSeek V4 Flash 0731 posts frontier-adjacent agent scores at $0.14/$0.28 (peak/off-peak pricing from Aug 16), GPT-5.6 Luna dropped 80% to $0.20/$1.20, and Gemini 3.5 Flash and Claude Haiku 4.5 hold the hosted middle. Prices verified July 31 and August 15, 2026.
10 min readTechnical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.
DeepSeek's open-weights frontier family, previewed April 24, 2026. V4-Pro is 1.6T total / 49B active params; V4-Flash is...
View ToolFastest inference for open-source models. 200+ models via unified API. Ranks #1 on speed benchmarks for DeepSeek, Qwen,...
View ToolOpen-source terminal agent runtime with approval modes, rollback snapshots, MCP servers, LSP diagnostics, and a headless...
View ToolOpen-source reasoning models from China. DeepSeek-R1 rivals o1 on math and code benchmarks. V3 for general use. Fully op...
View ToolDeep comparison of the top AI agent frameworks - LangGraph, CrewAI, Mastra, CopilotKit, AutoGen, and Claude Code.
AI AgentsPersistent project instructions loaded every session; supports nested dirs.
Claude Code
DeepSeek V4: 1M Context, 10x KV Cache Savings, and Ultra-Low Pricing DeepSeek released V4, highlighting major long-context efficiency gains: at a 1M-token context, V4 Pro uses 27% of FLOPs and 10% of...

In this video, we delve into the latest release of DeepSeek, version R1 0528. Despite the absence of an official model card or announcement, we cover the key features and benchmarks of this...

In this video, I'll dive into the latest update of DeepSeek's V3 model, recently released on Hugging Face. This model stands out for its impressive performance benchmarks, outclassing even...

DeepSeek V4 splits into Flash and Pro, ships a 1M context window, and undercuts every closed model on price. Here's how...

DeepSeek V4 Pro lands an 80.6 on SWE-bench Verified in Max reasoning mode at $0.435/$0.87 per million tokens, and Flash...

The sub-$1.50 coding tier just got serious: DeepSeek V4 Flash 0731 posts frontier-adjacent agent scores at $0.14/$0.28 (...

GLM-5.2 ships under an MIT license, so it is hosted everywhere - and a few places run it for free or nearly free right n...

Compare every verified Kimi K3 access route, including Moonshot, Together, Fireworks, Baseten, Modal, Vercel AI Gateway,...

GLM-5.3 launched on August 14, 2026 with open weights promised in about two weeks - so the access picture is narrower th...

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.