Low-Cost LLM Model Selection and Cost Evaluation Guide

    Choosing a cheaper LLM tier is not about finding the lowest per-token price, but about how well its pricing structure matches your workload. This guide explains three-column pricing (cached input, regular input, output), the technical signals behind low-cost model releases, why cache-hit savings are often overestimated, and how to map different workloads to the right tier. It also covers building budgets from real usage receipts, a lightweight-to-flagship routing strategy, and a practical checklist for validating a low-cost tier before rollout.

    1. The Misread Single Price: Why the Lowest Unit Price Is Not the Lowest Task Cost

    When a lightweight LLM tier is released, the number people quote most often is a striking input price. But a real business call produces a bill with at least three components: regular input, output generation, and cache-hit input. Add multi-turn context that is carried in repeatedly, failed retries, and timeout replays, and the actual spend can be far from the intuition of “unit price × word count.”

    So deciding whether a low-cost tier is worth it means answering three questions at once: which type of workload its price structure favors; whether its capability boundary covers your task; and how much you pay when it gets things wrong. Look at all three together and the selection decision becomes stable.

    2. List Every Price Column: Three-Column Pricing and Conditional Terms

    Put all candidate models into one table with fixed column names — “cache-hit input / regular input / output” — and one unit: price in RMB per million tokens. Keep two disciplines while doing it:

    • Calculate long-term budgets at official prices, and mark limited-time discounts with their promotion window separately, so a promotional period is not mistaken for the steady-state cost;
    • When citing comparison data, keep the conditions attached (such as peak-hour pricing or a specific channel), otherwise readers will assume the price gap holds at any time.

    An illustrative structure for the table looks like this (values are illustrative and only show the structure):

    1. Model tier Cache-hit input Regular input Output
    2. Lightweight-official 0.02 0.5 2
    3. Flagship-official 0.3 6 18
    4. Lightweight-promo 0.01 0.25 1
    5. External-peak-hour 0.04 2 8

    This table tells you more than the “lowest unit price”: compared with the flagship tier, the lightweight tier is roughly 1/12, 1/9, and 1/15 across the three columns; output price is usually several times the input price, and the cache-hit price may be only a fraction of the regular input price. The ratio between input and output decides how you should use a model more than the input price itself does.

    3. Three Technical Signals Behind a Low Price

    A lightweight release worth discussing usually ships three design choices alongside the low price, and together they explain the direction of cost optimization:

    1. A smaller activation scale: in a sparse structure, fewer parameters take part in each forward pass, which directly lowers the compute cost per token;
    2. A leaner KV cache: a smaller cache footprint means memory pressure and scheduling cost stay more controllable under longer contexts, and prefix reuse is easier to achieve;
    3. A tendency toward shorter task outputs: generation length is more restrained for the same task, and output is the most expensive column on the bill.

    Note that these three are common optimization ideas across the industry; implementations and results vary by model. Judge them by your own measured receipts, not by marketing claims.

    4. Cache Hits: The Most Overestimated Item in a Budget

    Multi-turn agents repeatedly put system prompts, tool definitions, and long documents into the input. A repeated prefix that meets the platform’s caching conditions can be billed at the cache-hit price, which is the main source of savings in long-context scenarios. But a repeated prefix does not guarantee a hit. Common reasons for a miss include:

    • volatile content inside the prefix, such as timestamps, random IDs, or concatenated retrieval results;
    • slight changes in message order or tool definitions that make the prefix no longer byte-for-byte identical;
    • routing to a different instance, or the cache expiring or being evicted.

    The right approach is to build the budget on the hit volume in real receipts:

    1. # Pseudocode: account for cost from actual receipts, not from prompt length
    2. def account(resp):
    3. u = resp.usage
    4. cost = (u.cache_read_tokens * P_CACHE
    5. + u.prompt_tokens * P_INPUT
    6. + u.completion_tokens * P_OUTPUT)
    7. return cost, u.cache_read_tokens / max(u.prompt_tokens, 1)

    Also watch for a frequent conversion mistake: tokens and Chinese characters have no fixed 1:1 relationship — language, text content, and tokenization all affect the count. How many passes a 100,000-character document takes must be calculated with the model’s actual metering; and multi-turn follow-ups that carry old context keep accumulating consumption.

    5. Task Allocation: Mapping Workloads to the Price Structure

    • Output-intensive (long-form generation, code completion, batch rewriting): cost concentrates in the output column, so look first at output price and the ability to control generation length;
    • Input-intensive (long-document QA, contract review, log analysis): look first at cache-hit rate and regular input price;
    • Multi-turn agents: system prompts and tool definitions are stable, so cache gains are highest, but you must accept the extra input and output from retries;
    • High-cost scenarios (finance, healthcare, production changes): the cost of failure far exceeds the token cost, so use the flagship tier as the main option and the lightweight tier for triage.

    A simplified routing strategy: handle high-confidence requests with the lightweight tier first, escalate low-confidence or high-risk requests to the flagship tier, and keep calibrating the threshold with measured data.

    1. if confidence < θ or risk_level == HIGH:
    2. route(to = flagship)
    3. else:
    4. route(to = lightweight)

    6. Connecting Blind Tests, Task Allocation, and the Cost of Failure

    A result like a 0.02 difference in average blind-test satisfaction means the two tiers may show no significant difference within statistical error; while a roughly 18x difference in per-task cost means the difference shows up mainly on the bill. At that point the decision should not stop at the score — complete a three-step loop:

    1. Run a blind test on a task set drawn from the same distribution as your business, recording satisfaction and failure types;
    2. Break down the input/output/cache composition of each workload type by task allocation;
    3. Convert the cost of failure (rework, complaints, compliance risk) into the total cost, then compare.

    7. Rollout Checklist

    • Is the price table complete with all three columns, and are discounts listed separately?
    • Is the budget built from real usage receipts rather than word-count estimates?
    • Have volatile content been removed from the cache prefix?
    • Are there limits on failure retries and a fallback path?
    • Has a small-traffic canary validated the usable boundary of the lightweight tier?

    The conclusion is direct: the value of a low-cost tier lies not in the unit price but in how well the price structure matches your workload structure. In general engineering practice on platforms such as Baidu AI Cloud, putting three-column pricing, measured cache behavior, and the cost of failure into one evaluation table is what turns a release into a cost-benefit result you can actually account for.