29.3 Tiers: quality, latency and cost
- Approved by
- Panaversity ·
In everyday life. A baker pays a high price for her flour and wonders whether a cheaper flour would do. She does not compare the price per kilo. She compares what each good loaf costs her, because a loaf that falls flat is thrown away and still used up flour. So she bakes the same recipe with both flours, in the same oven, at the same heat, for the same time. She bakes it three times with each flour. Before she tries a new flour at all, she checks whether a lower heat would save fuel with the flour she has. In this section, the flour is the model's tier, the heat is effort, the recipe is the step's suite cases, and a good loaf is an accepted result.
What you will learn. You practice this in Lab 29, Task 4.
- What is a tier, and what are today's?
- How do you compare two tiers on one step?
- When do you keep the cheaper tier?
- Where does latency go?
- Why try effort before a tier?
Why it matters. A smaller tier costs less for each token. It is a saving for Brightline only if it costs less for each result the step's checks accept, and only if Ana's suite does not get worse. A price list cannot tell you either. A run on the step's own cases can.
At work. Tuesday, May 11, 2027, 11:00 a.m. The extraction runs on claude-sonnet-5-5, pinned in the portal's config. You want to know whether Claude Haiku 5.5 would do the same job. You send the 16 extraction cases of Chapter 24's suite as one batch. Sonnet 5.5 and Haiku 5.5 each run three trials, with the same effort and the same max_tokens. Each request gets its own id, such as INV-8340-haiku-t2.
What is a tier, and what are today's?
A tier is a level in one vendor's family of models: a higher tier usually does more and costs more for each token. Anthropic lists four current models, from the top tier down:12
| Model | API id | Input / output, USD per million tokens | Default effort |
|---|---|---|---|
| Claude Fable 5.2 | claude-fable-5-2 | $8 / $40 | high |
| Claude Opus 5.5 | claude-opus-5-5 | $4 / $20 | medium |
| Claude Sonnet 5.5 | claude-sonnet-5-5 | $2 / $10 | high |
| Claude Haiku 5.5 | claude-haiku-5-5 | $0.10 / $0.50, for prompts up to 100,000 tokens | medium |
All four have a context window of 1M tokens and an output limit of 128K tokens.1 Haiku 5.5 is the one current model whose price depends on the prompt's length. Over 100,000 input tokens, counting cache reads and writes, the whole request pays $0.50 / $2.50.2 An extraction is far below that. Before you price a long step on Haiku 5.5, read its input tokens in the usage log (29.6).
Anthropic's own advice runs from the top: "If you're unsure which model to use, start with Claude Opus 5.5 for most workloads." It keeps Fable 5.2 for "demanding reasoning and long-horizon agentic work, or when your evals on Claude Opus 5.5 at higher effort still fall short."13
The exam guide reasons with three tiers: Opus, Sonnet and Haiku. Today there is a fourth above Opus, Fable. Names and prices move, so reason by tier and by the step's binding constraint (29.4), never by a model's name.
How do you compare two tiers on one step?
Run the step's own suite cases on both tiers, with only the tier changed, and divide each tier's spend by the results that passed. Anthropic's advice is short: "Compare on cost per solved task, not per token."4 At Brightline a solved task is an accepted result, the unit of this chapter.
Change only the tier. Effort and max_tokens must be the same on both models, and you must write them in the request. If you leave effort out, each model uses its own default: high on Sonnet 5.5 and medium on Haiku 5.5.5 Then you would compare two changes at once, and you could not say which one moved the result. The extraction runs on Sonnet 5.5's default today, so both models run at high.
Run both models in the same batch, three trials each. Then both models are served under the same conditions, on the same day. The batch costs half the standard price, and every request needs a custom_id that no other request in the batch uses.6 Since Chapter 25 an extraction is two requests, so the batch goes in two rounds. 29.8 shows how.
Here is the arithmetic, with example numbers, not from a recorded run, at the standard prices above. Take the example invoice of 29.1, with 5,930 input tokens and 1,000 output tokens for its two requests. Suppose both models use the same counts:
- Sonnet 5.5: input 5,930 × $2 ÷ 1,000,000 = $0.01186, output 1,000 × $10 ÷ 1,000,000 = $0.01000, so $0.02186 an invoice.
- Haiku 5.5: input 5,930 × $0.10 ÷ 1,000,000 = $0.000593, output 1,000 × $0.50 ÷ 1,000,000 = $0.000500, so $0.001093 an invoice.
Over 16 cases and three trials, each model makes 48 extractions. Now make up a result, only to show the method. Suppose Sonnet 5.5 passes 47 (16, 16 and 15 in the three trials) and Haiku 5.5 passes 42 (13, 14 and 15). Then:
- Sonnet 5.5: 48 × $0.02186 = $1.049, divided by 47, is about $0.0223 for each accepted result.
- Haiku 5.5: 48 × $0.001093 = $0.0525, divided by 42, is about $0.00125 for each accepted result.
On cost per accepted result, Haiku 5.5 is far cheaper. But the six answers it got wrong are not priced anywhere. In live work, each one stops at a gate and goes to Ana Morales, or passes a gate it should not. So cost per accepted result ranks two tiers only after both have passed the keep rule below. Real token counts also differ between models. Read each model's own usage fields, and never assume the counts above.
Figure 29.2. Two tiers on one step. The candidate is kept only if its lowest trial reaches the current model's lowest. Then cost per accepted result decides.
When do you keep the cheaper tier?
Keep it only if its lowest trial passes at least as many of the step's cases as the current model's lowest trial. Even then, keep it only until the next week's gate counts confirm it. Use the lowest trial, because a model's answers vary between runs (29.1), and one lucky trial proves nothing. Next to each case, the report shows pass^3, whether all three trials passed (24.6). In the made-up example, Haiku 5.5's lowest trial is 13 and Sonnet 5.5's is 15. So Haiku 5.5 would not be kept, however cheap it is. Brightline's real answer comes from the recorded batch, in Lab 29, Task 4.
A candidate that passes is kept provisionally, which means for now, until live results confirm it. Sixteen cases are a small sample of a week's invoices. So the switch goes live for one step, and the next week's 7:10 reports count what each gate stopped. If more invoices go to needs_review than before, the switch is undone.
One step has no live check: Ana's questions in the portal. No gate marks her answers, so no week can confirm a change. That step is judged on the suite's 26 question cases alone, and the report says so.
Where does latency go?
In a column of its own, beside cost and the suite result. Latency is how long a step waits for its answer. It matters where a person waits, as Ana does for a portal answer. For the extraction it matters little, because nobody waits for it before 7:10. There the deadline is the constraint, not the seconds (29.8).
Measure latency in realtime, by timing each call. A batch cannot measure it, because its results come only when the whole batch ends.6 Latency also has a lever of its own. Fast mode on Opus 5.5 gives up to 2.5 times the output tokens per second. It costs $8 / $40 a million tokens, twice the standard price, and it is not available in a batch.72
Why try effort before a tier?
Because effort changes less, and costs one setting. Anthropic says: "Tuning effort is often a better lever than switching models."3 A lower effort on the model you have keeps its prompts and the behavior you know. 29.2 sweeps effort on the step's suite cases. Try a smaller tier only when that sweep stops saving. The same order holds when you move up a tier. One of Anthropic's two reasons for Fable 5.2 is that your evals on Opus 5.5 "at higher effort still fall short".
The operating rule: compare tiers on one step's suite cases, with only the tier changed. Keep the candidate only if its lowest trial matches the current model's lowest, and let cost per accepted result rank what remains.
Check yourself
Question 1 / 6
0 answered
You compare two tiers on the extraction step. Which measure does the section say to compare them on?
Sources
- Owner
- Panaversity