Evaluating LLM Outputs: Building an Eval Harness That Actually Catches Regressions
"It looked fine when I tried it" is not an evaluation strategy. Here is the harness we run before any prompt or model change ships.
Most token-cost conversations jump straight to "use a cheaper model." That is the last lever to pull, not the first.
When an LLM bill triples in a month, the instinct is to swap to a cheaper model and accept the quality hit. That is a real lever, but it is the blunt one, and it is usually the fourth or fifth thing worth doing — not the first. Most cost blowouts trace back to waste, not to using an appropriately capable model.
In a recent client audit, restructuring prompts to hit provider-side caching and trimming retrieval from twenty chunks to five cut spend by more than half with no measurable quality change — before anyone touched the model tier.
A single agent often has several distinct sub-tasks — classify intent, retrieve, draft, verify — and they do not all need the same model. Routing cheap, well-defined sub-tasks to a smaller model and reserving the expensive one for the step that actually needs its reasoning is consistently the highest-leverage cost lever we pull, and it is the one closest to free: it is an architecture decision, not a quality trade-off.
Cost per API call is the wrong unit. Cost per resolved ticket, per correct answer, per completed task is the one that should drive decisions — a cheaper model that needs two retries to get a usable answer is not actually cheaper. Track the outcome-level number before making any model swap, or you will optimize the metric instead of the bill.
More from the same category.
"It looked fine when I tried it" is not an evaluation strategy. Here is the harness we run before any prompt or model change ships.
The clever prompt phrase mattered when models were smaller. What actually moves the needle now is what you put in the context window, and what you leave out.
The vector database market is crowded and most comparisons focus on benchmark recall numbers that won't matter for your actual traffic.
Thirty minutes with the people who would actually do the work — no discovery deck, no account manager.