LLM Capability Evaluation: Reasoning Depth, Cost, and Stability
This article argues against single-metric model rankings and shows how to evaluate large language models across five measurable dimensions: coverage, reasoning depth, latency and throughput, effective cost, and stability. It covers building a reproducible layered test set, designing routing and cascading strategies, and governing model versions to control drift. Readers will learn to align a model's trade-offs to their own task distribution and use routing and version governance to reliably deliver that advantage.
1. First, a correction: a single ranking is meaningless in engineering
One of the most common mistakes in model selection is trying to produce an absolute ranking across different model tiers. In real systems, capability is not a scalar but a vector: general knowledge coverage, multi-step reasoning depth, long-context consistency, the reliability of structured output and tool calling, time-to-first-token and end-to-end latency, effective cost per unit of work, and behavioral stability across versions.
Normalizing the informal labels people commonly use, they tend to fall onto four axes that balance against one another:
- “Best overall” — a high water mark on the quality axis, but often indifferent to task type;
- “Thinks deeply, slow to deliver, high completion quality” — trades latency for quality, prioritizing completion rate on long-chain tasks;
- “Broad capability but average reasoning depth” — trades depth for breadth, performing evenly on single-turn and short-chain tasks;
- “Cheap, a bit clever, but unwilling to think deeply” — prioritizes cost efficiency, tending to converge early on complex tasks.
These are not a matter of superiority but of different trade-off points. The real engineering question is: on the distribution of my own tasks, which tier has the lowest total cost (including retries and human review) while still meeting the quality floor.
2. Breaking subjective impressions into five measurable dimensions
1. General capability breadth (Coverage)
Measure the floor across cross-domain tasks rather than the peak. Use sampled evaluation: cover several categories such as common sense, language understanding, code snippets, tabular/numeric reasoning, and multilingual tasks, with dozens of cases per category, and look at accuracy and refusal rate. A model with high breadth is usually better suited as the default tier, because it reduces the scheduling overhead of “try first, then switch.”
2. Reasoning depth and long-chain task completion (Depth)
The key metric is not final-answer accuracy but task completion rate: on compound tasks that need a dozen to dozens of steps (refactoring a module, tracing a fault chain from logs, devising a migration plan under constraints), does the model run the full course without truncating midway or skipping critical steps?
Reasoning-focused models typically generate an internal reasoning trace before producing the conclusion. The benefit shows up in math, code reasoning, and complex planning; the cost is that both time-to-first-token (TTFT) and total latency rise sharply, and the reasoning trace usually counts toward output tokens. They are therefore unsuitable for high-frequency, short-output online paths, and better suited to offline batch processing, pre-generation planning, and escalation handling for difficult tasks.
3. Latency and throughput
Measure them separately and set thresholds separately:
| Metric | Meaning | Typical use |
|---|---|---|
| TTFT | Time to first token | Core of the interactive experience |
| TPOT | Time per output token | Smoothness of long-text output |
| End-to-end P95/P99 | Full-path latency | SLA and timeout strategy |
| Concurrency throughput decay | How latency and error rate change as concurrency rises | Capacity planning and degradation thresholds |
Streaming improves perceived speed, not actual elapsed time; don’t be misled by “looking fast” during evaluation.
4. Effective cost
Looking only at price per million tokens leads to misjudgment. The truly comparable measure is cost per completed task:
per-request cost ≈ (input tokens + output tokens) × price + retries × per-request cost + human review costper-task cost ≈ per-request cost × average rounds / task completion rate
Reasoning depth raises both output tokens and the average number of rounds, so a “cheap” model may actually cost more on complex tasks; conversely, a strong model that gets it right on the first try may be more economical than a low-cost model that fails three times.
5. Stability and consistency (the technical explanation for so-called “dumbing down”)
When output quality suddenly degrades, it is usually not magic but a set of attributable engineering variables:
- Silent server-side upgrades or rollbacks, where the actual weights behind the same version alias change;
- Reasoning budget or thinking intensity being lowered, or deep thinking not enabled by default;
- Sampling parameters (temperature, top_p) and system prompts being inconsistent across different call sites;
- Output-distribution shifts from quantization schemes, batching strategies, or speculative decoding;
- Attention decay and implicit truncation as the context approaches its limit;
- Rate limiting and degradation policies triggered during peak hours.
The conclusion is direct: treating a non-reproducible observation as a model-capability problem is a failure of evaluation design.
3. Building a reproducible, layered evaluation set
Don’t rely on “trial impressions”; instead, build a layered regression set. It doesn’t need to be large, but the conditions must be fixed:
- L1 single-turn Q&A: checks baseline accuracy and hallucination rate;
- L2 structured extraction and tool calling: judged by JSON Schema validation pass rate and field-level F1;
- L3 multi-step reasoning and planning: score per step, not just the final answer;
- L4 long documents: cross-paragraph referencing, global consistency, constraint-conflict detection;
- L5 domain-specific set: use your own de-identified real tickets, logs, and ticket replies as a labeled set.
Fixed items: model version, prompt, decoding parameters, context window setting. Sample each case k times and record the mean and variance — high variance means it can’t go to production, regardless of the mean.
Illustrative evaluation skeleton (pseudocode):
CASES = load_layered_cases() # each has task_type / expected / rubricPARAMS = {"temperature": 0.2, "top_p": 0.9, "max_tokens": 2048}def run_suite(client, model, repeat=3):records = []for case in CASES:for _ in range(repeat):t0 = time.perf_counter()resp = client.chat(model=model, messages=case.prompt, params=PARAMS)cost_ms = (time.perf_counter() - t0) * 1000records.append({"id": case.id, "layer": case.layer,"score": case.rubric.score(resp.text), # 0~1"schema_ok": validate_json(resp.text, case.schema),"ttft_ms": resp.ttft_ms,"latency_ms": cost_ms,"out_tokens": resp.usage.output_tokens,})return summarize(records) # mean, P95, variance, schema pass rate, cost per task
When comparing tiers, output a four-column table: quality mean, quality variance, P95 latency, cost per task. This table is more convincing than any ranking.
4. Routing and cascading: turning “strong/weak” into a scheduling strategy
No single model wins across every tier; the mature approach is to route by difficulty.
Strategy 1: lightweight first, escalate when confidence is insufficient
def route(client, prompt):fast = client.chat(model=CHEAP, messages=prompt, params=LOW_COST_PARAMS)if confidence(fast) >= THRESHOLD and schema_ok(fast):return fastdeep = client.chat(model=REASONER, messages=prompt,params={"temperature": 0.2, "thinking": "on"})return deep if deep.score >= fast.score else fastdef confidence(resp):# field completeness of structured output, self-check consistency, multi-sample agreementreturn 0.5 * resp.field_completeness + 0.5 * multi_sample_agreement(resp)
Strategy 2: task-level routing. Route by input features rather than after-the-fact judgment: short, templated, strongly verifiable inputs go to the low-cost tier; long, constraint-heavy, multi-step-derivation inputs go to the deep-reasoning tier.
Strategy 3: process decomposition. First use a strong model to generate the plan and validation rules, then use a low-cost model to execute sharded subtasks, and finally have a strong model or a rule engine do aggregation checks. This structure is usually cheaper than “using the most expensive model throughout,” and it makes quality bottlenecks easier to locate.
Engineering details: unify response caching and semantic caching; push high-certainty subtasks down to rules or templates; enforce schema validation on structured output and retry on failure (rather than letting dirty data propagate downstream). On model services from cloud platforms such as Baidu AI Cloud, different capability tiers are typically invoked on demand through a unified authentication interface, so the routing layer only codes against a unified abstraction and switching tiers doesn’t require changing business code.
5. Version governance and drift monitoring
- Pin versions: explicitly specify the model version; don’t carry core paths on floating aliases;
- Shadow traffic: mirror real traffic to a new version first, compare metrics, then shift traffic;
- Regression gates: wire the layered evaluation set into the pipeline; block releases when the quality mean drops or variance rises beyond a threshold;
- Online monitoring: continuously collect schema pass rate, retry rate, P95 latency, and cost per task, and aggregate hourly to catch sudden changes;
- Change tracking: put prompts, decoding parameters, context length, and system instructions all under version control, recorded together with the model version.
6. Deployment checklist
- Define task tiers and acceptance metrics first, then select models;
- Compare economics by “cost per task,” not “price per token”;
- For interactive paths, prioritize TTFT and P95; for offline batch processing, prioritize completion rate and cost;
- Keep complete metadata (version, parameters, token usage, latency) for every sample, otherwise you can’t do post-mortems;
- Build confidence evaluation and cascade escalation to avoid running simple tasks on the strongest model;
- Fold stability into the metrics — excessive variance is just as disqualifying as low accuracy.
One-line conclusion: the core advantage of different tiers of large models is essentially a choice of different trade-off points among quality, reasoning depth, latency, and cost. The right way to select isn’t to find the “strongest,” but to build a reproducible evaluation system, align the trade-off point to your own task distribution, and then use routing and version governance to reliably cash in that advantage.
