惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

A
About on SuperTechFans
C
Cybersecurity and Infrastructure Security Agency CISA
N
News and Events Feed by Topic
C
Cisco Blogs
Cisco Talos Blog
Cisco Talos Blog
A
Arctic Wolf
Scott Helme
Scott Helme
P
Palo Alto Networks Blog
S
Schneier on Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
T
Tor Project blog
量子位
G
Google Developers Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
B
Blog RSS Feed
NISL@THU
NISL@THU
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
AWS News Blog
AWS News Blog
爱范儿
爱范儿
Last Week in AI
Last Week in AI
Y
Y Combinator Blog
L
LINUX DO - 最新话题
Security Archives - TechRepublic
Security Archives - TechRepublic
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
S
Secure Thoughts
Cloudbric
Cloudbric
aimingoo的专栏
aimingoo的专栏
L
Lohrmann on Cybersecurity
TaoSecurity Blog
TaoSecurity Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Hacker News: Ask HN
Hacker News: Ask HN
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The GitHub Blog
The GitHub Blog
有赞技术团队
有赞技术团队
S
Security @ Cisco Blogs
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Cyber Attacks, Cyber Crime and Cyber Security
G
GRAHAM CLULEY
P
Proofpoint News Feed
V
V2EX
Martin Fowler
Martin Fowler
C
CERT Recently Published Vulnerability Notes
Attack and Defense Labs
Attack and Defense Labs
C
CXSECURITY Database RSS Feed - CXSecurity.com
The Cloudflare Blog
SecWiki News
SecWiki News
罗磊的独立博客
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
小众软件
小众软件
The Last Watchdog
The Last Watchdog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
The 5 Things Your LLM Benchmark Misses That Actually Decide the Winner
Lavelle Hatcher Jr · 2026-06-23 · via DEV Community

A practical guide to choosing the right LLM for your use case, before a generic ranking talks you into the wrong one.

Picture this. You switch to the LLM sitting at the top of every leaderboard. It costs four times what you were paying. Two weeks later you switch back, because on your actual prompts it was worse: it broke your output format about a third of the time, and the cheaper model you had been using almost never did. The leaderboard was not wrong. It just was not measuring anything your project cared about.

Why the leaderboard keeps lying to you

Public leaderboards are useful for exactly one thing: a rough sense of which models are in the same general tier. Past that, they answer a question you are probably not asking.

A leaderboard measures aggregate performance across a fixed set of tasks, usually academic-flavored ones: reasoning puzzles, exam questions, coding challenges, broad trivia. Your use case is almost certainly narrower than that. Maybe you need a model that reliably returns clean JSON. Maybe you need one that holds a very specific tone. Maybe you need one that is fast and cheap because you are running it ten thousand times a day, and "a little smarter" is worth nothing to you if it doubles your latency.

The model ranked third overall might be first on your prompts. The leaderboard cannot tell you that, because it never saw your prompts. It also says nothing about cost, nothing about speed, and nothing about consistency, which is the thing that quietly wrecks production systems. A model that is brilliant ninety percent of the time and bizarre the other ten will look great in a demo and cause you pain for a year.

People lean on leaderboards anyway for an understandable reason. Building your own benchmark feels like work, the ranking is right there, it has numbers, and numbers feel like truth. So they pick the top of the list, ship it, and find out the hard way.

Here is the better approach. It is not complicated. It is mostly a matter of being deliberate about five things.

1. Build the test set from your real prompts

This is the whole game, and it is the step people skip.

Do not benchmark on generic questions. Pull the actual prompts your application sends, or write a couple dozen that closely mirror them. If your product summarizes support tickets, your test set is real support tickets. If it writes product descriptions, it is real product data. The closer your test set is to your live traffic, the better your benchmark predicts real behavior.

You do not need thousands. Twenty to fifty well-chosen prompts that cover your common cases plus your ugliest edge cases will tell you more than any giant academic benchmark. Include the weird ones on purpose. Edge cases are where models actually diverge, and they are exactly what a generic ranking averages away.

2. Decide what "better" actually means, in writing

"Better" is the most expensive word in this entire process, because it hides the fact that you have not defined success.

Before you compare anything, write down the conditions a good answer has to meet, and make them checkable. Not "the summary should be high quality," but things a machine or a careful reader can verify:

  • Does the output contain the fields it is supposed to?
  • Is it valid JSON, or does it match your schema?
  • Is it under the length you can ship, or over the minimum you need?
  • Did it come back under your latency budget, and under your cost ceiling?

Some of these are mechanical, and you can check them automatically. Others are judgment calls about tone or factual accuracy, and for those you either read the outputs yourself or have a strong model grade them against your written criteria (an approach known as LLM-as-a-judge). Either way the point holds: turn the fuzzy idea of quality into a set of specific things you can score. If you cannot say what "better" means before the test, you will just pick whichever output you happened to like, and quietly call your preference a result.

3. Hold everything else constant

Short section, because the idea is simple and constantly ignored.

Run every model on the same prompts, with the same settings, at the same temperature, on the same day if you can. Change the prompt between models, or test one at temperature zero and another at zero point seven, and you are no longer measuring the models. You are measuring your own inconsistency. Controlled comparison is the entire reason a benchmark means anything. The moment a variable moves that you did not intend to move, your result stops being evidence and starts being a story.

4. Run it more than once, because the model will not give you the same answer twice

This is the part that trips up almost everyone, including people who absolutely know better.

LLMs are not deterministic. Send the same prompt through the same model five times and you can get five different answers, sometimes meaningfully different ones. So a single run is not a measurement. It is an anecdote. If model A beats model B once, that tells you very little, because you could run it again and watch the result flip.

The caution worth tattooing somewhere: a difference you saw once is not a difference until you have shown it holds up. Run each model on each prompt several times. Look at how consistent each one is, not just how good its single best answer was. And if you want to claim one model is genuinely better than another, rather than just luckier on the day, that is a statistics question and not a vibes question. Significance testing exists precisely so you can tell a real gap from random noise. Consistency, not peak performance, is usually the thing you are actually buying.

5. Cost and speed are part of the answer, not a footnote

The best model for your use case is almost never the smartest one available. It is the one that is good enough, at a price and speed you can live with.

Once you have quality numbers, put cost and latency right next to them and look at the trade honestly. A two percent quality bump that costs ten times as much and runs at half the speed is a terrible deal for most workloads, and a perfectly good deal for a few. Which one you are depends entirely on your use case, which is the whole theme here. A high-volume background job and a low-volume, high-stakes legal summarizer should not pick the same model, and a leaderboard would happily aim both at the same expensive option. Decide what you are optimizing for, then let the cheapest model that clears your quality bar win.

The honest problem: doing all of this by hand is a slog

Everything above is straightforward in principle and genuinely tedious in practice.

To actually run it, you are writing code against each provider's API, all of which differ in their own small infuriating ways. You are normalizing responses into something comparable. You are counting tokens and translating them into cost per model. You are running everything several times to deal with variance, gathering the results, then doing the statistics to find out whether the gap you are looking at is real. One comparison is an afternoon. Doing it properly, across several models, with repeats and significance, is a couple of days you do not get back. And then next month three new models drop and you want to re-run the whole thing, so you do.

I got tired of rebuilding that harness for every project, so I built a command-line tool that does it. It runs the same prompts across models from ten providers side by side, applies the kind of pass-or-fail checks from step two, repeats runs to handle variance, runs the significance tests for you (with confidence intervals, so you can tell a real gap from noise), and tracks cost and latency per model so the trade in step five is just sitting there in the table. You point it at your prompts, set your criteria, and it hands you the comparison.

But the technique matters more than the tool. Everything in this article works whether you use software or a spreadsheet and a lot of patience. The five steps are the skill. A tool just makes them faster, and spares you from rewriting the same plumbing every time a new model ships. The judgment (what to test, what "better" means for you, what trade you are willing to accept) is yours, and it should stay that way. No tool decides that for you, and you should be a little suspicious of any that claims to.

If you want to try it, it is one install:

pip install cli-modelarium

Source and docs are on GitHub: https://github.com/lavellehatcherjr/cli-modelarium

The package page is on PyPI: https://pypi.org/project/cli-modelarium/

The bottom line

Leaderboards rank models against a generic idea of "good." You are not building for a generic idea of good. You are building for a specific task, with specific constraints, a specific budget, and specific failure modes that matter intensely to you and to almost nobody on that leaderboard.

The skill is being deliberate: test on your real prompts, define what better means before you look, hold your variables steady, run things enough times to trust the answer, and weigh quality against cost and speed. Do that and you will sometimes find the expensive top-ranked model really is the best fit. More often you will find something cheaper, faster, and steadier that the ranking buried at number five. Either way you will know, instead of guessing.

The leaderboard is a starting point. Your own benchmark is the answer.

I build cli-modelarium, an open-source CLI for comparing LLM outputs side by side with statistics, assertions, and cost tracking. If this was useful, the tool is on GitHub and PyPI under the same name.