Claude Sonnet 5 · Math
Claude Sonnet 5 for math: our test runs
Claude Sonnet 5 ran our 5 math prompts in llmwise, through the same pipeline your messages take. Here's every reply as it came, whether it passed, what it cost and what it counts as on Pro, next to the other models.
Based on 5 of our test runs on , through OpenRouter with the app's own prompt and settings.
Short answer
In our test runs on September 27, 2026, Claude Sonnet 5 passed 5 of 5 of our math prompts (both hard ones): tied 1st of 15 models. Each reply counted as 1 message on Pro, where it has 125 a month, and cost $0.0033 to run on average.
Prompt by prompt
Each of the 5 math prompts, and how Claude Sonnet 5's reply did.
| Prompt | Result | Cost | Time |
|---|---|---|---|
| A discount, then sales taxEveryday | Passed: Final answer 66: right. | $0.0015 | 1.9 s |
| Pens at 3 for $4Everyday | Passed: Final answer Buy 3 packs of 3 pens ( 4 each) plus 1 single pen ( 1.50), total 13.50.: right. | $0.0061 | 6.3 s |
| Compound interest over three yearsEveryday | Passed: Final answer 315.25: right. | $0.0021 | 3.7 s |
| Four-digit numbers whose digits sum to 9Hard | Passed: Final answer 165: right. | $0.0039 | 4.5 s |
| The highest of three dice is a 5Hard | Passed: Final answer 61/216: right. | $0.0028 | 3.9 s |
Every math reply from Claude Sonnet 5
A discount, then sales tax
An everyday prompt: “A discount, then sales tax”, in full.
Passed: Final answer 66: right.
80 × 0.75 = 60 (after discount) 60 × 1.10 = 66 (after tax) Final answer: $66
541 tokens in, 45 out · 1.9 s · $0.0015 · 1 message on Pro · answered by anthropic/claude-sonnet-5 via Claude Platform on AWS ·
Pens at 3 for $4
An everyday prompt: “Pens at 3 for $4”, in full.
Passed: Final answer Buy 3 packs of 3 pens ( 4 each) plus 1 single pen ( 1.50), total 13.50.: right.
Compare unit costs: 3-for-$4 = $1.33/pen, cheaper than the $1.50 single price. So maximize the number of 3-packs. 10 pens = 3 packs of 3 (9 pens) + 1 single pen Cost = 3×$4 + 1×$1.50 = $12 + $1.50 = $13.50 Check alternative (2 packs + 4 singles): 2×$4 + 4×$1.50 = $8 + $6 = $14 (worse) Check buying an extra pack for surplus: 4 packs = $16 for 12 pens (worse, and you don't need 12) Final answer: Buy 3 packs of 3 pens ($4 each) plus 1 single pen ($1.50), total $13.50.
545 tokens in, 505 out (250 of them reasoning) · 6.3 s · $0.0061 · 1 message on Pro · answered by anthropic/claude-sonnet-5 via Claude Platform on AWS ·
Compound interest over three years
An everyday prompt: “Compound interest over three years”, in full.
Passed: Final answer 315.25: right.
2000 × 1.05³ = 2000 × 1.157625 = 2315.25 Interest = 2315.25 − 2000 = 315.25 Final answer: $315.25
539 tokens in, 102 out (41 of them reasoning) · 3.7 s · $0.0021 · 1 message on Pro · answered by anthropic/claude-sonnet-5 via Claude Platform on AWS ·
Four-digit numbers whose digits sum to 9
A hard prompt: “Four-digit numbers whose digits sum to 9”, in full.
Passed: Final answer 165: right.
Let digits be d1 d2 d3 d4, with d1≥1 (leading digit), all digits 0-9, sum = 9. Substitute d1' = d1 - 1 ≥ 0, so d1' + d2 + d3 + d4 = 8, all ≥0. Since max possible value (8) is less than 10, no digit can exceed 9, so no upper-bound restrictions apply. Number of nonnegative integer solutions: C(8+3, 3) = C(11,3) = 165. Final answer: 165
510 tokens in, 290 out (111 of them reasoning) · 4.5 s · $0.0039 · 1 message on Pro · answered by anthropic/claude-sonnet-5 via Claude Platform on AWS ·
The highest of three dice is a 5
A hard prompt: “The highest of three dice is a 5”, in full.
Passed: Final answer 61/216: right.
P(max ≤ 5) = (5/6)³ = 125/216 P(max ≤ 4) = (4/6)³ = 64/216 P(max = 5) = 125/216 − 64/216 = 61/216 61 is prime and doesn't divide 216, so this is already in lowest terms. Final answer: 61/216
537 tokens in, 174 out (63 of them reasoning) · 3.9 s · $0.0028 · 1 message on Pro · answered by anthropic/claude-sonnet-5 via Claude Platform on AWS ·
How it compares on math
Claude Sonnet 5 beside the job's picks among every model. 14 models share the hard-problems pick, Claude Sonnet 5 among them.
| Model | Passed | On Pro | Cost per reply |
|---|---|---|---|
| GLM 5.3Our pick: hard problems (shared), best value | 5 of 5 | 250 a month on Pro | $0.0004 |
| GLM 5.3 FlashOur pick: hard problems (shared), everyday | 5 of 5 | 60 a day on Pro | $0.0002 |
| Claude Sonnet 5Our pick: hard problems (shared) | 5 of 5 | 125 a month on Pro | $0.0033 |
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.
How these runs were done
Final answer. Automatic. The reply's last “Final answer:” line must hold the right value.
Claude Sonnet 5, and math, elsewhere
- Claude Sonnet 5: price, limits and messages on every plan
- The best AI for math: our picks among every model
- Claude Sonnet 5 for coding: our test runs
- Claude Sonnet 5 for writing: our test runs
- Claude Sonnet 5 for data analysis: our test runs
- Claude Opus 5.5 vs Claude Sonnet 5
- Analyze a CSV with code: the prompt, and its price
- Our test runs: 50 prompts on every model
Questions
Is Claude Sonnet 5 good for math?
In our test runs it passed 5 of 5 math prompts, tied 1st of the 15 models in llmwise. Every reply is on this page, so you can judge them yourself.
How many of my messages does a math reply from Claude Sonnet 5 use?
1 message each on Pro, where it has 125 a month on Pro. The price of a message is fixed and shown before you send it, however long the reply.
How were these runs done?
The same way for every model: each prompt sent through llmwise's own pipeline, each reply checked the same way. The methods page has every prompt and how each is scored.
Claude, GPT, Gemini, DeepSeek, Grok, Kimi, and GLM, 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.