MEASURED IN CLAUDE CODE, NOT ESTIMATED

Claude Quota by Model & Effort

Is Sonnet on high cheaper than Opus on medium? Does max effort buy anything on easy work? We gave the same coding, research and web scraping tasks - first simple, then medium - to Haiku, Sonnet, Opus and Fable across the effort levels, recorded every token, graded every answer and rated each combination. Then turned it into a playbook for everyday work. Click any cell to see what the model actually produced.
0
measured runs (simple + medium)
–
cheapest perfect on all 3
–
most quota used
–
cost spread, same tasks
–
quota ratio
Task size

Sonnet on high vs Opus on medium Simple

The classic dilemma: a smaller model thinking harder or a bigger model thinking less? Same prompt, same tools, same machine. Green = the one that used less quota.

What counts as a "simple" or "medium" task

Simple: one clear goal, a file or a page or two, an answer you can check, done in minutes. Ten examples - the three marked tested are the ones measured on this page; the others are jobs of the same size, shown for scale - they were not run, so their costs are not measured.

Coding tested

Write parse_duration("1h30m") that returns seconds and rejects bad input

Coding

Add a "copy to clipboard" button to one existing HTML page

Coding

Fix a failing unit test whose error message points to the bug

Coding

Rename a function and update every call to it in a small repo

Research tested

Find the latest SQLite, Python and PostgreSQL versions and their release dates

Research

Look up the current Claude Pro and Max plan prices on the official pricing page

Research

Find which Node.js version is the current LTS and when its support ends

Scraping tested

Save every book in the Mystery category of books.toscrape.com (2 pages) to a CSV

Scraping

Pull the Hacker News front-page headlines and links into a JSON file

Scraping

Get a product's name, price and stock status from one shop page

Medium: several files, sources or pages, a spec to follow, many small facts that all have to be right. Again the three marked tested were measured; the rest are shown for scale.

Coding tested

Make a 6-file shop app follow its README: fix 2 bugs (negative stock, VAT rounding), add discount codes and a CSV export command

Coding

Add pagination to an existing API endpoint and update its tests

Coding

Write unit tests for an untested 200-line module and fix what they uncover

Coding

Move a small script from one HTTP library to another without breaking its tests

Research tested

Find the highest stable version and release date of 8 runtimes: Python, Node.js, Go, Rust, PHP, Ruby, PostgreSQL, SQLite

Research

Compare the cheapest plan of 5 VPS providers: price, RAM, CPU and traffic

Research

Summarize the breaking changes between two major versions of a library from its changelog

Scraping tested

Scrape all 65 Fiction books on books.toscrape.com over 4 pages, opening every detail page for UPC, rating and stock

Scraping

Collect a paginated job board into one CSV and remove the duplicates

Scraping

Pull product name, price and stock from 3 different shop sites into one table

Every model at every effort level Simple

Each cell is one real run in Claude Code. The big number is what the run would cost at Anthropic's API list prices - the best public proxy for how much plan quota it eats (see how quota works). × cheapest compares it to the cheapest run that got a perfect score on the same task; redder = more quota. The badge is the graded score. Click a cell for the actual output.

Task size
Task
full marks partly right mostly wrong

Value rating per task Simple

Five stars = perfect result for at most 1.5× the quota of the cheapest perfect run. Each further step (3×, 6×, 12×) costs a star. A run that got anything wrong gets 2 stars if it was at least 80% right, otherwise 1 - a cheap wrong answer is not good value.

What the numbers say Simple

Simple vs medium: how the quota grows

The same 9 setups (Haiku, Sonnet and Opus at low, medium and high) ran both task sets. Quota = all three tasks added up at API list prices. Quota growth = medium cost divided by simple cost. Fable and xhigh/max were left out of the medium run.

The playbook: how to spend your quota well

What the 87 runs above mean for a normal working day with easy, medium and hard jobs mixed together. Rows marked not measured are advice for jobs this page did not test.

1 Pick the setup by task

The jobStart withStep up toWhy (measured)
Small function, one-file edit, quick lookupSonnet · low / mediumSonnet · highPerfect on all simple tasks for $0.21; higher effort only added cost
Multi-file feature or bug fix with a clear specSonnet · mediumOpus · low / mediumBoth 28/28 on the medium coding task; Sonnet $0.10-0.12, Opus $0.12-0.20
Research with many facts to get rightOpus · lowOpus · medium / highOpus 16/16 every time in 11-12 turns ($0.29-0.36); Sonnet also 16/16 but swung up to $0.62
Scraping, bulk data, repetitive editsSonnet · low + ask for a scriptOpus · low65 books with detail pages for $0.04: the script does the work, not the model
Hard, vague or architectural problemsOpus · high in plan modeOpus · xhigh, then Fablenot measured Hard tasks were not tested; this is where the bigger setups should earn their price
Avoid as a defaultmax effort · Haiku for research–max cost 4-5× high with no extra points; Haiku research scored 2/16 twice

2 Climb the ladder, never start at the top

1Sonnet · low / mediumeveryday default
2Sonnet · highfirst retry
3Opus · low / mediummany steps or facts
4Opus · high / xhighhard problems
5Fableonly when Opus fails

Move up one rung only after a wrong or weak answer. On every task measured here the lower rungs already scored 100%, so the higher rungs were paid for and not needed.

3 Habits that save quota

/clear between unrelated tasks

Every turn re-reads the whole conversation. A fresh context keeps each turn small. Use /compact to keep going on the same task with a shorter history.

Switch at task boundaries

/model and /effort change the setup. Prompt caches belong to one model, so switching in the middle of a long task means the history is processed again. Switch right after /clear.

Let Opus plan, Sonnet build

The opusplan model setting uses Opus in plan mode and Sonnet when it executes. Subagents can run a cheaper model with model: sonnet in their frontmatter.

Ask for a script, not for reading

For data jobs say "write a script that fetches and parses". Sonnet and Opus did that and scraped 65 books for 4-7 cents; Haiku on high kept going for 39 turns and 28 cents.

Give the exact output format

Every prompt here named the file, the columns or the line format, so a run could finish without asking back. Each extra turn re-reads the whole context.

Check /usage and /context

/usage shows your plan limits and what counts against them; /context shows what fills the context window. Look before a long session, not after the limit hits.

4 One day, three ways (measured runs)

TaskPlaybook pickQuotaOpus · high for everythingHaiku for everything
Small function (simple coding)Sonnet · low$0.033$0.089$0.046 · 20/20
Fix + extend the shop app (medium coding)Sonnet · medium$0.118$0.198$0.153 · 28/28
Look up 8 runtimes (medium research)Opus · low$0.287$0.311$0.477 · 2/16
Scrape 65 books (medium scraping)Sonnet · low$0.039$0.074$0.275 · 65/65
Day totalall correct$0.48$0.67 · all correct$0.95 · research wrong

Haiku runs are at effort high, the setting that gave Haiku its best scores. Picking per task used 29% less quota than Opus on high for everything, and about half of "always Haiku", which also got the research wrong.

How Claude plan quota is counted

What Anthropic says officially, and the price list we used to turn tokens into quota.

Model and effort both count

Anthropic's help center: usage depends on "which Claude model you're chatting with, and the effort level you've selected" - and "Higher effort uses more tokens." Source

Two limits: 5 hours and weekly

Pro and Max have a five-hour session limit and a weekly limit, shared between claude.ai, Claude Code and the IDE. Max 5x and 20x give 5 and 20 times Pro's per-session allowance. Source

Fable burns faster

Fable models "draw from your plan's regular weekly usage limits and use them faster than other Claude models"; on some plans up to 50% of the weekly limit can go to Fable. Source

No published formula

Anthropic does not publish how many tokens of which model make up 1% of your quota. That is why this page uses API list-price cost as the yardstick: it weighs input, output, cache and model price the way the bill would. Treat the ratios, not the dollars, as the answer.

ModelInput $/1M tokensOutput $/1M tokensOutput price vs SonnetEffort levels

Frequently Asked Questions