How to Evaluate and Select Mid-Tier LLMs: A Practical Framework
Mid-tier LLMs are often the hardest to select because they must balance adequate quality, controllable latency, and predictable cost while handling most real production traffic. This article presents a practical framework: tier tasks by failure impact, build a versioned reproducible evaluation set, profile divergent and convergent capabilities, route requests across the cost-latency-quality triangle, add generate-validate-repair gates, avoid common selection mistakes, and operationalize the process with an implementation checklist.
1. Starting Point: Why the Middle Tier Is the Hardest to Choose
Mainstream large language model product lines generally follow a three-tier structure. The top tier handles the longest, hardest, and most time-consuming tasks. The bottom tier handles high-concurrency, low-complexity, cost-sensitive scenarios. The middle tier carries most real traffic: everyday writing, structured extraction, image-text and table understanding, design draft generation, and similar workloads.
Choosing between the top and bottom tiers is relatively straightforward: one compares capability ceilings, and the other compares unit costs. The middle tier is difficult because it is pulled by three requirements at once: quality must be sufficient, latency must be controllable, and cost must be predictable. A further problem is that long-term use creates gut-feel judgments, and gut feel is most likely to fail when model styles are similar. When two models produce similar output structures and similar transitional tone, human reviewers can struggle to tell which one is stronger at constraint satisfaction. Selection therefore needs reproducible measurement before preferences.
2. The First Step Is Task Tiering, Not Model Selection
Grading tasks by “what happens if this is wrong” is more effective than grading by “how hard this is”:
- L1 Exploratory: research, brainstorming, hypothesis generation, and first drafts. Error cost is low, and the value lies in breadth of coverage.
- L2 Production: routine documents, code snippets, data cleaning scripts, and image-text and table understanding. Requires a high first-pass rate.
- L3 Strong-constraint delivery: externally published material, financial and compliance text, and pipelines that require long-running continuous execution. A single-point error is costly, so human or programmatic gates are required.
After tiering, the selection question changes from “which model is best” to “what should be assigned to each tier, and how should they provide fallback for one another.”
3. Build a Reproducible Evaluation Set
Model selection without an evaluation set is a lottery. A minimal viable approach has four steps:
- Sample real traffic: draw real requests from the last 30 days of logs rather than hand-crafted cases.
- Stratified sampling: cross-stratify by L1/L2/L3 and task type (writing, extraction, code, multimodal), with no fewer than 30 cases per layer.
- Double-blind review and position rotation: hide model identities, randomize presentation order, and rotate A/B positions to eliminate order bias.
- Quantitative metrics: task success rate, first-pass rate, average rework rounds, human edit distance (ratio of differing lines), number of constraint violations, P95 latency, and cost per task.
Illustrative evaluation skeleton:
def evaluate(case, model, rubric):out = model.generate(case.prompt)violations = [c for c in case.constraints if not c.check(out)]return {"case_id": case.id,"tier": case.tier, # L1 / L2 / L3"success": len(violations) == 0,"violations": len(violations),"edit_distance": edit_ratio(out, case.reference),"latency_ms": out.latency_ms,"cost": out.input_tokens * p_in + out.output_tokens * p_out,}
A key discipline: once the evaluation set is frozen, place it under version control. Run the full regression whenever a model or prompt changes, and avoid decisions based on “this one felt better this time.”
4. Capability Profiles: Divergent Breadth and Detail Convergence Are Different Abilities
In practice, the most observable difference is not the score itself but two orientations:
- Divergent breadth: given the same prompt, whether the model tends to deepen along the most reasonable path or jump laterally to non-obvious directions. This can be approximated by the number of valid directions after deduplicating candidate solutions and by the semantic distance between proposals.
- Detail convergence: cross-referencing of conditions across long documents, implicit formatting requirements, and consistency of numbers and units. This can be measured by constraint violations and human edit distance.
These two traits often have an inverse relationship: lateral jumps bring new angles but also edge-case omissions. The conclusion is therefore not “which model is stronger” but rather that divergent capability matches L1, while convergent capability matches L3. The reasonable positioning of the middle tier is “low-cost exploration of directions”—allowing multiple successive attempts without excessive cost.
5. The Cost-Latency-Quality Triangle and Tiered Routing
In engineering, a more stable approach is not to make a single choice but to route requests:
- L1 requests go to the middle tier with high-divergence parameters and parallel candidates allowed.
- L2 requests go to the middle tier with strict mode and structured-output constraints.
- L3 requests go to the top tier, or use “middle-tier generation + top-tier review.”
- Simple classification, format conversion, and fixed templates go to the bottom tier.
- Common billing structures often separate pricing for input, output, and cached input. Design stable prefixes (system prompts, specification documents, reference materials) as cacheable prefixes to significantly reduce repeated costs.
The routing layer should remain model-agnostic: abstract a unified generate(prompt, constraints, tier) interface, register models only as replaceable backends, and avoid coupling business code to a single vendor.
6. Closed Loop: Generate–Validate–Repair
For L2/L3, correctness cannot depend on the model’s self-discipline; it needs programmatic gates:
def run_with_gate(prompt, constraints, tier):model = router.pick(tier)for attempt in range(3):out = model.generate(prompt)bad = [c for c in constraints if not c.check(out)]if not bad:return outprompt = prompt + repair_hint(bad) # Feed violations back as constraintsmodel = router.escalate(tier, attempt) # Escalate to a stronger model step by stepreturn human_review(out, bad)
Three supporting practices: express constraints as executable assertions (regex, JSON Schema, numeric validation, unit checks); automatically feed all failed samples back into the evaluation set; and establish consistency checks for output style to prevent style drift from damaging product tone.
7. Common Pitfalls
- Selecting by a single leaderboard total score while ignoring task tiering and latency constraints.
- Replacing an evaluation set with demo cases, where insufficient sample size leads to conclusions that cannot be reproduced.
- Comparing only “how smart” a model is, not constraint satisfaction rate and rework cost.
- Locking into a single model long term without downgrade or upgrade paths, so one service fluctuation blocks the entire chain.
- Ignoring mid-context information decay in long contexts and treating very long context as free memory.
8. Implementation Checklist
Freeze a tiered evaluation set and include it in regression testing; establish a model-agnostic unified call abstraction; implement three-tier routing and automatic validation gates; structure cacheable prefixes; feed failed samples back as regression cases; rerun the full evaluation quarterly and use data rather than gut feel to decide tier assignment. With this process, selection becomes a sustainable quality engineering practice instead of a one-off subjective judgment.
