DeepSeek API Pricing (Dec 2026): V4.1 Flash vs V4 Pro Costs

On AI/ML API, DeepSeek V4.1 Flash costs $0.0675 per million uncached input tokens and $0.27 per million output tokens. V4 Pro costs $0.66 for input and $1.98 for output. Buy Flash directly from DeepSeek and the same tokens cost $0.15 in and $0.60 out off-peak, or $0.30 in and $1.20 out at peak.
We tested 24 requests to change or cancel an order before it shipped, eight orders per API call. Both models got all 24 decisions right with Pro’s rules, but Flash generated 2,572 output tokens across the three calls; Pro generated 10,896. At 1,000 similar calls a month (8,000 order changes), we estimate $0.27 for Flash or $7.58 for Pro, including one call to write the rules.
TL;DR
- Flash costs 55% less on AI/ML API than on DeepSeek’s direct API off-peak, and 77.5% less at peak, for both uncached input and output. Pro matches DeepSeek’s off-peak price.
- Flash writing and applying its own rules was the cheapest setup that got all 24 orders right: an estimated $0.24 per 1,000 calls (8,000 order changes in a month), including setup.
- With basic instructions, Flash cost an estimated $0.21 for the same month but got one order wrong. It approved a size change without knowing whether the customer could keep the same color.
DeepSeek Flash vs. Pro: can Flash handle order changes?
Flash and Pro each matched the warehouse’s answer key on all 24 orders when they followed the same rules.
In order A06, the customer wanted a medium only if they could keep navy. Neither model had a stock list, so neither could promise a navy medium. The expected decision was to hold the order and ask for clarification.
With only basic instructions, Flash approved the change. Both written policies told it to ask when it couldn’t verify a condition. Flash then held the order, whether it or Pro had written the policy.
When should you use DeepSeek Flash instead of Pro?
Use Flash first for repeat work with clear rules; test Pro on the exceptions Flash still gets wrong. We paid Pro once to write instructions we could reuse. We also tested rules written by Flash. Neither writer saw the test orders or the answer key.
Correct decisions on 24 test orders. Estimated first-month cost for 1,000 calls (8,000 order changes), including any one-time setup.
| Instructions | Processed orders | Correct orders | Est. first month |
|---|---|---|---|
| Basic instructions | Flash | 23/24 | $0.21 |
| Written by Flash | Flash | 24/24 | $0.24 |
| Written by Pro | Flash | 24/24 | $0.27 |
| Written by Pro | Pro | 24/24 | $7.58 |
The 12 processing calls and two calls to write the rules cost about $0.03 in total. We paid for Pro’s rules once and reused them for both models. The The monthly estimates use the same token counts at the rates below.
How do I get a DeepSeek API key?
Create an AI/ML API account, then generate an API key and save it on your server. Add funds if your account has no usable balance. For your first request, use the quickstart’s cURL example with the model set to deepseek/deepseek-v4.1-flash. The reply appears in choices[0].message.content.
To use DeepSeek’s own endpoint and billing instead, follow DeepSeek’s first-call guide. The two providers issue separate keys.
Is there a free DeepSeek API?
DeepSeek offers free chat in its app, but its hosted API has no standing free tier. Before paying, check your API balance: it lists any unexpired credits DeepSeek has granted separately from money you’ve added. If your available balance runs out, DeepSeek returns HTTP 402 (insufficient balance) rather than running the model.
DeepSeek API prices per million tokens
AI/ML API and DeepSeek bill text input and output separately. For input, use the cached rate only for tokens the provider records as a cache hit; charge the rest at the uncached rate.
USD per million text tokens. Rates checked November 30, 2026.
| Provider and model | Uncached input | Cached input | Output |
|---|---|---|---|
| AI/ML API · V4.1 Flash | $0.0675 | $0.00135 | $0.27 |
| AI/ML API · V4 Pro | $0.66 | $0.022 | $1.98 |
| DeepSeek direct · Flash · off-peak | $0.15 | $0.003 | $0.60 |
| DeepSeek direct · Flash · peak | $0.30 | $0.006 | $1.20 |
| DeepSeek direct · Pro · off-peak | $0.66 | $0.022 | $1.98 |
| DeepSeek direct · Pro · peak | $1.32 | $0.044 | $3.96 |
On DeepSeek’s direct API, the same tokens cost twice as much during peak hours. One million Flash output tokens cost $1.20 at peak and $0.60 off-peak. Peak runs from 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays, excluding Chinese public holidays. All other hours are off-peak, including weekends.
AI/ML API publishes separate rates for Flash and Pro. For a direct Pro request with one million uncached input tokens and one million output tokens, the total is $2.64 off-peak or $5.28 at peak. The Pro test receipts identify the June build (deepseek-v4-pro-202606); DeepSeek lists its direct version as DeepSeek-V4-Pro-0813. The accuracy results here apply to the AI/ML API run.
How much would DeepSeek cost for my order volume?
Enter the number of orders that need a change each month. The calculator assumes eight changes per call and uses the token counts from our three test batches at the November 30 AI/ML API rates. With Pro’s rules, Flash used 506 to 540 input tokens and 735 to 1,094 output tokens per batch. Pro used 559 to 593 input and 2,283 to 5,145 output. None of the input was cached.
If only 800 of your 8,000 monthly orders need changes, enter 800. That’s 100 calls, or about $0.03 with Flash and $0.76 with Pro, including setup. If each customer needs an immediate reply, measure single-order calls instead: sending the rules eight times is different from sending them once for eight orders.
How can I choose an AI model automatically?
Jev Router sends simpler requests to cheaper models and more difficult ones to a higher tier, which can include models outside DeepSeek. We didn’t test routing here; compare its fees and mistaken approvals with Flash alone before switching.
Test DeepSeek Flash and Pro on your own business data
A packing test won’t tell you whether Flash can approve a refund. Pick one decision your team makes every day and collect anonymized cases, including a few that staff had to escalate. Save the team’s answers separately for scoring.
Start by finding the cheapest model that passes your own order checks. Give Flash a week of past changes with the warehouse’s decisions hidden, then compare its replies with what staff actually did. Count mistaken approvals separately: packing a cancelled order has a different cost from asking one unnecessary question.
Give your agent the test kit and this prompt: Read AGENT-BRIEF.md. Adapt the Flash vs. Pro comparison to my workflow. Ask which mistakes we can’t afford, then show me the test plan and budget before making any API calls.
DeepSeek API pricing FAQ
How do I calculate the cost of a DeepSeek API request?
Multiply uncached input, cached input and output tokens by their respective rates, add the amounts and divide by one million. For 1,000 uncached input tokens and 500 output tokens, Flash costs $0.0002025 on AI/ML API, versus $0.00045 off-peak or $0.00090 at peak on DeepSeek’s direct API.
Why did DeepSeek Pro cost more than Flash for the same answers?
Pro generated 10,896 output tokens across three batches, compared with 2,572 for Flash, and each Pro output token also cost more. The packing decisions matched. Reasoning tokens count even when the customer sees only a short answer.
Are DeepSeek reasoning tokens billed as output?
Yes, in our recorded Flash call the provider counted 49 reasoning tokens in the 51 output tokens billed for a one-word reply: ASK. Use the total completion-token count on the receipt; adding reasoning tokens to that figure would count them twice.
Does reusing a system prompt make it free?
No. Saving the rules avoids paying a model to write them again, but they still count as input each time you send them. A cache hit can lower that input charge. With Pro’s rules already written, the next 1,000 eight-order calls cost an estimated $0.27 with Flash or $7.57 with Pro.



