Choosing LLM Tiers by Task: Capability, Cost, and Quota
How to pick a model tier for a task by matching required capability, per-call cost, rate limits or quota, and latency—using routing patterns, a small evaluation set, and a rollout checklist instead of always calling the strongest model.
1. Why One Model Family Is Split into Tiers
A model family usually ships in several sizes. Higher tiers tend to be stronger at reasoning, long-context understanding, and output stability, and they cost more per call. Lower tiers respond faster and cost less per token, which fits high volume and simple logic. Tiering is a product tradeoff among capability, cost, and latency. For the caller, the question is not which tier is “best,” but which tier is enough for the current task without waste.
A common mistake is to default to the strongest tier. In a small trial that can look stable and unproblematic. Once request volume grows, cost and latency become the main bottlenecks.
2. Four Dimensions for Choosing a Tier
2.1 Task capability
Decide whether the task needs multi-step reasoning, long-context understanding, complex code edits, or strict format following. Classification, extraction, and rewriting that can be described in one sentence usually do not need the highest tier.
2.2 Cost per call
Cost depends on both input tokens and output tokens. Output is usually priced higher than input. Estimate as follows:
Cost per call = input tokens / 1,000,000 × input price + output tokens / 1,000,000 × output price
Daily cost = daily call volume × cost per call
The example below uses assumed prices only to show the calculation. For a real choice, use the provider’s current published prices.
# Unit: CNY per million tokens; values below are illustrative assumptionsPRICES = {"large": {"in": 10.0, "out": 60.0},"medium": {"in": 5.0, "out": 30.0},"small": {"in": 2.0, "out": 12.0},}def cost_per_call(tier, input_tokens, output_tokens):p = PRICES[tier]return input_tokens / 1e6 * p["in"] + output_tokens / 1e6 * p["out"]for tier in PRICES:c = cost_per_call(tier, input_tokens=3000, output_tokens=800)print(f"{tier:>6}: about {c * 100000:.0f} CNY for 100,000 calls")
Under these assumptions, a medium-tier call costs about half of a flagship call, and a lightweight call about one fifth. The larger the volume, the more that gap moves the total budget.
2.3 Rate limits and quota
When usage is metered by allowance or subscription, the allowance is usually counted over a time window. Consumption per call is not fixed. It depends on model tier, context length, number of tool calls, and reasoning depth. Estimate how many calls fit in the window as:
Calls that can be completed ≈ available allowance in the window / average consumption per call
Average consumption per call must come from real call logs. A single test run is not enough to represent the whole workload. The same task can consume several times more on one tier than on another, so quota planning should be based on instrumented data.
2.4 Response latency
Lightweight tiers usually have shorter time to first token and shorter total latency. Interactive UIs are sensitive to response time, and delay shows up directly in user experience. Offline batch jobs care less about latency and can prioritize cost.
3. Map Tasks to Tiers
Start with a task-tier table:
| Task type | Typical traits | Suggested tier |
|---|---|---|
| Complex reasoning, cross-file code edits, solution design | Multi-step dependencies; errors are costly | Flagship |
| Routine Q&A, document summarization, medium-complexity rewriting | Needs understanding, but limited steps | Balanced |
| Classification, extraction, labeling, format conversion | Clear rules, frequent calls | Lightweight |
The table is only a starting point. Two extra rules apply in practice. First, once context length passes a chosen threshold, prefer a more stable tier regardless of difficulty. Second, for structured tasks with strict output format, validate the result and escalate the tier only when validation fails.
4. Routing Approaches
4.1 Route before the call
Choose the tier from task features. This is simple and adds the least latency, but it depends on reliable rules.
def pick_tier(task):if task.multi_step or task.context_tokens > 100_000:return "large"if task.needs_tools or task.quality_bar == "high":return "medium"return "small"
4.2 Escalate step by step
Try the lightweight tier first, then move up if validation fails. This can save cost, but a failure adds extra calls and latency.
def run_with_escalation(task, call_model, validate):for tier in ["small", "medium", "large"]:result = call_model(tier, task)if validate(result):return tier, resultraise RuntimeError("validation failed on every tier")
Here, call_model wraps the provider API. validate is defined by the product—for example, checking that the JSON is complete, required fields are present, and key information appears in the output.
The two approaches can be combined. Use upfront routing when the rules are clear, and step-by-step escalation when the task is more open-ended.
5. Use Evaluation Data Instead of Intuition
Do not choose a tier on feel alone. A practical check:
- Sample 100 to 300 real production requests that cover the main task types.
- Define a measurable quality bar for each type, such as accuracy, format pass rate, or a human score.
- Run every sample on all three tiers and record quality, latency, and token use.
- Compare cost per unit of quality at the same quality level, and pick the tier with the best tradeoff.
- Roll out on a small share of traffic and keep watching failure rate and user feedback.
Refresh the evaluation set on a schedule. Inputs change over time, and a tier that was optimal can stop being the right default.
6. Common Mistakes
- Looking only at unit price, not completion rate. A lightweight tier is cheaper per token, but retries can make the total cost higher.
- Trusting a single test. Quota and latency fluctuate. Measure the distribution, not one data point.
- Ignoring output length. Output tokens are usually priced higher. Shortening answers often saves more than switching tiers.
- Stuffing context without limit. Longer context raises both cost and latency. Retrieve and trim first.
7. Rollout Checklist
- Set a quality threshold and an acceptable latency cap for each task type.
- Measure the real distribution of input and output tokens.
- Compute cost and quality per unit for each tier.
- Design routing rules, and keep both downgrade and upgrade paths.
- Log tier, latency, and validation result on every call so later tuning has data.
The goal is to meet the quality bar while controlling cost. Capability and price change as versions ship, so both the routing rules and the evaluation data should be reviewed on a regular cadence.
