The Tech ArchiveThe Tech ArchiveThe Tech Archive
Small BusinessMarketingDevelopers
ArticlesTopicsSeriesAbout

Get the practical AI brief

Verified, no-hype AI tips you can actually use - in your inbox. Free.

No spam. We verify what we send. Unsubscribe anytime.

The Tech ArchiveThe Tech Archive

The Tech Archive

AI news, analysis & explainers

AboutSmall BusinessMarketingDevelopersArticlesTopicsSeriesMethodologyAI DisclosureCorrections

© 2026 All rights reserved.

Back to home
0 readers reading
  1. Home
  2. Articles
  3. Artificial Intelligence
  4. How to Build a Custom LLM Benchmark That Tests Models on Your Real Work (2026)

Contents

How to Build a Custom LLM Benchmark That Tests Models on Your Real Work (2026)
Artificial Intelligence

How to Build a Custom LLM Benchmark That Tests Models on Your Real Work (2026)

Public benchmarks like MMLU and Arena don't tell you which AI model is best for YOUR tasks. Here's how to build a custom LLM benchmark from your own work — step by step, no infra required.

Sham

Sham

AI Engineer & Founder, The Tech Archive

16 min read
0 views
July 30, 2026

Verdict: Stop choosing AI models based on public benchmark leaderboards. In 2026, every frontier model scores above 88% on MMLU, making the test statistically meaningless for differentiation (Kili Technology). The only benchmark that matters is one that tests models on your actual tasks — cold emails, code reviews, briefs, data extraction — with your rubric. You can build one in an afternoon using a CLI agent, your chat history, and a scoring sheet. Here's how.

Last verified: 2026-07-30 · The how-to for builders, founders, and small teams who want a data-driven answer to "should I switch models?" · Volatile facts: AI pricing and model versions change fast — re-verify before relying on exact numbers.


Why public LLM benchmarks stopped helping you pick a model

Public benchmarks measure general capability. They were never designed to predict how a model performs on your specific workload — and in 2026 that gap has become unbridgeable for three structural reasons:

1. Benchmark saturation. MMLU, the most-cited knowledge benchmark, is functionally saturated: every frontier model scores between 88% and 94%, while the estimated human-expert ceiling is 89.8% (aitecknews.com). A 2-point difference falls within the measurement noise of the test itself. GSM8K (grade-school math) is even worse — GPT-5.3 Codex scores 99%, rendering it useless for comparison.

2. Data contamination. Benchmark questions and their near-variants leak into training data, inflating scores without reflecting genuine capability. A model that "aced" a benchmark may simply have seen it during pre-training (tracebloc.io).

3. Domain mismatch. MMLU tests multiple-choice trivia across 57 academic subjects. HumanEval checks if a model can write a Python function from a docstring. Neither tells you whether the model can draft your email style, follow your formatting rules, or classify a support ticket the way your team needs it done (buildmvpfast.com).

The result: a model that tops every leaderboard can confidently give a customer the wrong answer about your own dispute process. The generic benchmark said everything was fine. Production said otherwise.


What is a custom LLM benchmark and why should you build one?

A custom LLM benchmark is an evaluation framework that tests language models against your specific tasks, your prompts, and your quality criteria — rather than a generic, public test set. It turns the model-selection question from "who wins the leaderboard?" into "which model actually does my work better, cheaper, and faster?"

The core insight is this: you already have the raw material. Your chat history — thousands of conversations with AI assistants, API calls, prompts, and outputs — is a goldmine of real, domain-specific test cases. Instead of hoping a reviewer tests your exact use case, you can mine your own history for recurring tasks and replay them across multiple models under controlled conditions.

This approach has become standard practice among ML practitioners in 2026. As one developer on r/LocalLLaMA put it: "I have been working on custom benchmarks for LLMs in specific roles. It takes a lot of time, interviews with SMEs reviewing Q&A pairs. It's not easy to get a reproducible and measurable benchmark especially in specialty roles." (buildmvpfast.com)


How to build a custom LLM benchmark in 7 steps

The framework below works with any CLI agent (Claude Code, OpenAI Codex, Gemini CLI) and requires no special infrastructure — just your existing chat history and a text editor.

Step 1: Mine your chat history for recurring tasks

Open your AI chat history (Claude, ChatGPT, your API logs — wherever you already work) and have an AI assistant scan it for patterns. The goal is to identify the 5–10 task categories that represent the bulk of your actual AI usage.

What to look for:

  • Cold emails or outreach messages you ask the AI to draft or refine
  • Code reviews or bug-fix explanations
  • Document summaries and meeting notes
  • Data extraction or classification tasks
  • Blog post drafts or content outlines
  • Customer support replies
  • Any task you've asked the AI to do more than once

How to do it: Export your chat history (most platforms let you download it as JSON). Feed it to a capable model and ask: "Analyze these conversations. Group them by task type. Tell me the top 5–10 recurring task categories and what percentage of total conversations each represents."

This isn't about finding exotic tasks — it's about finding the tasks that eat most of your time and tokens. A developer might discover that 40% of their AI usage is code review, 25% is bug diagnosis, and 15% is documentation. A marketer might find that 50% is email copywriting and 30% is ad creative.

Step 2: Build a golden dataset from real inputs

A golden dataset is a curated set of input-output pairs that represent what "good" looks like for your specific use case. Experts recommend starting with 20–50 test cases for a quick sanity check, and growing to ~100 for reliable metric reporting (buildmvpfast.com).

How to build it:

  1. For each task category from Step 1, pull 5–10 real prompts or inputs from your history. Use the actual emails, actual code snippets, actual briefs — not synthetic proxies.
  2. For each input, note what a "good" output looks like. You don't need a perfect reference answer; a checklist ("mentions the deadline, includes a CTA, under 150 words") is enough.
  3. Include edge cases: ambiguous instructions, unusually long inputs, tasks where the model needs to follow a specific format.

Pitfall to avoid: Don't use generic test sets. If your work is writing cold emails, a generic "summarize this article" test won't tell you anything useful. Match the dataset to the actual work.

Step 3: Define your scoring rubric

This is the part that makes your benchmark yours. A rubric is a structured set of criteria used to assess whether a model response meets your requirements (twine.net). You define the dimensions of quality that matter for your work.

A practical rubric for most knowledge-work tasks includes five dimensions:

Dimension What it measures Scoring
Quality Is the output actually good? Does it meet the standard you'd accept in production? 1–10 scale with your own criteria
Instruction fidelity Did the model follow your exact instructions? Constraints met? Format correct? Binary pass/fail per constraint
Token efficiency How many tokens did it consume? More tokens = more cost and slower responses Token count logged per run
Speed How long did the response take? Latency matters for interactive use Wall-clock time per run
Turn count How many back-and-forth turns or tool calls did the model take? More turns = more context bloat and cost Integer count per run

The quality and instruction fidelity dimensions are subjective — that's fine. The point is that you define them, not a generic test. You can base quality on tone, conciseness, persuasiveness, or even a "vibe check" (how does the output feel to you? Is the model verbose? Judgmental?). The rubric is personal because the benchmark is personal.

Pro tip: Convert subjective criteria into binary yes/no questions where possible. Instead of "Rate helpfulness from 1–5," ask "Does the response directly answer the user's question? Yes or No." Binary scoring reduces noise and lets you use cheaper judge models (buildmvpfast.com).

Step 4: Set up your comparison harness

You need a way to run the same inputs through multiple models under identical conditions and collect the results. The simplest approach: use a CLI agent with a custom slash command.

With Claude Code (or similar CLI agents): In 2026, custom slash commands and Skills were unified in Claude Code — a file at .claude/commands/benchmark.md or .claude/skills/benchmark/SKILL.md both create the /benchmark command (Agentic School, Claude Code Docs).

Create a command that:

  1. Takes a comparison instruction (e.g., "compare Model A on low effort vs Model B on low effort for copywriting")
  2. Runs each input from your golden dataset through both models
  3. Logs the raw output, token count, wall-clock time, and turn count for each
  4. Uses a judge step to score each output against your rubric
  5. Produces a comparison report

Controlled conditions checklist:

  • Same prompt for every model (only the model identity changes)
  • Same temperature (e.g., 0 for deterministic tasks, 0.7 for creative tasks)
  • Same system prompt (unless you're testing system prompts too)
  • Multiple trials (3–5 runs per model per task to reduce variance)

Step 5: Run the benchmark and score the results

Execute your benchmark command and let it run. A full comparison across 5–10 tasks with 3 trials each typically takes 20–40 minutes of automated run time.

What to collect per run:

Metric Source
Raw output text Model response
Quality score (1–10) Your rubric / LLM judge
Instruction fidelity (pass/fail) Checklist per constraint
Input tokens API response metadata
Output tokens API response metadata
Wall-clock time Timestamps
Turns / tool calls Agent loop metadata
Estimated cost Token count × model price

LLM-as-a-judge bias warning: Models prefer outputs that look like their own style. If you use GPT-5 as your judge, it may systematically favor GPT-5 outputs. Mitigate this by using a different model as judge than the ones you're comparing, or by calibrating against your own human judgment on 30–50 examples and checking for >80% agreement (MindStudio).

Step 6: Read the report and make a decision

After the runs complete, aggregate the results into a comparison table. The goal is clarity, not perfection.

Sample report format:

Task % of my workload Model A score Model B score Winner Notes
Email copywriting 35% 8.2/10, 420 tok, 3.1s 7.8/10, 380 tok, 2.4s Tie (B cheaper) A talks like a person; B is more concise
Code review 25% 7.5/10, 680 tok, 5.2s 9.1/10, 720 tok, 4.8s B A missed a brief; B caught the bug
Doc summaries 15% 8.8/10, 290 tok, 1.8s 8.6/10, 310 tok, 1.9s Tie Both fine; A slightly better prose
Overall — 8.1 avg 8.5 avg B B wins 2/3 categories and costs less

The decision framework:

  • If Model A and B are "dead even" on quality after multiple trials, the winner is the cheaper/faster one. Don't switch your workflow for a tie.
  • If Model B wins on quality but costs 2x more, check whether the quality gap maps to a category that matters to your business. A 10% quality bump on email copywriting (35% of your workload) may justify the upgrade. The same gap on a low-frequency task may not.
  • If a cheaper model on "low effort" mode matches an expensive model on "high effort" mode, run the cheaper model. Most knowledge-work tasks don't need maximum reasoning depth.

Step 7: Schedule re-runs and keep the benchmark versioned

Models change. Claude Opus 5 today is not the same model it will be in three months. Your benchmark should be re-runnable and version-controlled.

Recommended cadence:

  • Re-run on every major model release (new Opus, new GPT-5.x, new Gemini) — this is when the decision actually matters
  • Re-run quarterly even without releases, to catch silent model updates (providers update weights without announcements)
  • Version your benchmark — if you change test prompts or rubric criteria between runs, results aren't comparable. Tag each run with a benchmark version number

What does it cost to run a custom LLM benchmark?

The cost depends on the models you're comparing and the size of your golden dataset. Here are the 2026 API prices for the major frontier models, per 1 million tokens:

Model Input (\(/1M) | Output (\)/1M) Context Source
Claude Opus 5 $5.00 $25.00 1M aipricing.guru
Claude Opus 4.8 $5.00 $25.00 1M getapipulse.com
Claude Fable 5 $10.00 $50.00 1M aipricing.guru
Claude Sonnet 5 $2.00 (intro) $10.00 (intro) 1M aipricing.guru
Claude Haiku 4.5 $1.00 $5.00 200K getapipulse.com
GPT-5.6 Sol $5.00 $30.00 1M benchlm.ai

Estimated cost per benchmark run: A typical run with 50 test cases, averaging ~2,000 input tokens and ~400 output tokens per case, across 2 models with 3 trials each = 300 total completions. At Opus 5 pricing, that's approximately $3 in input tokens + $3 in output tokens = **$6 per full run**. With Sonnet 5 or GPT-5, roughly $1–$2. For the decision it helps you make (which model to commit to for months), this is negligible.


Should you use LLM-as-a-judge or score outputs yourself?

Both. For scale, use an LLM judge to score all outputs automatically. For calibration, manually score 30–50 of the same examples and check whether your judge agrees with you. If agreement is below 80%, your rubric is too vague — rewrite it with more specific criteria (buildmvpfast.com).

Common judge pitfalls:

  • Length bias: Judges prefer longer outputs regardless of quality. Mitigate with explicit length penalties.
  • Self-preference: GPT judges favor GPT outputs. Use a different model as judge, or cross-validate.
  • Position bias: In side-by-side comparisons, judges favor whichever output is presented first. Randomize the order.

What this means for you

If you're a solo builder or freelancer: Your chat history is your benchmark. You already have hundreds of real test cases sitting in your AI conversations. Export them, categorize them, and replay them whenever a new model drops. The /benchmark command takes 30 minutes to run and gives you a clear verdict: switch or stay.

If you run a small business: The question isn't "what's the best AI model?" — it's "which model handles my top 5 recurring tasks best at the lowest cost?" A custom benchmark answers this directly. You may find that a cheap model on low effort handles 80% of your work fine, and you only need the expensive model for the hard 20%. That's real money saved every month. For a deeper dive on routing models by effort level, see our Claude Opus 5 enterprise cost strategy guide.

If you're evaluating AI for a team: Build the golden dataset collaboratively — each team member contributes their most common task type. Run the benchmark quarterly and track trends over time. When a new model launches, you have a 30-minute test instead of a two-week guessing game. For more on structured evaluation frameworks, see our guide on building LLM agent evals that actually work.


FAQ

Q: Do I need coding skills to build a custom LLM benchmark? A: No. If you can use a CLI agent like Claude Code or Codex and write a markdown file, you can build one. The benchmark command is just a markdown file that instructs the agent to run your test cases through multiple models, collect results, and score them. No custom code is required — the agent does the orchestration.

Q: How many test cases do I need for a reliable benchmark? A: Start with 20–50 test cases across your top 5 task categories for a quick sanity check. For statistically reliable results, grow to ~100 cases. If your eval suite never fails, it's not testing anything useful — add harder cases until you see real differentiation between models (buildmvpfast.com).

Q: Can't I just trust the Chatbot Arena leaderboard? A: Arena Elo reflects aggregate human preference across random users — it doesn't predict performance on your tasks. A model that ranks #1 on Arena may underperform on your specific email style, codebase, or formatting requirements. Use Arena to narrow the field to 3–5 candidates, then use your custom benchmark to make the final call (jobsbyculture.com).

Q: Should I test models at different effort/reasoning levels? A: Yes — this is one of the highest-value things a custom benchmark can do. A model on "low effort" or "fast mode" may match a more expensive model on "high effort" for most of your tasks. Testing across effort levels tells you whether you're overpaying for reasoning depth you don't need. See our Claude Opus 5 effort dial guide for how Anthropic's effort levels work.

Q: How do I avoid bias when using an AI to judge AI outputs? A: Three mitigations: (1) use a different model as judge than the ones you're comparing, (2) convert subjective rubric criteria to binary yes/no questions to reduce noise, and (3) calibrate the judge against your own human scoring on 30–50 examples. If judge-human agreement is below 80%, rewrite your rubric with more specific criteria (MindStudio).

Q: What's the biggest mistake teams make with custom benchmarks? A: Overfitting the benchmark to favor one model. It's tempting to iterate your test cases until your preferred model scores well — resist this. Your test cases should come from real use cases, not from model behavior. A benchmark that always confirms your existing preference is not testing anything (MindStudio).


Sources
  • Kili Technology — "AI Benchmarks 2026: Top Evaluations and Why They're Not Enough" — https://kili-technology.com/blog/ai-benchmarks-guide-the-top-evaluations-in-2026-and-why-theyre-not-enough
  • BuildMVPFast — "Custom LLM Evaluation Frameworks: Building Benchmarks That Actually Measure Your Use Case" — https://www.buildmvpfast.com/blog/custom-llm-evaluation-framework-benchmark-use-case-2026
  • Tracebloc — "LLM Benchmarking: How to Evaluate Models on Your Data" — https://tracebloc.io/blog/llm-benchmarking
  • MindStudio — "How to Use AI Agents to Run LLM Benchmarks: A Custom Evaluation Framework" — https://www.mindstudio.ai/blog/ai-agents-custom-llm-benchmark-evaluation
  • JobsByCulture — "LLM Evaluation Guide 2026: How to Benchmark & Compare Models" — https://jobsbyculture.com/blog/llm-evaluation-guide-2026
  • Twine — "How to Write an LLM Evaluation Rubric" — https://www.twine.net/blog/how-to-write-an-llm-evaluation-rubric/
  • aitecknews.com — "When Every Model Scores 88%: Why Benchmark Saturation Is Breaking AI Evaluation" — https://aitecknews.com/en/articles/2026-07-02-when-every-model-scores-88-why-benchmark-saturation-is-break
  • Agentic School — "Claude Code Skills and Slash Commands" — https://agenticschool.dev/guides/claude-code-skills-and-commands
  • Claude Code Docs — "Slash Commands in the SDK" — https://code.claude.com/docs/en/agent-sdk/slash-commands
  • aipricing.guru — "Anthropic Claude API Pricing (July 2026)" — https://www.aipricing.guru/anthropic-pricing/
  • BenchLM.ai — "OpenAI API Pricing (July 2026)" — https://benchlm.ai/openai/api-pricing
  • getapipulse.com — "Anthropic API Pricing Guide 2026" — https://www.getapipulse.com/anthropic.html

Updates & Corrections
  • 2026-07-30 — Published. First verified date. All pricing, model versions, and benchmark saturation statistics checked against primary sources as of this date.

Get the practical AI brief

Verified, no-hype AI tips you can actually use - in your inbox. Free.

No spam. We verify what we send. Unsubscribe anytime.

Tags

#Claude#"GPT-5"#"prompt engineering"]#["LLM evaluation"#"custom benchmark"#"AI model comparison"

Discussion

0 comments
Sham

Sham

AI Engineer & Founder, The Tech Archive

AI engineer (Azure AI-102/AI-900). Writes practical, tested, hype-free guides on using AI for real work and small business at The Tech Archive.

Related Articles

View all
How to Use Claude With Obsidian as a Free AI Second Brain in 2026 (Both Methods, Real Limits, Working Setup)
Artificial Intelligence

How to Use Claude With Obsidian as a Free AI Second Brain in 2026 (Both Methods, Real Limits, Working Setup)

20 min
DeepSWE vs SWE-bench Pro: Why AI Coding Benchmarks Are Breaking and What Replaces Them (2026)
Artificial Intelligence

DeepSWE vs SWE-bench Pro: Why AI Coding Benchmarks Are Breaking and What Replaces Them (2026)

15 min
Can an AI Agent Workspace Replace GitHub? What Open-Source Git Hosting Inside a Chat Platform Actually Changes in 2026
Artificial Intelligence

Can an AI Agent Workspace Replace GitHub? What Open-Source Git Hosting Inside a Chat Platform Actually Changes in 2026

17 min
How to Set Up Buzz With Claude Code and Codex in 2026: A Team Agent-Collaboration Guide
Artificial Intelligence

How to Set Up Buzz With Claude Code and Codex in 2026: A Team Agent-Collaboration Guide

15 min
Why Most Enterprise AI Projects Never Scale in 2026 (and the 3-Pillar Framework That Fixes It)
Artificial Intelligence

Why Most Enterprise AI Projects Never Scale in 2026 (and the 3-Pillar Framework That Fixes It)

17 min
10 Free Open-Source AI Tools You Can Actually Run in 2026
Artificial Intelligence

10 Free Open-Source AI Tools You Can Actually Run in 2026

19 min