Ship C · router. +$9,155 a month after eval spend.
Watch hallucination hardest. Reaching its alert costs $1,115 a month.
EV per request
A · no retrieval A −$0.052 best
B · RAG B +$0.230 best
C · router C +$0.230 best
watch list now alert at lost at alert
hallucination rate* 2.0% 3.0% $1,115 / mo
tool-call success, per step 99.0% 98.5% $0 / mo
quality lost per week* 0.0% 1.0% $240 / mo
sample agreement* 5 samples < 4 of 5 sets the gate
tokens per byte* 1.00× 1.30× $20 / mo
cost per resolved task* $0.0025 +25% $17 / mo
Eval budget
Re-run the golden set every 13 weeks and on every model or prompt change. $33 a month.
Send the 3.2% of runs where samples disagree to a person. +$688 a month, 11 reviewer-hours.
* illustrative starting points, not measurements. Everything else is from the published experiment.
What each metric means
- hallucination rate
-
Share of answers with a claim the retrieved context doesn't support. Sample 1 to 2% of traffic daily, let an
LLM judge check each claim against the context, and audit a slice of the judge by hand every week. It
lowers p and raises risk. For measuring before you optimise, read The Humble AI Engineer.
- tool-call success, per step
-
Share of tool calls that return a valid result the next step can use: schema-valid, no error, no timeout, no
retry. It is r, and it compounds: over 40 steps, 99% per step finishes 68% of tasks and 98.5% finishes 55%.
- quality lost per week (drift)
-
The drop on a fixed, versioned golden set between runs. Re-run it on a schedule and on every model, prompt
or provider change. PSI on input features (length, language, intent) is the early warning: 0.1 to watch,
0.25 to act, as a rule of thumb.
- sample agreement (consensus)
-
Sample 5 answers, or check the answer against each source. When they disagree, a person
looks. A gate only pays if the signal behind it is calibrated: a random gate catches errors at the base rate
and loses money. For a worked agreement eval, see the harness in The Opportunity Belongs to the Consensus.
- tokens per byte
-
Billed tokens per byte of input, against launch. It rises with new languages, code, tables and pasted logs,
and it moves cost without any change to the model. For where tokens go in an agent, read The EV+ of GenAI, Part 3: Agentic Cost Tuning.
- cost per resolved task
-
All spend (inference, retries, review) divided by tasks that succeeded. It is the observability row: without
a trace per request, carrying cost and outcome, none of the rows above can be computed.
Also worth measuring, and not modelled here:
- calibration (ECE): is a 0.8 confidence right 80% of the time? It decides whether agreement can drive a gate.
- abstention rate: refusing too often lowers p; refusing too rarely raises risk.
- retrieval recall@k, context precision: did the right passage arrive, and with how much noise. The first place to look when hallucination rises.
- judge agreement with humans (Cohen's kappa): if the judge disagrees with people, every judged metric is noise.
- prompt-injection success rate: from a red-team suite on every release. It moves risk.
- thumbs-down and escalation rate: cheap, late labels for p.
- latency p95, time to first token: they move p through abandonment, which is product-specific.
- retries and loops per run: a cost multiplier hiding inside "tokens".
Show the arithmetic
EV = p_task · bv − cost − risk
p_task = p · (1 − h)/(1 − h0) · r^(steps−1) · q̄(δ, T)
risk = $0.05 · h / h0
q̄(δ,T) = (1 − (1 − δ)^T) / (T·δ) mean quality over a T-week re-eval cycle
gate = runs where samples disagree, escalated at $60/h × 30 s
At launch (h = h0 = 2.0%, δ = 0, 1 step) every new factor is 1, and the figure is the
published one from the EV+ experiment:
A: 0.00 × 0.42 − 0.0015 − 0.05 = −$0.052
B: 0.67 × 0.42 − 0.0018 − 0.05 = 0.2814 − 0.0518 = +$0.230
C: 0.67 × 0.42 − 0.0017 − 0.05 = 0.2814 − 0.0517 = +$0.230
fine-tune: $20 / (0.45 × 0.42) = 106 requests to pay back
The model simplifies four things, on purpose:
- a golden-set re-run restores launch quality at once;
- hallucination scales p down, so A stays at zero;
- a gate removes the risk on the runs it catches and does not raise p;
- the eval spend and the gate are deltas on the month, never in the bars.
The launch hallucination rate of 2.0% splits the published $0.05 risk reserve into 2.0% ×
$2.50 per hallucination. That split is illustrative, and it is why
hallucination is the default thing to watch. A golden-set run costs $100*. The agreement check
catches 80%* of bad runs at 50%* precision.