DeepSeek · Math
DeepSeek for math
llmwise has 2 of DeepSeek's models, from DeepSeek V4.1 Flash (up to 60 messages a day on Pro) to DeepSeek V4 Pro (up to 250 messages a month). We ran the same math prompts on every one and published every reply: which DeepSeek model to use, from the results, what each costs per message, and how to get more out of it.
Based on 10 of our test runs on , through OpenRouter with the app's own prompt and settings. Updated .
Short answer
In our test runs on October 8, 2026, all 2 models passed 5 of 5 math prompts, so these prompts don't pick one for hard problems. For value, DeepSeek V4 Pro (5 of 5), 250 a month on Pro; for everyday math, DeepSeek V4.1 Flash (5 of 5), from the daily count.
Our picks for math
Hard problems
Shared by 2 models
All 2 models passed 5 of 5, both hard ones: DeepSeek V4.1 Flash and DeepSeek V4 Pro. These prompts don't tell them apart, so they share the pick.
Best value
Passed 5 of 5 math prompts, with 250 a month on Pro.
Everyday
Passed 5 of 5 math prompts; an everyday model, so its messages come from the daily count (60 a day on Pro), not the monthly allowance.
These picks aren't our opinion: they're what the results below give, by these rules, among the DeepSeek models in llmwise. They change when the results do.
- Hard problems: the model that passed the most prompts and, of those, the most hard ones. Models level on both share the pick: the prompts don't tell them apart, so we don't break the tie by price or by name.
- Best value: among the models that draw on the monthly allowance, the one with the most messages on Pro that passed no more than one prompt fewer than the top model. Ties go to the one that passed more, then to the lower cost per reply.
- Everyday: among the cheapest models on the page (the everyday models, which come from the daily count, when the page has any), the one that passed the most. Ties go to the one that passed more of the hard prompts, then to the lower cost per reply.
Our math test runs, model by model
How each model did on our 5 math prompts, what each reply counted as on Pro, and what it cost to run.
| Model | Passed | Hard ones | Messages used on Pro | Cost per reply | Time per reply |
|---|---|---|---|---|---|
| DeepSeek V4 ProDeepSeek | 5 of 5 | 2 of 2 | 1 each, of 250 a month on Pro | $0.0009 | 2.9 s |
| DeepSeek V4.1 FlashDeepSeek | 5 of 5 | 2 of 2 | 1 each, of 60 a day on Pro | $0.0002 | 1.1 s |
One prompt, side by side
Each model's reply to “Four-digit numbers whose digits sum to 9”, as it came, with whether it passed and what it cost.
The prompt: Four-digit numbers whose digits sum to 9 (hard)
How many four-digit positive integers have digits that add up to 9? Show your working briefly, then end with a line that says "Final answer: " followed by the answer alone.
DeepSeek V4.1 Flash
Passed: Final answer 165: right.
Let the digits be a, b, c, d with a ≥ 1 (it's a four-digit number) and b, c, d ≥ 0, and a+b+c+d = 9. Substitute a = a' + 1 where a' ≥ 0: a' + b + c + d = 8 Number of non-negative solutions = C(8+3, 3) = C(11, 3) = 165. Final answer: 165
417 tokens in, 197 out (92 of them reasoning) · 0.7 s · $0.0003 · 1 message on Pro · answered by deepseek/deepseek-v4.1-flash via Together ·
DeepSeek V4 Pro
Passed: Final answer 165: right.
Let the four digits be \(a,b,c,d\), where \(a \ge 1\) and the others are nonnegative. We need: \[ a+b+c+d=9 \] Set \(a'=a-1\), so \(a' \ge 0\). Then: \[ a'+b+c+d=8 \] The number of nonnegative integer solutions is: \[ \binom{8+4-1}{4-1}=\binom{11}{3}=165 \] Final answer: 165389 tokens in, 269 out (160 of them reasoning) · 4.0 s · $0.0012 · 1 message on Pro · answered by deepseek/deepseek-v4-pro-0813 via Wafer ·
The math prompts, and how they're scored
Final answer. Automatic. The reply's last “Final answer:” line must hold the right value.
Each prompt was sent the way llmwise sends a message in a side-by-side comparison, which offers no tools: the app's own system prompt, the model's own settings, and Pro's reply size limit (8,000 tokens). Read all five math prompts and how every reply was scored.
Prompts like these to try yourself
DeepSeek in llmwise
| Model | On Pro | On Free | Context window | Images | PDFs | Reasoning | API price per 1M, in / out |
|---|---|---|---|---|---|---|---|
| DeepSeek V4 ProDeepSeek | 250/mo on Pro | Yes | 1.05M tokens | No | Text only | Yes | $0.40 / $4.00 |
| DeepSeek V4.1 FlashDeepSeek | 60/day on Pro | Yes | 1.05M tokens | Yes | Text only | Yes | $0.30 / $1.20 |
Every limit is published. Paid plans also have a monthly fair-use limit on AI cost: Pro $7.50, Max $20, Ultra $42, Studio $85. Using every message on your plan at typical sizes stays under it; very large messages and heavy research use it faster. Every limit, explained.
DeepSeek V4 Pro doesn't read images.
What matters for math
Step-by-step reasoning
Models that reason before answering work through the steps instead of jumping to a number, which matters most on multi-step problems.
Checking the arithmetic
Language models can slip on arithmetic. Running the calculation as code settles it.
Showing the work
A good answer shows its steps clearly enough for you to follow, and flags its assumptions.
DeepSeek for math in llmwise
Readable formulas
Formulas in answers render as proper math, not raw LaTeX.
Run code (paid plans)
On a paid plan the model can run Python or Node.js in an isolated sandbox once you approve it, read the output and fix what failed. A run counts as 1 Claude Haiku 4.5 message and stops after 60 seconds.
Photos of problems
Attach a photo of a worksheet or a screenshot of a problem to a model that reads images.
The Tutor persona
Pick the Tutor persona to have concepts explained step by step, with checks that you followed.
DeepSeek models are served only through OpenRouter, by endpoints that don't store or train on prompts. See the Privacy Policy.
Tips
Ask for the steps, not just the answer.
Say what level you're at, so the explanation fits.
Ask the model to verify the final answer a second way.
For proofs, ask it to list its assumptions.
Questions
Is DeepSeek good for math?
In our test runs on October 8, 2026, DeepSeek V4 Pro passed 5 of 5, DeepSeek V4.1 Flash passed 5 of 5 of our math prompts, against a best result of 5 of 5 among all 19 models. Every reply is published on this page and the methods page, so you can judge them yourself.
Which DeepSeek model should I use for math?
Start with DeepSeek V4.1 Flash for arithmetic, unit conversions and formulas you half remember, and move up to DeepSeek V4 Pro for coursework, statistics and multi-step word problems.
Can I use DeepSeek for math for free?
Yes: DeepSeek V4 Pro and DeepSeek V4.1 Flash are on the Free plan (a one-time trial of 5 messages).
Can it check its own answer?
On a paid plan, ask the model to check its answer with code: it runs Python in a sandbox (after you approve) and compares. A run counts as 1 Claude Haiku 4.5 message.
Claude, GPT, Gemini, DeepSeek, Grok, Kimi, GLM, and Mistral, in one chat.
See what a message costs before you send it. Free is 5 messages to try; sign in with an email link, no password or card.