A token is the unit a language model reads, writes and bills in. I gave the same 71 tasks to three Claude models. The mid-size one got 57 of 63 right for about half the price of the largest, which got 58. In this test the model choice moved the bill far more than trimming the context did.
A token is the unit a language model reads, writes and bills in. I gave the same 71 tasks to three Claude models and counted every token. The largest model got 58 of 63 checkable tasks right. The mid-size one got 57 at about half the cost. The smallest got 48. That choice moved the cost far more than disconnecting eight unused servers did, and the reason is where the tokens go.
What a token is
A model does not see letters or words. Before it reads your text, a tokenizer cuts it into tokens. Common words become one token, rarer words split into several pieces, and punctuation often becomes a token of its own. A common rule of thumb for English is about three quarters of a word per token. It is only a rule of thumb: the split depends on the tokenizer, and Anthropic notes that its newer models produce about 30% more tokens for the same text than earlier ones. The three models in this test use the same newer tokenizer, so their counts compare directly.
The model then writes its answer one token at a time, each one chosen from what came before.
Using a model is counted in these units. The context window, how much the model can hold at once, is a number of tokens. API prices are per million tokens, with input and output priced separately, and rate limits depend on tokens used.
Where the tokens actually go
People picture a token bill as the question plus the answer. In this test it was almost neither.
Each of the 71 tasks was a single short request, and the session stopped at the model's first real tool call, so the answers were tiny by design. On every model, output was under 0.4% of all tokens. On the largest model the 71 tasks used about 9.6 million tokens, and 19,338 of them were output.
The rest was the context a session starts with: the system prompt, built-in tool definitions, skills, project instructions, and the instructions and tool list of the connected servers. Full tool descriptions load only when the model searches for them. Each model call sends that whole context again, but repeats are read from cache at a twentieth of the input price on the two larger models. What cost money was writing it into the cache in the first place, once per fresh session, about 47,000 to 50,000 tokens per task. On the largest model that was $26.69 of the $28.32. Output was $0.39.
I measured that starting context before. With every server connected, an empty Claude Code session started at 47.8 thousand tokens. After I disconnected eight servers I had not used in 30 days, it started at 34.4 thousand, about 28% less. That article covers where those tokens came from.
The test
The 71 tasks come from my tool search measurement: requests like finding a file in my notes, listing deployments or checking analytics, with eleven tool servers connected. For 63 of them the right tool was written down before the run. Each task ran in a fresh Claude Code session, and a hook recorded and blocked the first tool the model chose, so nothing was executed.
I ran the same set on three models. The largest ran on November 23, the other two on November 25, with the same servers connected; Claude Code's tool list was 31 tools longer on the 25th, for a reason I have not traced. The costs are Claude Code's own estimates at list price, not an invoice, and they reconcile to the cent with Anthropic's published prices.
| Model | Right of 63 | Cost | Cost per right answer |
|---|---|---|---|
| Claude Opus 5.5 | 58 | $28.32 | $0.49 |
| Claude Sonnet 5.5 | 57 | $14.46 | $0.25 |
| Claude Haiku 5.5 | 48 | $0.78 | $0.016 |
The three models read about the same amount: 9.6 million, 7.8 million and 9.3 million tokens. What differs is the price of each token.
I ran each model once. In an earlier pair of identical runs on one model, the score differed by two tasks, so one task between the two larger models is not a result. Ten tasks is large next to that.
What the smallest model got wrong
Ten fewer right answers sounds like the small model is simply worse. The errors are more specific.
Twelve of its fifteen misses were the same move: it reached for the command line instead of the connected tool. Nine of them were GitHub tasks, where it chose the shell over the GitHub server. By the rules of the test that counts as wrong, because the right tool was written down in advance. Some of those could still have finished the job through the gh command line tool.
So the gap is not spread evenly. On the 16 GitHub tasks the small model missed 9. On the other 47 it missed 6. Within the GitHub tasks the shell won once for the largest model, three times for the mid-size one and nine times for the small one.
Three tasks were missed by all three models. A bigger model did not fix them.
Why the model choice is the bigger lever
Disconnecting eight servers cut the starting context by about 28%. Moving the same tasks from the largest model to the mid-size one cut the bill by 49% for one right answer fewer. Moving to the small one cut it by about 36 times.
The reason is arithmetic. A smaller context saves on part of the tokens. A cheaper model lowers the price of every token the session writes, reads and produces. Anthropic's own pricing page gives the same advice in short form: Haiku for simple tasks, Sonnet for most workloads, Opus for the most complex reasoning.
My own rule is the short version: choosing the right model for the task is the basis of saving tokens.
What this test suggests doing
- Write down what right looks like before you run anything. Here that was the expected tool for each of 63 tasks.
- Run the same tasks on more than one model. Compare right answers and cost per right answer, not total cost alone.
- Read the errors, not only the score. The small model's misses clustered in one kind of task, which tells you which tasks it can take.
- Trim the context too. It lowered the starting cost of every session, on every model.
One set of 71 short tasks, one kind of work, the first tool choice only. Long sessions produce far more output, and output costs five times the input price, so the split between context and answer will look different there. The price of each token still depends on the model.
Sources
- Claude API pricing, Anthropic
- Claude Code, model configuration
- MCP Tools: I Have 738 Connected and Call 39 in a Month, BESK TECH
- MCP Tool Search: Does the Model Pick the Right Tool Out of 738?, BESK TECH
Vladimir Beskorovainyi, Enterprise AI Architect & CTO, author of the Amazon bestseller "Enterprise AI: The KATA Way", founder of Besk Tech (besk.tech)