LLM Selection Methodology: A Task-Dimension Breakdown and Validation Framework
A practical framework for choosing a large language model without relying on aggregate benchmark scores. It explains why composite indices fail as decision inputs, breaks capability into task dimensions (agentic coding, web and tool-use agents, scientific reasoning, cost structure, engineering readiness), turns those dimensions into a weighted scoring model with hard-constraint filtering, and closes the loop with a small-sample gray rollout on your own traffic. You will get the evaluation criteria for each dimension, the cost formula that actually matters, common pitfalls, and a four-step selection process.
1. Reframing the Problem: From “Which Is Strongest” to “Which Fits”
The pace of general-purpose LLM releases has accelerated noticeably over the past year: after a leading overseas vendor ships a new flagship model, other major vendors typically deliver a comparable release within weeks to a couple of months. As a result, the central question in technical selection has shifted from “does anyone have a competitive model” to “which one is closest, and which one should I pick.”
These are two fundamentally different questions. The first is a judgment about whether a capability exists; the second is an optimization problem under constraints. Any “closest” conclusion drawn without business constraints is not actionable in engineering terms. What actually needs answering are three sub-questions:
- Where does my task fall in the capability space (long-horizon coding, information retrieval, quantitative reasoning, or high-frequency short-text processing)?
- Is the performance gap between candidate models in that region significant, or is it within evaluation noise?
- Under constraints such as cost, latency, quota, and compliance, which combination has the lowest total cost per task?
2. Why Aggregate Scores Cannot Drive Decisions
Composite indices (multiple benchmarks normalized and combined into a weighted sum) are efficient for communication but have three structural flaws as decision inputs.
First, a construct validity problem. A composite score is a weighted average of heterogeneous capabilities, and the weights are set by the benchmark owner, not by your business distribution. A product focused on repository-level code repair and a product focused on document Q&A have nearly orthogonal ideal weight vectors.
Second, scores are not additive. A gap of a few points on a composite index does not imply a corresponding gap on any specific task. A common pattern: a model has already overtaken the baseline on long-horizon operation tasks while still trailing by a clear tier on hard academic knowledge questions. The shape of the capability profile carries more information than the total score.
Third, evaluation noise and saturation. Some public benchmarks are close to saturation, and the gap between top models may be smaller than the run-to-run variance. Hard reasoning benchmarks, by contrast, have small sample sizes and high discrimination, which amplifies score gaps. Comparing score gaps across benchmarks without accounting for this easily leads to wrong conclusions.
The conclusion is straightforward: use composite scores for initial screening, and task dimensions for decisions.
3. Breaking Down Capability Dimensions
3.1 Agentic Coding: Look at Long-Horizon Completion, Not Single-Turn Correctness
Coding capability needs to be split into three layers: single-function generation, single-file editing, and repository-level long-horizon tasks. What really determines product experience is the third layer, and the key metric there is not “is the code correct” but whether the model stays inside the correct problem space after dozens of tool calls.
Evaluation focus:
- Long-horizon consistency: does it forget the initial constraints after multiple edits, or repeatedly backtrack;
- Tool-call stability: the validity rate of structured argument generation, and the ability to self-correct after failures;
- Context management: retrieval and localization efficiency against very large repositories;
- Verification loop: can it run tests autonomously and iterate based on failure output.
On this dimension, the gap between leading Chinese models and overseas flagship models is usually the smallest, with mixed results on some hands-on tasks. This is a region that is safe to use in production.
3.2 Web and Tool-Use Agents: Interference Resistance and Stopping Decisions
The difficulty of browsing agents is not “knowing how to click” but three things: maintaining intermediate state across multi-step tasks, resisting page noise and misleading content, and knowing when to stop. Stopping too early yields incomplete information; stopping too late loses control of cost. When evaluating, read “task completion rate” and “average steps / average token consumption” as a pair — completion rate alone rewards verbose strategies.
3.3 Scientific Reasoning and Very Hard Knowledge: The Current Main Gap
This is the tier where the gap persists most consistently. It shows up as noticeably lower accuracy on multi-step formal derivations, problems requiring cross-domain knowledge combinations, and hard academic multiple-choice questions. The reason is that these capabilities depend on the knowledge density of pretraining data and the stability of reasoning chains, and are hard to close with prompt engineering or tool orchestration.
Engineering recommendation: identify these needs as a capability boundary and isolate them at the architecture level — route them to a stronger model, or supplement with retrieval augmentation, external computation tools, or formal verifiers, rather than expecting a model swap within the same tier to solve them.
3.4 Cost Structure: Unit Price Is Not Cost per Task
“Price per million tokens” is the most easily misused metric. Real cost should be measured as:
cost per task = (input tokens × input price + output tokens × output price+ cache hit adjustment) / task success rate+ expected cost of failed retries
A model with a lower unit price but slightly lower long-horizon success rate may end up more expensive in scenarios that require multiple retries. Conversely, when a task is split into many short requests with a highly repetitive prefix, a model with context caching and batch discounts can drive cost very low. For batch, cost-sensitive, fault-tolerant tasks, prioritize the best unit cost over the strongest capability.
3.5 Engineering Readiness: The Hidden Cost That Gets Ignored
- Whether quota and rate-limit policies match peak concurrency;
- Stability of structured output (JSON Schema constraints);
- Context window size and how long text is billed;
- Observability: whether logging, monitoring and alerting, and distributed tracing cover model calls;
- Data compliance and deployment form (public cloud API, dedicated instances, on-premises).
4. Turning Dimensions into a Computable Selection Model
Do not weight by intuition. Write the weights out explicitly so the team can reach consensus on the conclusion.
# Task profile example (weights must be calibrated to your business and sum to 1.0)task_profile:name: "Repository-level code repair assistant"weights:agentic_coding: 0.45tool_web_use: 0.15scientific_reasoning: 0.05cost_efficiency: 0.25engineering: 0.10constraints:max_p95_latency_ms: 8000require_structured_output: true
# Selection scoring: capability score × weight, with hard constraints as a vetodef select(candidates, profile):scored = []for c in candidates:if not passes_constraints(c, profile["constraints"]):continuetotal = sum(c["scores"][dim] * wfor dim, w in profile["weights"].items())scored.append((total, c["name"]))return sorted(scored, reverse=True)
The key point: filter on hard constraints first, then apply weighting, so that a high capability score cannot mask a fatal latency or compliance defect.
5. Gray Validation: A Small-Sample Loop Is the Only Final Authority
Public benchmarks can only narrow the candidate set; the final decision must come from your own data. Recommended process:
- Sample 100–300 requests from historical real traffic, covering both high-frequency and long-tail scenarios, and label the expected results manually;
- Define automatically judgeable metrics: task success rate, average steps, cost per task, format validity rate;
- Run candidate models in parallel with the same prompts, the same tool set, and the same temperature setting;
- Make a significance judgment: when the gap is smaller than the run-to-run variance, treat it as no difference and decide on cost;
- Roll out to 5%–10% of live traffic, watch failure rate and cost drift through monitoring and alerting, then ramp up gradually.
6. Common Pitfalls
- Making a single-point decision from a composite score: ignores differences in capability profiles;
- Comparing unit price instead of cost per task: ignores success rate and retries;
- Ignoring the stopping policy: most agent cost overruns originate here;
- Switching everything at once: no gray rollout and no rollback path;
- Handing reasoning gaps to prompt engineering: capability boundary problems need architecture-level fixes.
7. Conclusion
With dense releases of new flagship models and their counterparts, the rational move is not to ask “who has the highest total score” but to establish a four-step process: task profile → dimension scoring → hard-constraint filtering → small-sample gray rollout. In practice, long-horizon coding and web operation tasks can already be run safely on leading models from major Chinese vendors; batch, cost-sensitive tasks should be governed by the best cost per task; and PhD-level scientific reasoning and extremely hard knowledge questions still require a fallback path with a higher capability ceiling for now, supplemented by retrieval augmentation and external tools. The goal of selection has never been to find the “closest model” but to find the combination with the lowest total cost under your own task distribution and cost constraints.
