After Model Tiering, Choose Models by Cost per Successful Call

    This guide explains how to choose among top, mid-range, and lightweight large language model tiers. It covers why composite benchmark scores and list prices can mislead, how output ratios, caching, retries, and latency change real costs, and a four-step method for routing requests and calculating cost per successful call.

    1. Why Multiple Model Tiers Appear at the Same Time

    Most model providers do not release only one model. A common approach is to offer three tiers at once: a top tier for complex tasks, a mid-range tier for general tasks, and a lightweight tier for high-frequency calls. For users, model selection is no longer about picking the strongest model. It is about finding the right tier for each type of call.

    Three signals show whether tiering is really happening. First, the capability gap between tiers is narrowing. Second, the price gap is larger than the capability gap. Third, the provider offers special low prices or caching discounts for high-frequency scenarios. When all three appear together, tiered selection deserves serious attention.

    Model versions and prices change often. Tier structures and cost accounting methods are more stable, so they are a better foundation for long-term team practice.

    2. Composite Scores and Unit Prices Cannot Be Compared Directly

    2.1 Composite Scores Hide Differences

    Independent evaluation organizations often use composite indexes to measure model capability. These indexes take a weighted average of several benchmark results, which makes horizontal comparison easier. However, they have two limitations.

    First, a composite score is an average. A model that leads in code generation but trails in long-document retrieval may have a composite score close to another model’s. When selecting a model, check the sub-scores most relevant to your business, not only the total.

    Second, benchmarks differ from real business use. Benchmark questions are usually well formatted and clean, while production inputs often contain noise, messy formats, or vague requirements. Two models with similar composite scores do not necessarily perform consistently in your scenario.

    Therefore, when composite score differences are small, evaluate with your own data and let actual results guide the trade-off.

    2.2 Convert Unit Prices into Real Costs

    Models are usually billed per million tokens, with input and output priced separately. Output prices are generally higher because generating text requires more computation.

    Within the same provider, output prices for different tiers can differ several times over. Cache discounts, batch discounts, and offers tied to data usage can widen the actual gap. Teams need a cost model rather than a price list alone.

    The table below shows three hypothetical tiers. It is only meant to illustrate the calculation method.

    Tier Example output price (USD per million tokens) Example composite score
    Top 15 80
    Mid-range 3 77
    Lightweight 0.5 70

    The figures in the table are fictional placeholders and do not represent any provider’s actual pricing.

    Real costs depend on the following factors:

    1. Input-to-output ratio: Summarization tasks have far more input than output, while code generation tasks are the opposite.
    2. Cache hit rate: If repeated system prompts or long document prefixes hit the cache, their input cost can drop to a small fraction of the original price.
    3. Retries and failure rate: A low-cost model that needs multiple retries may end up costing more than a high-cost model that succeeds on the first attempt.
    4. Latency cost: User waiting time and concurrency occupancy become real expenses.

    3. Division of Work Across the Three Tiers

    3.1 Top Tier: Long-Chain Tasks

    The top tier suits tasks with complex goals, many steps, and a need for autonomous planning. Common scenarios include:

    • Refactoring and defect localization across multiple code repositories;
    • Agent workflows that repeatedly call tools and adjust plans based on intermediate results;
    • Document generation and review that must follow complex constraints strictly.

    Failures in these tasks are costly. Even when a single call is expensive, the result can still be cheaper than rework by people. When testing, focus on whether the model keeps the goal consistent across tasks of ten or more steps, not just single-turn question answering.

    3.2 Mid-Range Tier: The Default Choice

    The mid-range tier is usually the default for business systems. It covers common needs such as question answering, summarization, information extraction, code completion, and content rewriting. Many tasks that once required the top tier can also be handled by the mid-range tier, but each one still needs verification.

    Before switching mid-range model versions, run a fixed regression test set to confirm that output quality has not declined. If quality drops, roll back to the previous version and record the failing samples for future evaluation.

    3.3 Lightweight Tier: High Frequency and Low Latency

    The lightweight tier suits high-frequency steps such as classification, keyword extraction, intent recognition, and input validation. Each call is cheap and responds quickly, so it works well at the front of a request pipeline.

    Lightweight models are generally weaker at open-ended reasoning and long-text understanding. If they are used for steps that require deep reasoning, they may produce fluent but incorrect output. These errors are hard to spot, so use sampling reviews or rule-based validation as a safeguard.

    4. How Caching Reduces Input Costs

    Cache billing is an important cost optimization method. When multiple requests share the same prefix, such as system instructions, knowledge base documents, or tool definitions, the platform can reuse the intermediate results already computed and charge a lower price.

    To put caching into practice, start with three areas:

    • Fixed prefix: Place system instructions and tool definitions at the beginning of each request, and keep them byte-for-byte identical to improve the hit rate.
    • Dynamic content at the end: Put user input and retrieval results at the end so they do not break the prefix cache.
    • Record hit data: Log the number of cached tokens and periodically calculate the actual savings.

    The cache hit rate can be estimated with this formula:

    Hit rate = Input tokens served from cache ÷ Total input tokens

    Caching rules differ significantly between providers. They include minimum cacheable length, expiration time, write fees, and read fees. Before integrating, read the relevant platform’s documentation and verify the results against your actual bills.

    5. A Four-Step Selection Method

    Step 1: Classify tasks. List the call scenarios in your business. Note the complexity, latency requirements, input and output lengths, and the cost of failure for each.

    Step 2: Build an evaluation set. Sample 200 to 500 items from real logs and annotate the ideal outputs. Cover common cases and edge cases. Stratify the sampling by scenario so the set does not concentrate on simple questions.

    Step 3: Calculate cost per successful call. Cost per successful call equals the cost of a single call divided by the success rate, plus any necessary manual review cost.

    Step 4: Set routing rules. Send simple requests to the lightweight tier, ordinary requests to the mid-range tier, and failed or high-risk requests to the top tier.

    The following is a sample code snippet. The prices and scores in the code are placeholders. Replace them with actual data and evaluation results before use.

    ```python
    from dataclasses import dataclass

    @dataclass
    class ModelTier:
    name: str
    score: float # Composite capability score (example value)
    input_price: float # Price per million input tokens (USD, example value)
    output_price: float # Price per million output tokens (USD, example value)
    cache_ratio: float # Input price on a cache hit, as a fraction of the original price (example value)

    def estimate_cost(tier: ModelT