Claude Haiku 4.5 · Math
Claude Haiku 4.5 for math: our test runs
Claude Haiku 4.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 Haiku 4.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 250 a month, and cost $0.0015 to run on average.
Prompt by prompt
Each of the 5 math prompts, and how Claude Haiku 4.5's reply did.
| Prompt | Result | Cost | Time |
|---|---|---|---|
| A discount, then sales taxEveryday | Passed: Final answer 66: right. | $0.0007 | 1.1 s |
| Pens at 3 for $4Everyday | Passed: Final answer Buy 3 packs of 3 pens and 1 single pen for 13.50: right. | $0.0014 | 2.2 s |
| Compound interest over three yearsEveryday | Passed: Final answer 315.25: right. | $0.0013 | 3.5 s |
| Four-digit numbers whose digits sum to 9Hard | Passed: Final answer 165: right. | $0.0024 | 2.9 s |
| The highest of three dice is a 5Hard | Passed: Final answer 61/216: right. | $0.0018 | 2.2 s |
Every math reply from Claude Haiku 4.5
A discount, then sales tax
An everyday prompt: “A discount, then sales tax”, in full.
Passed: Final answer 66: right.
**Working:** 1. Original price: $80 2. Apply 25% discount: $80 × 0.75 = $60 3. Add 10% sales tax: $60 × 1.10 = $66 Final answer: $66
429 tokens in, 63 out · 1.1 s · $0.0007 · 1 message on Pro · answered by anthropic/claude-haiku-4.5 via Amazon Bedrock ·
Pens at 3 for $4
An everyday prompt: “Pens at 3 for $4”, in full.
Passed: Final answer Buy 3 packs of 3 pens and 1 single pen for 13.50: right.
# Pen Purchase Problem **Option 1: Buy 3-packs only** - 10 pens ÷ 3 = 3 packs with 1 pen left over - 3 packs × $4 = $12 - 1 single pen × $1.50 = $1.50 - Total: $13.50 **Option 2: Buy all single pens** - 10 pens × $1.50 = $15.00 **Option 3: Buy 3 packs + adjust** - Same as Option 1: $13.50 The cheapest way is to buy three 3-packs ($12) and one single pen ($1.50). Final answer: Buy 3 packs of 3 pens and 1 single pen for $13.50
434 tokens in, 199 out · 2.2 s · $0.0014 · 1 message on Pro · answered by anthropic/claude-haiku-4.5 via Amazon Bedrock ·
Compound interest over three years
An everyday prompt: “Compound interest over three years”, in full.
Passed: Final answer 315.25: right.
I'll calculate the compound interest for you. **Formula:** A = P(1 + r)^n Where: - P = Principal = $2,000 - r = Annual interest rate = 0.05 - n = Number of years = 3 **Calculation:** - Year 1: $2,000 × 1.05 = $2,100.00 - Year 2: $2,100 × 1.05 = $2,205.00 - Year 3: $2,205 × 1.05 = $2,315.25 **Interest earned:** $2,315.25 - $2,000.00 = $315.25 Final answer: $315.25
430 tokens in, 173 out · 3.5 s · $0.0013 · 1 message on Pro · answered by anthropic/claude-haiku-4.5 via Amazon Bedrock ·
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.
I need to find four-digit positive integers where the digits sum to 9. A four-digit positive integer has the form $\overline{abcd}$ where: - $a \in \{1,2,...,9\}$ (first digit can't be 0) - $b,c,d \in \{0,1,...,9\}$ - $a + b + c + d = 9$ **Method: Change of variables** Let $a' = a - 1$, so $a' \in \{0,1,...,8\}$. Then: $a' + 1 + b + c + d = 9$ This gives: $a' + b + c + d = 8$ Now I need to count non-negative integer solutions where: - $a' \in \{0,1,...,8\}$ - $b,c,d \in \{0,1,...,9\}$ - $a' + b + c + d = 8$ Since the sum is only 8, each variable is automatically ≤ 8 (and thus $a' \leq 8$ and $b,c,d \leq 9$ are automatically satisfied). This is a standard stars and bars problem: distribute 8 identical objects into 4 distinct bins with no restrictions. The number of solutions is: $$\binom{8 + 4 - 1}{4 - 1} = \binom{11}{3} = \frac{11 \times 10 \times 9}{3 \times 2 \times 1} = \frac{990}{6} = 165$$ Final answer: 165404 tokens in, 404 out · 2.9 s · $0.0024 · 1 message on Pro · answered by anthropic/claude-haiku-4.5 via Amazon Bedrock ·
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.
I need to find the probability that the maximum of three dice is exactly 5. **Working:** For the maximum to be exactly 5: - At least one die shows 5 - No die shows 6 **Count favorable outcomes:** - All three dice must show values from {1, 2, 3, 4, 5} - At least one die must show 5 Using complementary counting: - Total ways to roll three dice with values in {1,2,3,4,5}: 5³ = 125 - Ways with no 5 (all from {1,2,3,4}): 4³ = 64 - Ways with at least one 5: 125 - 64 = 61 **Total possible outcomes:** 6³ = 216 **Probability:** 61/216 Let me verify this is in lowest terms by checking if 61 and 216 share factors: - 61 is prime - 216 = 2³ × 3³ - Since 61 is prime and doesn't equal 2 or 3, gcd(61, 216) = 1 Final answer: 61/216420 tokens in, 276 out · 2.2 s · $0.0018 · 1 message on Pro · answered by anthropic/claude-haiku-4.5 via Amazon Bedrock ·
How it compares on math
Claude Haiku 4.5 beside the job's picks among every model. 14 models share the hard-problems pick, Claude Haiku 4.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 Haiku 4.5Our pick: hard problems (shared) | 5 of 5 | 250 a month on Pro | $0.0015 |
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 Haiku 4.5, and math, elsewhere
- Claude Haiku 4.5: price, limits and messages on every plan
- The best AI for math: our picks among every model
- Claude Haiku 4.5 for coding: our test runs
- Claude Haiku 4.5 for writing: our test runs
- Claude Haiku 4.5 for data analysis: our test runs
- Analyze a CSV with code: the prompt, and its price
- Our test runs: 50 prompts on every model
Questions
Is Claude Haiku 4.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 Haiku 4.5 use?
1 message each on Pro, where it has 250 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.