Is per-token pricing really the right way to compare LLM services? Thinking Effort Tiers, Promo Expiry, and Output Length Can Flip the Rankings
Per-token pricing is the first number teams reach for when comparing LLM services, but it can quietly mislead. Default thinking effort tiers, promotional pricing windows that expire on a set date, and output length can all reverse a cost ranking. This article shows you how to read a model lineup as a set of tiers with different quality, latency, and price tradeoffs. It also walks through a per-task cost formula, a sample function for estimating cost with retries, and a sample router for picking an effort tier. It covers setting up comparable coding evals, pricing cache reads, and measuring safety. A gateway-based layered routing design with a budget guard and fallback ladder makes a billing change a configuration edit, not a refactor. A price switch slated for December 1 is used as a worked example.
1. Read benchmarks and price lists on the same timeline
A question many teams are debating right now:
- A new model scores nearly on par with the previous flagship generation on aggregate benchmarks.
- Running full coding tasks costs about 17% less and finishes about 40% faster.
- So “value that crushes the flagship” is becoming the popular take.
The conclusion isn’t wrong, but it usually rests on two premises that get overlooked.
- The thinking effort tiers aren’t aligned. The two models default to different effort tiers, and the new model adds a higher maximum tier. Their scores and costs aren’t measured in the same frame.
- The flagship price is a promo price. The price list behind this comparison has a set validity period, after which regular pricing returns.
Put these two together, and December 1 may be a tipping point. While the promo runs, routing more volume to the pricier tier is more economical on paper. Once it ends, the main workload should move to the middle tier, with the top tier reserved for genuinely difficult work. Selection teams can schedule this move now instead of scrambling on the day of the switch.
The numbers below are illustrative assumptions, used only to show the math. The middle tier charges $3 input and $15 output per million tokens, rising to $4 and $20 once a two-month promo ends. Each task uses about 50,000 input tokens and 1,500 output tokens, with 2 failed retries.
| Metric | Middle tier (promo) | Middle tier (regular price) | Previous-gen flagship (promo) |
|---|---|---|---|
| Input / output unit price | 3 / 15 | 4 / 20 | 2 / 10 |
| Input cost per task | 0.15 | 0.20 | 0.10 |
| Output cost per task | 0.0225 | 0.030 | 0.015 |
| Cost per task without retries | ≈ 0.173 | ≈ 0.230 | ≈ 0.115 |
| Cost per task with 2 retries | ≈ 0.518 | ≈ 0.690 | ≈ 0.345 |
| Output time per task (110 tokens/s, 1,500 output tokens) | ≈ 14 s | ≈ 14 s | ≈ 26 s |
The table shows three things:
- The price ranking flips. Once regular pricing returns, the middle tier’s unit prices run 50% higher than the flagship’s, and its per-task cost is about 50% higher too.
- Retries amplify the gap. A 50% unit price gap stays a 50% per-task gap after retries. It shifts further if failure rates, retry counts, or output lengths differ.
- Throughput has value of its own. Output throughput more than doubles, so queueing and waiting times drop sharply. None of that shows up on the token bill, but it directly affects delivery cadence.
This leads to three principles:
- Compare like with like. Before comparing, confirm that thinking effort tier, system prompt, context length, and tool configuration match. If they don’t, align them first.
- Account for costs twice. Calculate both the per-million-token unit price and the all-in cost per task. The latter takes into account the input/output ratio, retries, and throughput.
- Have a switch plan ready. The end of a pricing window is predictable, so make the gray rollout and budget controls at the abstraction layer handle it.
2. Reading the model lineup: the design logic behind family-style SKUs
2.1 Four tiers in a month: segmentation, not stacking
With family-style releases, shipping four models in a month is now routine. They are clearly segmented by capability, their prices differ by several multiples, and each has a particular focus:
| Tier | Positioning | Pricing strategy | Best suited to |
|---|---|---|---|
| Lightweight | High-frequency, low-complexity calls | Lowest cost, with a free call tier | Classification, extraction, summarization, and other structured tasks |
| Middle | The main productivity tier | Mainstream pricing, with very low cache read pricing | Multi-file debugging, cross-repo refactoring, long document and table analysis |
| High-performance | Quality first | Promo pricing, later returning to regular pricing | Difficult tasks, strong context understanding |
| Flagship | Extreme reasoning | Highest unit price | Hard problems, high-stakes decisions |
The key to this design is that tiers differ in more than raw intelligence. Each one trades off quality, latency, and price. The first step in model selection isn’t finding the “strongest model,” but the tier that best fits the value density of the task.
2.2 Cache read pricing: the hidden lever in your cost model
The middle tier’s cache read price is only about 1/20 of its input price, so long-context tasks don’t pay repeatedly for the same content. Typical scenarios include:
- Coding assistants that always carry the repo rules and coding standards;
- Customer service bots that include the same product manual in every turn;
- Document analysis that repeatedly references the same long source material.
Prefix caching in these cases noticeably improves the bill structure. How much it saves, though, depends on whether the cache hit strategy is well designed (see Section 5).
2.3 Cross-tier comparability of benchmark scores
On aggregate benchmarks, the middle tier sits only 1 point above the high-performance tier, well within the margin of error. Their thinking effort settings, however, differ (see Section 3).
3. Thinking effort tiers: the most overlooked variable behind score gaps
3.1 Settings: defaults and ceilings shape how a model is best used
Reasoning models generally offer multiple thinking effort levels. A common approach is a single parameter that controls reasoning length, paired with a “score vs. reasoning volume” curve that shows diminishing returns. Such curves typically show:
- Simple tasks saturate at a lower tier. Reasoning further only wastes time and tokens.
- Difficult tasks need a higher tier, with noticeably higher latency and token consumption.
Many teams treat the tier as a “default setting” rather than a “capability ceiling,” and that is a common blind spot. The default tier reflects the vendor’s tradeoffs for typical scenarios, which may not match your own task distribution.
3.2 Align the setup before comparing across tiers
In the sample scenario, the middle tier defaults to a higher effort tier, with a still higher maximum, while the high-performance tier defaults to a medium tier with a somewhat higher maximum. Comparing across tiers requires at least the following:
- Match effort tiers. Use the maximum tier on both sides, or the default on both, and avoid “all-out on one side, default on the other.”
- Match the pipeline. Keep the system prompt, context length, toolset, and output format constraints the same.
- Record multiple dimensions. Log the quality score, average latency, and average token consumption, not just one overall score.
- Look at task distribution. Aggregate scores are averages. If your business is dominated by certain task types, score that subset separately.
3.3 Set a default thinking budget
For the thinking budget, common industry practice suggests:
- Start at a medium tier.
- Measure the score gains from moving up a tier on a subset of hard tasks.
- Once the score gain falls below your preset threshold while latency rises noticeably, stop moving up.
An illustrative decision logic:
def choose_effort(task, budget_s: float, stats: dict) -> str:"""Pick a thinking effort tier from task difficulty, latency budget, andhistorical gains from moving up a tier.stats: {tier: {"score": float, "p95_ms": int}} — historical stats from your own eval set"""if budget_s < 20: # latency-first scenarios, e.g. interactive completionreturn "low"if task.files_touched <= 3 and not task.cross_repo:return "medium" # single-file, local changes — medium is usually enoughstats = {t: s for t, s in stats.items() if s["p95_ms"] <= budget_s * 1000}if not stats:return "medium"# Among tiers within the latency budget, pick the best score-to-time ratioreturn max(stats, key=lambda t: stats[t]["score"] / stats[t]["p95_ms"])
4. Coding ability: breaking “best overall” into verifiable dimensions
4.1 Coding ability is multidimensional
A vendor’s claim of “first on the coding leaderboard,” third-party CLI agent scores, and resolution rates on software engineering task suites don’t measure the same thing:
| Dimension | What it measures | Representative tasks |
|---|---|---|
| Code generation and completion | Local correctness, compilability | Inline completion in the IDE |
| CLI agents | Multi-step planning, execution, self-correction | From requirement to runnable changes |
| Software engineering task suites | Understanding real repos, locating and fixing defects | Bug fixes, patch generation |
| Document and table output | Quality of structured content | Reports, proposals, review materials |
A “first” in one table doesn’t imply the “best” for another scenario. Benchmark sets can also overlap with training data, which creates a risk of leaderboard gaming. Treat leaderboards as initial screening signals, not final verdicts.
4.2 Same model, different agent harnesses, different results
Gaps between third-party and vendor-reported results are common, often because:
- CLI agent toolchains differ in prompts, context truncation strategies, and tool-calling loops;
- Vendors’ built-in toolchains are tuned for their own models;
- Hardware environments, concurrency limits, and sandbox policies differ.
For developers, the most useful evidence is an A/B test on your own codebase with your own toolchain. The skeleton below shows the approach: hold variables fixed and record comparable metrics.
# Illustrative: same-condition A/B comparison on your own task set# Fixed: prompts, context construction, toolset, temperature, thinking effort# Varied: only the model under testCASES = load_cases("my_repo_tasks.jsonl") # Real bugs and real requirements, maintained by your teamdef run(model_id: str) -> dict:passed, tokens_in, tokens_out, wall_ms = 0, 0, 0, []for case in CASES:t0 = time.perf_counter()result = agent_loop(case, model=model_id) # Same tools and context constructionwall_ms.append((time.perf_counter() - t0) * 1000)passed += int(run_ci_and_tests(result.patch)) # A task counts only if tests passtokens_in += result.usage.input_tokenstokens_out += result.usage.output_tokensn = len(CASES)return {"pass_rate": passed / n,"avg_wall_ms": sum(wall_ms) / n,"cost_per_task": estimate_cost(tokens_in / n, tokens_out / n, price_of(model_id)),}
This approach answers three questions: what the first-pass success rate is, what the average latency is, and what each task costs once normalized. With those numbers, “who’s stronger” no longer hinges on how the leaderboard was built.
5. Cost structure: from unit price to cost per task
5.1 The billing formula: input unit price isn’t the whole story
The cost of a single call is:
C = N_in × P_in + N_out × P_out
Here, N is the token count and P is the price per million tokens. Input and output are billed separately, and the output price is usually clearly higher than the input price. So the longer a task’s output, the greater the effect of the price structure.
The all-in cost of a task should also account for retries and context growth:
C_task ≈ (N_in + ΣN_out) × (weighted P_in + P_out) × (1 + r)
Here, r is the overhead coefficient introduced by retries after failures. This leads to three implications:
- Output length determines price sensitivity. The longer the output, the more the output unit price matters. Tasks that generate long documents or long code depend more on a tier with a lower output price.
- Retries amplify unit price differences. Retries multiply all token costs.
- Throughput determines waiting time. For the same output volume, higher output throughput means shorter queueing and response times.
5.2 Run the numbers
In the sample scenario, the middle tier produces about 15% more output tokens than the flagship. How low would its output price need to be to come out ahead? The break-even point satisfies:
P_mid_out × 1.15 = P_flag_out, meaning P_mid_out < 0.87 × P_flag_out.
During the promo, the output prices are 15 : 10, far from this condition. At regular pricing, they are 20 : 10, widening the gap further. The “cheaper” conclusion depends heavily on which pricing period you use.
def estimate_cost(n_in, n_out, price_in, price_out, retries=2):"""Estimated all-in cost per task (illustrative prices, USD per million tokens)"""per_call = (n_in * price_in + n_out * price_out) / 1_000_000return per_call * (1 + retries)mid_promo = estimate_cost(50_000, 1_500, 3, 15)mid_regular = estimate_cost(50_000, 1_500, 4, 20)flagship_promo = estimate_cost(50_000, 1_500, 2, 10)# Promo period: middle tier is about 1.50x the flagshipprint(mid_promo / flagship_promo)# After regular pricing returns: about 2.00xprint(mid_regular / flagship_promo)
5.3 Converting throughput and latency
The latency of a single call is roughly “output tokens ÷ output throughput + time to first token + queueing time.” In the sample scenario, output throughput nearly doubles, cutting a 1,500-token response from about 26 seconds to about 14 seconds. In high-frequency interactive settings, that is a real improvement in user experience.
6. Safety: the second scorecard, beyond benchmark scores
Model evaluation is expanding from “is the answer right?” to “is the model dependable?” At least three types of metrics matter:
- Task cheating rate. Did the model earn points through shortcuts such as deleting tests or modifying assertions? In the sample scenario, one model shows 0.0% for this metric, which is the safety indicator to prioritize.
- Internal shortcut-taking rate. While meeting a surface goal, does the model bypass required verification steps? This directly affects whether the code it writes can be trusted.
- Indirect prompt injection success rate (ASR). When a model reads external content such as web pages, tickets, and code comments, does it get hijacked by instructions hidden inside? In the sample scenario, the top tier shows 0% for this metric, indicating that safety performance depends on the thinking effort tier. Comparisons must state the tier used.
For developers, these numbers mean the following:
- They can go into the scorecard for procurement and model selection;
- They point to defenses the engineering side needs to add, such as isolated execution environments, limited permissions for high-risk tools, and marking external content as untrusted.
Safety capabilities are also becoming scenario-specific. Specialized evaluations are appearing for vulnerability discovery, web penetration testing, and compliance baseline checks, with scores ranging from 50% to 90%. For such models, capability and risk are two sides of the same coin, so enterprise use needs matching permission controls and audits.
7. Pricing windows: treating “promo expiry” as a predictable operations event
7.1 The math during the window
During the promo, the high-performance tier’s unit price is temporarily suppressed, so “running more tasks on the higher tier” looks more economical on paper. Once the window ends and prices return to regular levels, the cost-effectiveness balance clearly shifts toward the middle tier. Teams should calculate two numbers in advance:
- The monthly cost of the current tier mix once the window ends;
- The savings expected after moving to the middle tier.
7.2 Checklist before the switch
- Confirm the effective date of the billing change, and whether it affects free quotas or rate limits.
- Check budget alert thresholds so costs don’t spike after the switch.
- Prepare a “tier downgrade” fallback that lets you roll back with one action if something goes wrong.
- Assess existing tasks for migration, separating those that must stay on the high tier from those that can be downgraded.
7.3 The abstraction layer is a prerequisite for switching
If model identifiers are hardcoded throughout your business code, switching costs are very high. Wrap them at a gateway layer instead:
- A unified interface. Hide the API differences between models so business code depends only on a consistent method signature.
- Configuration-driven routing. Choose tiers by task type, complexity, and cost ceiling, with policies kept external and hot-updatable.
- Observability. Log the tier, token usage, latency, and cost of every call for attribution and post-mortems.
Business services│▼Model gateway (unified interface / routing policy / budget control / logging and cost attribution)├── Lightweight: classification, extraction, formatting├── Middle: refactoring, long-document analysis, routine coding└── High tiers: hard defects, high-risk changes, security-specific work
7.4 In practice: layered routing + failure fallback + budget guard
# Illustrative: model routing and budget guard# Note: model capability labels and prices are placeholders. Maintain them with your own# benchmark results and the actual price list.import timefrom dataclasses import dataclass@dataclass(frozen=True)class ModelSpec:name: strstrengths: frozenset # Capability tagsin_price: float # Price per million input tokensout_price: float # Price per million output tokenseffort_default: str = "medium"cache_read_discount: float = 0.05 # Discount factor for cache hitsMODELS = {"light": ModelSpec("light", frozenset({"classify", "extract", "format"}),0.5, 2.0, "low", cache_read_discount=0.1),"mid": ModelSpec("mid", frozenset({"refactor", "long_doc", "tabular", "code"}),3.0, 15.0, "high", cache_read_discount=0.05),"flagship": ModelSpec("flagship", frozenset({"hard_debug", "security", "design", "code"}),4.0, 20.0, "high", cache_read_discount=0.1),}@dataclassclass Task:kind: str # Task type tagfiles_touched: int = 1cross_repo: bool = Falseneeds_hard_reasoning: bool = Falseclass BudgetGuard:"""Tracks cumulative daily cost and blocks high-tier calls past the limit"""def __init__(self, daily_limit: float):self.daily_limit = daily_limitself.spent = 0.0def allow(self, spec: ModelSpec) -> bool:return self.spent < self.daily_limit * 0.8def record(self, cost: float):self.spent += costdef route(task: Task, guard: BudgetGuard) -> ModelSpec:# 1) Hard-reasoning tasks go to the flagship first, downgraded when the budget is tightif task.needs_hard_reasoning:return MODELS["flagship"] if guard.allow(MODELS["flagship"]) else MODELS["mid"]# 2) Multi-file or cross-repo changes go to the middle tierif task.files_touched > 3 or task.cross_repo:return MODELS["mid"]# 3) Everything else goes to the lightweight tier, if it supports the task tagspec = MODELS["light"]if task.kind not in spec.strengths:return MODELS["mid"]return specdef call_with_fallback(task: Task, guard: BudgetGuard, prompt: str, retries: int = 2):"""Call the routed model; fall back to the next tier on failure or timeout"""ladder = [route(task, guard), MODELS["mid"], MODELS["light"]]last_err = Nonefor spec in dict.fromkeys(ladder): # Deduplicate while preserving orderfor attempt in range(retries + 1):try:resp = llm.chat(model=spec.name, prompt=prompt,effort=spec.effort_default,)cost = (resp.usage.input_tokens * spec.in_price+ resp.usage.output_tokens * spec.out_price) / 1_000_000guard.record(cost)return respexcept (TimeoutError, RateLimitError, UpstreamError) as e:last_err = etime.sleep(2 ** attempt) # Exponential backoffraise last_err
The benefit of this structure is that switching tiers, adjusting budgets, and adding or removing models all mean editing configuration. The business code stays unchanged.
8. Cost control: the four most effective levers
- Prefix caching. Put stable system prompts, repo rules, and long documents at the very front of the request so repeated content hits the cache, bringing the cache read price down to a few percent of the input price.
- Output control. Have the model prioritize structured, verifiable results (such as JSON or patches) and cut redundant explanations, reducing output tokens at the source.
- Context engineering. Retrieve content on demand and summarize and compress long conversations so you don’t resend entire histories repeatedly.
- Failure triage. Distinguish “insufficient model capability” from “not enough context.” Only the former justifies moving up a tier; the latter should be fixed by supplying more material.
9. Build safety into the pipeline
- Isolated execution. Run model-generated code in a sandbox first, with network and filesystem permissions restricted.
- Least privilege. Require approval or a second confirmation for high-risk tool calls.
- Label external content. Explicitly tell the model that content from web pages, tickets, and similar sources is untrusted to reduce the indirect prompt injection risk.
- Audit trails. Log the input and output of every call for later investigation.
- Keep evaluations in sync. Include task cheating rates and shortcut-taking rates in the selection scorecard rather than looking only at capability scores.
10. Conclusion: model selection is a three-way fit of task, cost, and safety
Back to the original question: which is cheaper after December 1? It depends on three things:
- The share of difficult tasks in your workload;
- How your output lengths are distributed;
- The actual price list for each tier after the promo window ends.
Here are three things engineering teams can do now:
- Run a same-condition comparison on your own task set to get your own cost per task and first-pass success rate;
- Abstract model calls at a gateway layer, and add budget guards and fallback plans;
- Include safety metrics in the selection scorecard, backed by sandboxes and permission controls.
These practices apply regardless of which form of model service you adopt. For example, on Baidu AI Cloud’s Qianfan platform, enterprises can switch between models on demand through a unified access layer and control costs with usage monitoring and quota management. When the December 1 price change actually takes effect, all you need to do is adjust configuration rather than rebuild the system.
