To know whether a new model is better for you, build a small eval from your own work: 20 to 50 real tasks, each with a pass or fail check you can run in code, run three times per model. Compare models task by task, read every failure, and count cost per passed task. That catches a model that would break your product, which no leaderboard can tell you.
Why don’t benchmarks predict how a model does on your work?
Benchmarks test other people’s tasks, under other people’s harness and hardware. November 2026 made the gap hard to miss.
OpenAI said GPT-6.2 Astra beat its predecessor on all nine benchmarks it reported, including 78.3% on Agents’ Last Exam. On launch day, November 17, VentureBeat collected reactions from power users: Matt Shumer called the models “essentially unusable” and said Claude had to redo work he’d given Astra as a sub-agent. Theo Browne called it “the worst model OpenAI has ever released”. The complaints were about long projects, stopping early and being hard to redirect.
A day later, Google launched Gemini 4 Neon at #1 on Artificial Analysis’s Coding Agent Index with 58.6%, per 9to5Google. On the Hacker News thread, developers who’d tried it split by task: one put it within about 1% of Claude Fable 5.2 for about 40% of the cost, others said nothing matched Claude Opus 5.5 on long-horizon work, and several preferred it for writing.
Three measured reasons a leaderboard number won’t transfer to you:
- Hardware and limits change scores. Anthropic’s engineering team found that resource configuration alone moved Terminal-Bench 2.0 scores by 6 percentage points (February 2026). Anthropic notes that infrastructure alone can open gaps larger than the margins between top models on leaderboards.
- The harness changes the ranking. Runta’s FrontierHarness eval (November 17, 2026) ran 27,280 agent runs across 22 harnesses and 5 models. Codex CLI ranked 1st by cost per task with GLM-5.3 and 16th with Kimi-K3. And 64.5% of the list-price cost went to runs that didn’t pass.
- Models notice tests. OpenAI’s GPT-6.2 system card says “GPT-6.2 Astra showed more signs of evaluation awareness than GPT-6 Astra”, being more likely to say it suspected a test when replaying internal Codex sessions. The signs showed up in fewer than 3% of turns, but a model that can tell it’s being tested is one more reason to trust your own tasks over public scores.
None of this means benchmarks are useless. They tell you which models are worth testing. Your own eval tells you which one to ship.
How many tasks does an LLM eval need?
Twenty to fifty tasks is enough to answer “does this model break things we rely on?” It isn’t enough to answer “is this model 3 points better?”, and you should know that before you start.
The arithmetic is simple. For a pass rate p over n tasks, the standard error is sqrt(p × (1 − p) / n), and a rough 95% margin is 1.96 times that. At a 70% pass rate:
| Tasks | Approximate 95% margin on the pass rate |
|---|---|
| 20 | ±20 points |
| 30 | ±16 points |
| 50 | ±13 points |
| 200 | ±6 points |
So if model A passes 21 of 30 and model B passes 23 of 30, you’ve learned nothing from the totals. The Claude Code framing study from November 2026 shows this happening for real: on 8 kernel tasks, quality fell 25% with the full framing added (95% CI −39.6 to −6.2 points). On a rerun with 36 tasks, the gap shrank to 7%, with a confidence interval from −25 to +11 that crosses zero.
Three habits make a small eval much more useful. They come from Anthropic’s paper on adding error bars to evals:
- Compare paired, task by task. Both models answer the same tasks, so look at which tasks flipped. Anthropic found frontier models’ per-question results correlate at 0.3 to 0.7, so a paired comparison removes much of the noise.
- Repeat each task. Run every task three to five times per model and score the task on its pass rate. In our AI-visibility audits at Zaher.AI each question runs three times per engine by default, because answers change from run to run.
- Write must-pass tasks. A handful of tasks where any failure blocks the switch carries more weight than the average.
Where do the tasks come from?
From work you’ve already done. Made-up tasks test what you imagine users do, while tasks from last month’s tickets test what they actually do.
Good sources:
- Production traces and logs: Real inputs, including the messy ones.
- Past failures: Every bug report, bad output or support complaint the model caused. These are the best tasks you have.
- Finished work with a known answer: Merged PRs with their tests, resolved tickets, documents you extracted by hand.
- Edge and must-refuse cases: Empty input, the wrong language, a prompt injection in a document, a request the product should decline.
Hamel Husain and Shreya Shankar’s evals FAQ recommends doing error analysis first: read at least 30 real traces yourself and write down how they fail, before building any tooling. That reading tells you what to test.
A reasonable 30-task mix: about 18 everyday tasks, 8 known-hard tasks or past failures, and 4 edge or must-refuse cases. Write each task as:
input: the exact prompt or conversation, with the tools and context the real system givescheck: how a pass is decided, as code where possiblewhy: one line on what it protects, so the next person knows whether to keep it
Strip secrets and customer data before any task goes to a vendor.
How do you grade the answers?
Grade in code wherever you can, and use an LLM judge only for what code can’t check.
Code checks are cheap, fast and don’t drift: run the generated code’s tests, validate JSON against a schema, compare an extracted field with the known value, match a regex, check length or language. For coding tasks, “the tests pass” beats any rubric.
When you do need a judge (tone, completeness, whether an answer is grounded in the source), three rules:
- Pass or fail, not 1 to 5. Husain and Shankar’s point is that “binary evaluations force clearer thinking and more consistent labeling.”
- Different family from the contestants. Research by Panickssery, Bowman and Feng found LLMs can recognize their own outputs and rate them higher. We saw the same thing at Zaher.AI when choosing the judge for our audits. Candidate judges labeled the same stored answers, and a judge from the same model family as a candidate favored it heavily. So three judges from other vendors graded the candidates’ results blind.
- Check the judge against yourself. Label 30 to 50 outputs by hand, run the judge on them, and count where it disagrees with you before you trust it on new models.
How you send the tasks matters as much as how you grade them. In one of our pipelines the same 15 questions gave 7, 15 or 8 brand mentions depending only on how they were batched into calls, which I wrote up in three ways an LLM pipeline lies about your brand. Send each task the way production sends it, which usually means one task per call.
What does a minimal LLM eval look like?
A config file, a task file and one command. Here’s a promptfoo setup that runs the same tasks against your current model and one candidate, with a judge from a third vendor:
# promptfooconfig.yaml
prompts:
- file://prompts/support_reply.txt
providers:
- anthropic:messages:claude-opus-5-5 # current model
- google:gemini-4-neon # candidate
defaultTest:
options:
provider: openai:gpt-6.2-astra # judge from a family you're not testing
assert:
- type: latency # milliseconds; needs --no-cache
threshold: 20000
- type: cost # USD per call; needs cost data for the provider
threshold: 0.05
tests:
- description: refund request, order already shipped (past failure)
vars:
ticket: file://tasks/refund_shipped.txt
assert:
- type: is-json
- type: javascript
value: JSON.parse(output).action === "escalate"
- description: reply stays in the customer's language
vars:
ticket: file://tasks/arabic_billing.txt
assert:
- type: llm-rubric
value: The reply is written entirely in Arabic and answers the billing question.
Run it with each task repeated three times and keep the raw results:
npx promptfoo@latest eval -c promptfooconfig.yaml --repeat 3 --no-cache -o results.json
npx promptfoo@latest view
promptfoo caches responses by default, and each repeat gets its own cache slot, so a rerun without --no-cache replays last week’s answers instead of calling the model. The latency assertion needs the cache off too. promptfoo eval exits with code 100 when at least one test fails, so the same config can run in CI. The cost assertion only works when promptfoo knows the model’s price. If results show no cost for a new model, drop that assertion and compute cost from token counts yourself.
If you’re comparing models from all three big vendors at once, there’s no outside family left for the judge. In that case lean harder on code checks and on your own labels.
If your team writes Python or you’re testing agents with tools, Inspect, from the UK AI Security Institute and Meridian Labs, does the same job:
# eval_support.py
from inspect_ai import Task, task
from inspect_ai.dataset import json_dataset
from inspect_ai.scorer import includes
from inspect_ai.solver import generate
@task
def support_replies():
return Task(
dataset=json_dataset("tasks.jsonl"), # fields: input, target, id
solver=generate(),
scorer=includes(),
epochs=3, # run each sample 3 times; scores are averaged
)
inspect eval eval_support.py --model anthropic/claude-opus-5-5
inspect eval eval_support.py --model google/gemini-4-neon
inspect view
includes() passes when the target text appears anywhere in the output (case-insensitive by default), which suits fields you know exactly. For open-ended answers, Inspect’s model_graded_qa() scorer uses a model as the judge, and the same judge rules apply.
Two dates to know about tooling, as of November 2026. OpenAI’s own Evals dashboard, API and graders went read-only on November 30, 2026, and the recommended replacement is “Migrate to Promptfoo”. And promptfoo itself joined OpenAI on March 9, 2026, with a promise to stay open source and multi-provider. I wouldn’t avoid promptfoo over either, but I would keep the tasks in plain JSONL or YAML in your own repo, so the tool stays the replaceable part.
How do you compare models before switching?
Freeze everything except the model, run the eval, then read the flips.
- Freeze the setup. Same prompts, tools, harness, temperature settings and timeouts. Record the SDK and API version.
- Baseline first. Run your current model three times. Its own run-to-run spread is your noise floor.
- Give each candidate one fair prompt pass. A prompt tuned for your current model can penalize the others. Allow one documented round of prompt changes per candidate, then freeze again.
- Run candidates three times each.
- Build a per-task table. For every task: baseline pass rate, candidate pass rate. Sort by the biggest drops.
- Read every flipped task. A failure might be a broken check rather than a worse model. If the check is wrong, fix it and rerun every model, not only the one that failed.
- Count cost per passed task, not per token. Cheaper tokens that need two retries aren’t cheaper. Runta’s data on spend going to failed runs is the reason. Where the money goes after you’ve picked, and how to cut it, is in the sibling post on surviving LLM price hikes.
- Decide with a rule you wrote before the run. For example: switch only if no must-pass task regresses, the candidate wins more flipped tasks than it loses, and cost per passed task doesn’t rise.
Once you switch, the eval becomes your regression suite. Run it on every model, prompt or SDK change, before each retirement date, and on a monthly schedule against your pinned model to catch silent drift. Give eval traffic its own API key and tell your vendor contact what it is, because high-volume automated runs can look like abuse. The sibling post on treating your LLM like a dependency covers that risk, along with pinning and fallbacks.
Checklist: your first eval in a week
- Day 1: Read 30 production traces and list the failures you see.
- Day 2: Turn them into 20 to 30 tasks with code checks. Mark three to five as must-pass.
- Day 3: Add a judge only where code can’t decide, and check it against 30 of your own labels.
- Day 4: Run your current model three times to get the baseline and the noise floor.
- Day 5: Run two candidates, build the per-task table and read every flip.
- After: Put it in CI and on a monthly schedule.
Further reading and tools
- promptfoo docs and command line reference
- Inspect
- Quantifying infrastructure noise in agentic coding evals
- Hamel Husain and Shreya Shankar’s evals FAQ
- How we measure AI answers at Zaher.AI, including the judge bake-off: Zaher.AI GEO tooling
If you’re about to move a product to a new model and want help building the eval that decides it, that’s work I do as a fractional CTO.