Four Claude models, seven small tasks, five tries each
Almost every attempt passed, so the tasks were too easy to rank the models. What did differ was time and cost. The most expensive model cost 46 times as much as the cheapest.
Four Claude models did the same seven coding tasks inside Claude Code, five times each. That is 140 attempts. This is a small test with clear limits, and they are listed below.
Question
Do the bigger, more expensive Claude models do better on small coding tasks?
Setup
- Agent: Claude Code 2.1.327
- Models: Fable 5.2, Opus 5.5, Sonnet 5.5, and Haiku 5.5
- Tasks: the seven tasks in How the benchmark works, from a small bug fix to a spreadsheet engine with 25 rules
- Attempts: 5 for each model on each task
- When: the evening of November 30, 2026 (US Eastern), on a Mac with Node 24.20.0
Results
| Model | Passed | Time for all tasks | Cost for all tasks |
|---|---|---|---|
| Fable 5.2 | 35 of 35 | 368 s | $1.79 |
| Opus 5.5 | 35 of 35 | 268 s | $0.72 |
| Sonnet 5.5 | 35 of 35 | 127 s | $0.20 |
| Haiku 5.5 | 34 of 35 | 283 s | $0.04 |
How to read the numbers:
- Time is wall-clock time from the start of the agent to its end. For each task the middle value of the five attempts is taken, and the seven middle values are added up.
- Cost is the average cost of doing all seven tasks once: the total for the model divided by five. It is what Claude Code reported for each session, not a bill.
- The whole run cost $13.72 by the same count.
The table for each task is at the end of this page.
What happened
- Passing was not the hard part. 139 of 140 attempts passed every test, the hidden ones included.
- The one failure was Haiku 5.5 on the spreadsheet engine, the biggest task. On one of its five tries it passed 23 of the 24 tests.
- Sonnet 5.5 was the fastest by a wide margin. It did all seven tasks in about two minutes. Opus 5.5 took more than twice as long, and Fable 5.2 almost three times as long.
- Haiku 5.5 was the cheapest but not the fastest. It took about as long as Opus 5.5. It also used far more tokens: about 313,000 for the seven tasks, against 90,000 for Sonnet 5.5. Those counts include tokens read from the cache.
- Fable 5.2 cost 46 times as much as Haiku 5.5 and 9 times as much as Sonnet 5.5. Both ratios come from the exact figures, not from the rounded ones in the table. Fable 5.2 and Sonnet 5.5 passed all 35 attempts, and Haiku 5.5 passed 34.
Where this run falls short
- The tasks are too easy to rank the top three models. All three passed everything, so this run says nothing about which one is better at hard work.
- One failure in 35 tries is too little to say how often Haiku 5.5 slips on the biggest task.
- The times come from one evening and depend on how busy the model’s servers were. Up to three attempts per model ran side by side.
- One Fable 5.2 attempt at the log cleanup task took 404 seconds. Its other four took 41 to 62 seconds. The middle value hides this attempt, which is why it is listed here.
- The tasks were written with the help of a Claude model, and only Claude models were run.
- Before this run there were trial runs: 30 scored attempts, of which 29 passed, for $2.90. They were used to find mistakes in the setup and are not in the table. The one failure among them was caused by the setup. It is described in How the benchmark works.
What it shows
On small tasks with clear rules, the cheaper models passed almost all of the same tests as the expensive ones. Sonnet 5.5 passed every attempt in the least time, at a ninth of the price of Fable 5.2. Haiku 5.5 failed one attempt in 35, at a fifth of the price of Sonnet 5.5. This run cannot show what the bigger models are for. That needs harder tasks.
Run of Nov 30, 2026
| Task | Fable 5.2 | Opus 5.5 | Sonnet 5.5 | Haiku 5.5 |
|---|---|---|---|---|
| Write a retry helper | 5 of 5, 14s | 5 of 5, 15s | 5 of 5, 8s | 5 of 5, 8s |
| Fix a latency report | 5 of 5, 20s | 5 of 5, 15s | 5 of 5, 9s | 5 of 5, 10s |
| Fix an invoice calculator | 5 of 5, 34s | 5 of 5, 31s | 5 of 5, 16s | 5 of 5, 22s |
| Find the next cron run | 5 of 5, 39s | 5 of 5, 29s | 5 of 5, 16s | 5 of 5, 24s |
| Merge config layers | 5 of 5, 62s | 5 of 5, 44s | 5 of 5, 18s | 5 of 5, 42s |
| Fix a log cleanup script | 5 of 5, 42s | 5 of 5, 41s | 5 of 5, 14s | 5 of 5, 44s |
| Build a spreadsheet engine | 5 of 5, 157s | 5 of 5, 94s | 5 of 5, 46s | 4 of 5, 133s |
| Passed | 35 of 35 | 35 of 35 | 35 of 35 | 34 of 35 |
| Time for all tasks | 368s | 268s | 127s | 283s |
| Cost for all tasks | $1.79 | $0.72 | $0.20 | $0.04 |
| Tokens for all tasks | 192K | 145K | 90K | 313K |
Each task was tried 5 times. A task cell shows how many tries passed and the middle time of those tries. The last three rows are for one try at every task: time adds up the middle times, and cost and tokens are averages. Ran on macOS arm64, Node 24.20.0.
Fable 5.2 is Claude Code 2.1.327 with claude-fable-5-2. Opus 5.5 is Claude Code 2.1.327 with claude-opus-5-5. Sonnet 5.5 is Claude Code 2.1.327 with claude-sonnet-5-5. Haiku 5.5 is Claude Code 2.1.327 with claude-haiku-5-5.