LLM Selection Logic: A Six-Dimension Evaluation Framework and Scenario-Based Practices
Choosing an LLM by asking "which one is best?" is a misleading starting point, because models compete on different capability distributions rather than on a single quality scale. This article proposes a vendor-neutral, six-dimension evaluation framework—covering semantic quality and instruction following, reasoning and coding, context engineering, multimodal ability, ecosystem and engineering readiness, and cost, latency, and compliance—alongside an automatable and reproducible evaluation pipeline and a scenario-based selection strategy. It also catalogs common anti-patterns to avoid, helping teams shift from chasing the "strongest" model to choosing the best-matched one.
Introduction: Why “overall performance” is a false premise
In technical design reviews, one of the most frequently asked and hardest-to-answer questions is: “With so many large models on the market today, which one is actually the best?” A representative answer goes something like this—one leading model is “solid but boring”: well balanced with no glaring weakness, strong in multimodality and a plugin ecosystem, yet weaker in creative writing and textual flair than rivals that emphasize long-form expression; another product line covers different usage intensities through tiered pricing. Conclusions like these are useful to an individual user, but engineering teams can rarely reuse them directly.
The reason is that “overall performance” smuggles in an assumption that doesn’t hold: that all models compete on the same evaluation axis. In reality, differences between models show up more in their capability distributions than in overall capability levels. A model that leads by three percentage points on legal long-document extraction may lag further behind on function-level code completion; a model that excels at open-domain creative generation may fail to meet compliance requirements because its safety alignment is too conservative. The professional approach, therefore, is to break the selection problem into measurable subproblems.
This article’s goal is to provide three things that don’t depend on any specific vendor: an evaluation framework, an automatable evaluation pipeline, and a selection strategy that matches your business tiers.
Part 1: A six-dimension evaluation framework — turning subjective impressions into measurable signals
Dimension 1: Semantic quality and instruction following
This is the most fundamental dimension and the easiest to misjudge. When evaluating, you shouldn’t just ask whether the answer “reads like a human wrote it”; break it into three layers:
- Factual accuracy: whether verifiable claims in the answer actually hold. A common method is to build a closed question bank with ground-truth answers, combined with retrieval-based verification (split the assertions in the answer into sentences and retrieve supporting evidence sentence by sentence).
- Instruction following: the satisfaction rate under multi-constraint instructions. For example, “no more than 200 words, include three key points, don’t use the first person, end with an action recommendation”—then measure the proportion of constraints satisfied.
- Structural stability: sample the same prompt multiple times and check whether the output structure (JSON fields, heading hierarchy) stays consistent. In engineering terms, this often matters more than writing quality.
# Minimal skeleton for measuring instruction-constraint satisfaction rateimport json, redef check_constraints(text: str, spec: dict) -> dict:result = {}if "max_chars" in spec:result["length"] = len(text) <= spec["max_chars"]if "required_keywords" in spec:result["keywords"] = all(k in text for k in spec["required_keywords"])if "json_schema" in spec:try:obj = json.loads(text)result["json"] = set(spec["json_schema"]).issubset(obj.keys())except json.JSONDecodeError:result["json"] = Falsereturn result
Dimension 2: Reasoning and coding ability
Reasoning needs to be split into two categories: knowledge-based reasoning (question answering that relies on parameterized knowledge) and computation-based reasoning (multi-step logic, mathematics, and reasoning about code execution). Evaluating the latter is closer to real engineering payoff, so it’s worth adopting a unit-test-driven approach: run the model-generated code directly in a sandbox and use the pass rate rather than human scoring as the primary metric. For math and logic problems, use question sets whose answers can be automatically verified to avoid the noise of subjective scoring.
A common pitfall is treating “chain-of-thought length” as a proxy for capability. Longer intermediate reasoning does often come with higher accuracy, but it also linearly inflates time-to-first-token latency and token consumption, so it needs to be weighed together with cost.
Dimension 3: Context engineering ability
Real-world inputs often far exceed a single prompt: an entire code repository, a hundred-page contract, hours of meeting transcripts. The evaluation focus shifts from “can it read it in” to three engineering questions:
- Effective context length: place key information at the beginning, middle, and end, then test recall separately. The industry has broadly observed recall degradation for information in the middle, so long context does not equal long effective context.
- Context compression combined with retrieval: whether the model can correctly merge across retrieved fragments rather than mechanically concatenating them.
- Citation and provenance: whether the answer annotates its source fragments. This is the dividing line for whether something can ship in enterprise scenarios.
Dimension 4: Multimodal ability
Multimodality shouldn’t be evaluated in the abstract; split it into the input side (image/audio/video understanding) and the output side (image/audio generation), and test each task separately: document layout understanding (tables, formulas), chart data extraction, UI screenshot understanding, and audio/video summarization with speaker diarization. Evaluate against the same set of real business samples, because the distribution gap between public benchmarks and private data can be enormous.
Dimension 5: Ecosystem and engineering readiness
This is the part most emphasized in the source material yet easiest to quantify. Evaluate it from four angles:
| Evaluation item | Signals to watch |
|---|---|
| API stability | SLA, rate-limiting policy, completeness of error codes |
| Structured output | Native support for JSON Schema, function calling |
| Version policy | Whether the model version can be pinned, deprecation notice period |
| Observability | Request-level logs, usage details, content-moderation result callbacks |
One additional piece of engineering experience: the ability to pin a model version often reduces long-term maintenance cost more than picking “the strongest model.” If every call may silently switch to a new version, your regression testing system breaks down.
Dimension 6: Cost, latency, and compliance
Cost should be a total accounting, not just the unit price:
total cost per request ≈ (input tokens + output tokens) × unit price+ sunk cost of retries and failed requests+ auxiliary pipeline cost of retrieval/vectorization+ human review cost
Output tokens are typically consumed several times more heavily than input tokens, so compressing output length (limiting word count, structuring fields) is more cost-effective than compressing input. On latency, distinguish time-to-first-token (which affects the interactive experience) from overall throughput (which affects batch-processing cost); the two often need to be optimized separately. The compliance dimension includes whether data is used for training, how configurable the content-moderation policy is, and the data-residency region—these are often non-negotiable blockers in enterprise procurement.
Part 2: An evaluation pipeline — making conclusions reproducible
The problem with subjective experience is that it can’t be reproduced. A three-stage pipeline is recommended:
- Offline benchmark set: sample 300–1,000 entries from real business logs, manually annotate ground-truth answers or scoring points to form a regression set. Run it on every model change and output a capability radar chart.
- Online canary: have the new model handle 5%–10% of traffic first, comparing real metrics such as human acceptance rate, modification rate, and average number of interaction turns.
- Fallback and routing: configure a candidate model list for each task, automatically degrading to a backup model on failure or timeout.
# Simplified multi-model routing and fallback logicCANDIDATES = {"code": ["model_a", "model_b"], # code tasks prioritize computation-based ability"creative": ["model_c", "model_a"], # creative tasks prioritize expressive diversity"extract": ["model_b", "model_d"], # extraction tasks prioritize structured output}def route(task: str, prompt: str, max_retry=2):for name in CANDIDATES[task][:max_retry]:try:return call_model(name, prompt) # unified call layerexcept (TimeoutError, RateLimitError):continueraise RuntimeError("all candidates failed")
The key design principle is call-layer abstraction: consolidate model names, parameters, and retry policies into a unified adapter layer so that business code doesn’t perceive the specific model. This keeps switching cost down to configuration changes.
Part 3: Scenario-based selection strategy
Drawing on the empirical observations in the source material, we can distill three general conclusions:
General-purpose fallback scenario — choose a solution with balanced all-around capability, a stable API, and a mature ecosystem. Such models reach an acceptable bar across most tasks and work well as a default. The drawback is a conservative output style: highly structured but lacking personality, and flat on tasks that need textual impact.
Creative and long-form scenario — this needs expressive diversity and long-range coherence. The evaluation focus should be on “multi-sample diversity” (the variance among outputs from the same prompt) and on maintaining structure across long documents, rather than on single-point accuracy.
Cost and scale scenario — adopt a tiered strategy: route simple tasks (classification, extraction, format conversion) to small-parameter models or fine-tuned specialized models, and route complex tasks (multi-step reasoning, cross-document merging) to large-parameter models. In practice, first grade task difficulty, then match the model tier; this typically yields several-fold cost savings without sacrificing overall quality.
Part 4: Common anti-patterns
- Selecting by leaderboard rank alone: public benchmarks differ greatly from private distributions, and there’s a risk of data contamination.
- Using prompt tuning to paper over capability gaps: repeatedly tuning prompts is usually less effective than switching to a model whose capabilities actually match.
- Ignoring output-side cost: the latency and expense from long outputs are often underestimated.
- Failing to pin the model version: this makes online behavior unexplainable and regressions irreproducible.
- Missing a human backstop: in high-risk scenarios (healthcare, finance, legal), a human review step must be retained.
Conclusion
The hallmark of a mature model-selection process is the shift from “chasing the strongest” to “chasing the best match.” Teams should turn the six-dimension framework into an evaluation checklist, build a regression set from real business samples, decouple model dependencies through a unified call layer, and control cost with a tiered strategy. This way, no matter how the underlying models iterate, the capability level and cost structure on the business side stay under control. If a team lacks the resources to build its own evaluation suite and compute capacity, it can turn to cloud platforms such as Baidu AI Cloud, which offer model services and engineering components for standing up an evaluation pipeline and production environment quickly—grounding selection decisions in reproducible data.
