DeepSeek V4.1 Flash API pricing and cost calculator
By TechCompare · Updated · How we check
A half-cached 100K-input, 5K-output request costs $0.006285 at the cheapest host, Wafer, or $629 for 100,000 calls. Check your host's own rates before you budget.
Calculator
Cost Comparison
Based on 100,000 input tokens (50% cached), 5,000 output tokens, and 100 requests.Prices come live from OpenRouter at each maker's own price where it's listed. Temporary deals are left out.
OpenRouter lists no DeepSeek-run endpoint for DeepSeek V4.1 Flash, so it's sold by third-party hosts that set their own prices. The chart starts from the cheapest host for this request and names it, so the estimate matches the calculations below. Rates depend on the host and its quantization. The host you route to can change the bill a lot even when the model, prompt, cache usage, and generated output are identical.
DeepSeek: DeepSeek V4.1 Flash
Cheapest host: Wafer (mxfp4)
- Input
- $0.051
- Output
- $0.567
- Cached
- $0.018
per 1M tokens
Price checked 2026-11-19
How this is calculated
The cheapest listed host, Wafer with mxfp4 weights, charges $0.051 input, $0.018 cache-hit input and $0.567 output per million tokens. For 100,000 input tokens and 5,000 output tokens without cache hits, that's $0.007935 per request. If half the input hits the cache, the same request costs $0.006285.
The chart's 100 monthly requests therefore cost about $0.63, and 100,000 half-cached requests come to about $629. Price the host you'll actually call, since every host sets its own rates.
Cheaper hosts often serve lower-precision weights such as fp4 or fp8 and differ in their maximum output, from 131K to 943K tokens, so compare the quantization, output limit, and uptime before sending production traffic to the lowest price. Most hosts offer the 1M-token context window. Extra context and generated reasoning still add billable tokens. The chart shows the normal-speed standard tier, so flex, batch, and priority prices are separate.
Verdict
Pick the host before you budget. Start with the cheapest listing for the workload you plan to run, then check that its quantization, output limit, and uptime are acceptable for your task.
Cache reuse reduces the input portion on every host, but hosts differ in how deeply they discount cached input. For comparisons with another API, use the host your application will actually call and count all reasoning output, tool turns, and retries required to get an accepted result.
More API Standalones scenarios
Related guides
Frequently asked questions
What are DeepSeek V4.1 Flash's API prices?
Why do hosts charge such different prices for the same model?
Which API model name selects V4.1 Flash?
What is DeepSeek V4.1 Flash 1017?
How do I estimate a mix of hosts?
Does choosing a cheaper host replace prompt caching?
Related tools
LLM VRAM Calculator
Calculate the VRAM needed to run or fine-tune any LLM at any quantization.
Use toolPower Cost Estimator
Estimate annual electricity costs for your PC, Server, or TV.
Use toolData Transfer Calculator
Calculate file transfer time or the speed you need over USB, Wi-Fi or Ethernet, with latency.
Use toolJSON Formatter
Validate, format, and minify JSON. Browse it as a tree, run JSONPath queries, compare two documents, or validate against a JSON Schema.
Use tool