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.

    1. 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.
    2. 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:

    1. 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.
    2. 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.
    3. 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:

    1. 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.”
    2. Match the pipeline. Keep the system prompt, context length, toolset, and output format constraints the same.
    3. Record multiple dimensions. Log the quality score, average latency, and average token consumption, not just one overall score.
    4. 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:

    1. def choose_effort(task, budget_s: float, stats: dict) -> str:
    2. """Pick a thinking effort tier from task difficulty, latency budget, and
    3. historical gains from moving up a tier.
    4. stats: {tier: {"score": float, "p95_ms": int}} — historical stats from your own eval set
    5. """
    6. if budget_s < 20: # latency-first scenarios, e.g. interactive completion
    7. return "low"
    8. if task.files_touched <= 3 and not task.cross_repo:
    9. return "medium" # single-file, local changes — medium is usually enough
    10. stats = {t: s for t, s in stats.items() if s["p95_ms"] <= budget_s * 1000}
    11. if not stats:
    12. return "medium"
    13. # Among tiers within the latency budget, pick the best score-to-time ratio
    14. return 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.

    1. # Illustrative: same-condition A/B comparison on your own task set
    2. # Fixed: prompts, context construction, toolset, temperature, thinking effort
    3. # Varied: only the model under test
    4. CASES = load_cases("my_repo_tasks.jsonl") # Real bugs and real requirements, maintained by your team
    5. def run(model_id: str) -> dict:
    6. passed, tokens_in, tokens_out, wall_ms = 0, 0, 0, []
    7. for case in CASES:
    8. t0 = time.perf_counter()
    9. result = agent_loop(case, model=model_id) # Same tools and context construction
    10. wall_ms.append((time.perf_counter() - t0) * 1000)
    11. passed += int(run_ci_and_tests(result.patch)) # A task counts only if tests pass
    12. tokens_in += result.usage.input_tokens
    13. tokens_out += result.usage.output_tokens
    14. n = len(CASES)
    15. return {
    16. "pass_rate": passed / n,
    17. "avg_wall_ms": sum(wall_ms) / n,
    18. "cost_per_task": estimate_cost(tokens_in / n, tokens_out / n, price_of(model_id)),
    19. }

    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:

    1. 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.
    2. Retries amplify unit price differences. Retries multiply all token costs.
    3. 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.

    1. def estimate_cost(n_in, n_out, price_in, price_out, retries=2):
    2. """Estimated all-in cost per task (illustrative prices, USD per million tokens)"""
    3. per_call = (n_in * price_in + n_out * price_out) / 1_000_000
    4. return per_call * (1 + retries)
    5. mid_promo = estimate_cost(50_000, 1_500, 3, 15)
    6. mid_regular = estimate_cost(50_000, 1_500, 4, 20)
    7. flagship_promo = estimate_cost(50_000, 1_500, 2, 10)
    8. # Promo period: middle tier is about 1.50x the flagship
    9. print(mid_promo / flagship_promo)
    10. # After regular pricing returns: about 2.00x
    11. print(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:

    1. 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.
    2. 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.
    3. 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.
    1. Business services
    2. │
    3. ▼
    4. Model gateway (unified interface / routing policy / budget control / logging and cost attribution)
    5. ├── Lightweight: classification, extraction, formatting
    6. ├── Middle: refactoring, long-document analysis, routine coding
    7. └── High tiers: hard defects, high-risk changes, security-specific work

    7.4 In practice: layered routing + failure fallback + budget guard

    1. # Illustrative: model routing and budget guard
    2. # Note: model capability labels and prices are placeholders. Maintain them with your own
    3. # benchmark results and the actual price list.
    4. import time
    5. from dataclasses import dataclass
    6. @dataclass(frozen=True)
    7. class ModelSpec:
    8. name: str
    9. strengths: frozenset # Capability tags
    10. in_price: float # Price per million input tokens
    11. out_price: float # Price per million output tokens
    12. effort_default: str = "medium"
    13. cache_read_discount: float = 0.05 # Discount factor for cache hits
    14. MODELS = {
    15. "light": ModelSpec(
    16. "light", frozenset({"classify", "extract", "format"}),
    17. 0.5, 2.0, "low", cache_read_discount=0.1),
    18. "mid": ModelSpec(
    19. "mid", frozenset({"refactor", "long_doc", "tabular", "code"}),
    20. 3.0, 15.0, "high", cache_read_discount=0.05),
    21. "flagship": ModelSpec(
    22. "flagship", frozenset({"hard_debug", "security", "design", "code"}),
    23. 4.0, 20.0, "high", cache_read_discount=0.1),
    24. }
    25. @dataclass
    26. class Task:
    27. kind: str # Task type tag
    28. files_touched: int = 1
    29. cross_repo: bool = False
    30. needs_hard_reasoning: bool = False
    31. class BudgetGuard:
    32. """Tracks cumulative daily cost and blocks high-tier calls past the limit"""
    33. def __init__(self, daily_limit: float):
    34. self.daily_limit = daily_limit
    35. self.spent = 0.0
    36. def allow(self, spec: ModelSpec) -> bool:
    37. return self.spent < self.daily_limit * 0.8
    38. def record(self, cost: float):
    39. self.spent += cost
    40. def route(task: Task, guard: BudgetGuard) -> ModelSpec:
    41. # 1) Hard-reasoning tasks go to the flagship first, downgraded when the budget is tight
    42. if task.needs_hard_reasoning:
    43. return MODELS["flagship"] if guard.allow(MODELS["flagship"]) else MODELS["mid"]
    44. # 2) Multi-file or cross-repo changes go to the middle tier
    45. if task.files_touched > 3 or task.cross_repo:
    46. return MODELS["mid"]
    47. # 3) Everything else goes to the lightweight tier, if it supports the task tag
    48. spec = MODELS["light"]
    49. if task.kind not in spec.strengths:
    50. return MODELS["mid"]
    51. return spec
    52. def call_with_fallback(task: Task, guard: BudgetGuard, prompt: str, retries: int = 2):
    53. """Call the routed model; fall back to the next tier on failure or timeout"""
    54. ladder = [route(task, guard), MODELS["mid"], MODELS["light"]]
    55. last_err = None
    56. for spec in dict.fromkeys(ladder): # Deduplicate while preserving order
    57. for attempt in range(retries + 1):
    58. try:
    59. resp = llm.chat(
    60. model=spec.name, prompt=prompt,
    61. effort=spec.effort_default,
    62. )
    63. cost = (resp.usage.input_tokens * spec.in_price
    64. + resp.usage.output_tokens * spec.out_price) / 1_000_000
    65. guard.record(cost)
    66. return resp
    67. except (TimeoutError, RateLimitError, UpstreamError) as e:
    68. last_err = e
    69. time.sleep(2 ** attempt) # Exponential backoff
    70. raise 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

    1. 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.
    2. Output control. Have the model prioritize structured, verifiable results (such as JSON or patches) and cut redundant explanations, reducing output tokens at the source.
    3. Context engineering. Retrieve content on demand and summarize and compress long conversations so you don’t resend entire histories repeatedly.
    4. 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:

    1. Run a same-condition comparison on your own task set to get your own cost per task and first-pass success rate;
    2. Abstract model calls at a gateway layer, and add budget guards and fallback plans;
    3. 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.