Evaluating Low-Cost LLMs: From Billing Data to Application Experience

    This article presents a practical framework for evaluating low-cost large language models beyond headline token prices and generation speed. It covers how to interpret billing data, account for cache hit rates and output mix, compare pricing models on the same workload, measure real response latency, judge the value of reasoning, calculate cost per qualified task, and build reproducible tests with production cost and failure guardrails.

    Evaluating Low-Cost LLMs: From Billing Data to Application Experience

    1. Ask the Right Questions First

    When a new low-cost LLM is released, developers often focus on two metrics first: price per million tokens and tokens generated per second. Neither number is enough to answer whether the model is suitable for a production system.

    What an enterprise really needs to determine is whether, under a given business workload, the model can complete tasks that meet quality requirements at an acceptable cost, response time, and level of stability.

    Evaluation should therefore center on four questions:

    1. What input, output, and caching structure does the actual bill correspond to?
    2. Which stage consumes most of the user’s waiting time?
    3. How much extra cost does the reasoning process add, and does it improve results?
    4. Does a low cost per call also mean a low cost per completed task?

    Only by separating these questions can you avoid treating one usage experience as a general conclusion and make test results reusable.

    2. Reverse-Engineer Cost from the Bill: Blended Unit Price Is Useful, but Not Sufficient on Its Own

    The original record provides a set of numbers worth analyzing: about 180 million tokens processed and about CNY 31 in spending.

    If these two numbers are treated as data from the same statistical period and the same billing basis, the result is:

    Blended cost = actual spending ÷ total tokens × 1,000,000

    Substituting the values:

    31 ÷ 180,000,000 × 1,000,000 ≈ CNY 0.172 per million tokens

    Using a simple linear extrapolation based on this workload structure, processing 1 billion tokens would cost about CNY 172.

    This result shows that under the task mix and settlement conditions corresponding to that record, the observed blended cost was low. However, it cannot be directly treated as the model’s official unit price, let alone as a budget guarantee for all future tasks.

    The reason is that “total tokens” is usually a mixture of multiple priced items, while “actual spending” may also be affected by discounts, balance deductions, settlement delays, and other factors. If the statistical time windows are not aligned, usage may already be accumulated while charges have not yet been fully recorded.

    Therefore, bill analysis should first confirm three boundaries:

    • Time boundary: whether cost and usage come from the same time period.
    • Metering boundary: whether the total includes cached input, regular input, output, and other billable items.
    • Settlement boundary: whether spending has already deducted discounts and whether it includes calls that have not yet been settled.

    Only after these conditions are confirmed is the blended unit price suitable for budget analysis.

    3. Cache Hit Rate and Output Share Determine Whether Low Prices Can Be Reproduced

    LLM call costs usually cannot be accurately described by simply multiplying total volume by one unit price. A more reasonable general expression is:

    Total cost = uncached input volume × corresponding unit price

    • cached input volume × corresponding unit price
    • output volume × corresponding unit price
    • other actual billable items

    The units of measurement for each item must be consistent. Which items are charged, how cache hits are determined, and how reasoning-related usage is classified should all follow the actual service’s billing documentation.

    1. A High Cache Hit Rate Can Significantly Change the Bill

    When tasks contain a large amount of repeated context, such as fixed instructions, identical document prefixes, or repeatedly submitted document fragments, actual input cost may decrease if the service supports the relevant cached billing mechanism.

    However, cache hit rate is not a constant that can be maintained permanently. Changes in context, request organization, and cache validity conditions can all cause differences in hit rates across batches.

    In the original record, another historical workload had a cache hit rate of 93.7%. This shows that the tasks in that group had strong context reuse characteristics, but it does not prove that the current record had the same hit rate.

    In particular, when cache statistics are missing, a low bill alone cannot determine whether the low price comes from base pricing, cache reuse, or other settlement factors.

    2. An Extremely Low Output Share Affects Blended Cost

    In the original historical workload, the output share was only 0.59%. If this ratio is calculated with total input and output tokens as the denominator, then for every 1 million tokens processed, output is about 5,900 tokens, with the rest mainly input.

    This differs significantly from scenarios such as long-form content generation or complex code output.

    For tasks that read large amounts of material and return only short labels or brief conclusions, output cost may account for a small share. For tasks involving long-form generation, detailed solution writing, or repeated code revision, output volume may rise noticeably. When the output unit price is higher than the input unit price, blended cost will also change accordingly.

    Therefore, low-cost evaluation should cover at least three types of workloads:

    • Input-intensive: long document input with short result output.
    • Relatively balanced: input and output scales are closer.
    • Output-intensive: short instructions with longer generated results.

    The blended price of an input-intensive task cannot be directly applied to an output-intensive business.

    4. Compare Pricing Models on the Same Workload, Not the Same Total Volume

    Developers often hesitate between subscription plans and pay-as-you-go APIs. The key to comparison is not how large the advertised quota is, but whether the actually available capability matches the business.

    Pay-as-you-go calls are usually suitable for scenarios with volatile usage, a need for programmatic integration, and a desire to account for costs item by item. Whether a subscription plan is cost-effective depends on its actual coverage, usage limits, and whether the business can fully use the corresponding benefits.

    If a subscription benefit does not include the API calls required by the business, it cannot be directly compared with a pay-as-you-go API bill.

    For different pricing models, you should also build the same set of request samples and standardize the following conditions:

    • Input content and length;
    • Output length and quality requirements;
    • Cache hot/cold state;
    • Time period when requests occur;
    • Concurrency scale;
    • Failure retry rules.

    If prices differ by time period, each period should be measured separately rather than using only the lowest price. Online interactive businesses usually cannot fully choose when calls occur; offline batch processing may have scheduling flexibility. The cost strategies for the two cannot be conflated.

    5. Generation Speed Is Not the Same as Full Response Speed

    The generation speed in the original record was about 50–55 tokens per second. This observation can help estimate the output stage duration, but it cannot explain the overall experience on its own.

    The total response time perceived by users can be roughly broken down as:

    Total response time ≈ network and queueing time + input processing time + computation before generation begins + output generation time

    Some stages may overlap, and they may vary depending on service implementation and request pattern. Engineering evaluation should focus more on directly observable metrics rather than guessing internal execution details.

    At minimum, record:

    • Time to first token: the time from request dispatch to receipt of the first valid output.
    • Full response time: the time from request dispatch to complete receipt of the result.
    • Output throughput: the average number of tokens returned per second during the output generation stage.
    • Latency percentiles: for example, median and 95th percentile, to identify slow requests.
    • Success rate and timeout rate: avoid counting only samples that returned successfully.

    For example, with a 1,000-token output, if the generation stage steadily maintains 50–55 tokens per second, the output alone takes about 18–20 seconds, not including time to first token.

    Therefore, a given speed may be sufficient for background processing but too slow for interactive editing. Evaluation must be tied to the task rather than applying a uniform “fast” or “slow” label to speed.

    6. Judge Reasoning by Benefit, Not by Display Length

    Complex reasoning may increase time to first token and resource consumption, but whether it is worthwhile should be determined by task results.

    It is important to note that the reasoning text displayed by a service, the internal computation process, and the billed usage do not necessarily have a simple one-to-one relationship. You cannot infer internal computation volume just because you see a long process explanation, nor can you assume there is no extra reasoning overhead just because no process is displayed.

    For information extraction, format conversion, and simple classification, excessive analysis may not improve quality and may instead lengthen response time. For multi-constraint planning, complex code localization, and cross-material inference, more sufficient reasoning may reduce errors and rework.

    Evaluation should compare:

    • Whether accuracy improves;
    • Whether output follows business constraints;
    • Whether follow-up questions are reduced;
    • Whether manual revision effort decreases;
    • Whether total cost and total time decrease.

    Production systems usually need concise, inspectable conclusions, along with necessary evidence, assumptions, and validation results, rather than lengthy process displays.

    7. The Most Valuable Cost Metric Is Cost per Qualified Task

    Cost per million tokens is suitable for analyzing bills, but the business cares more about “how much it costs to complete one thing.”

    You can use:

    Cost per qualified task = total test spending ÷ number of tasks that pass acceptance

    Total test spending here should include failed calls and retries. Otherwise, a solution that is cheap per call but frequently requires rework will appear more economical than it actually is.

    When further evaluating enterprise applications, you should also consider the costs of human review, result revision, system maintenance, and waiting time.

    For example, structured extraction results may have missing fields even if the syntax and format are correct; generated code may fail tests even if it looks complete; a summary may omit key constraints even if it reads smoothly. Acceptance criteria must be defined for the business and cannot rely only on whether the text is fluent.

    It is recommended to divide quality evaluation into three levels:

    1. Format qualified: the output structure conforms to the agreed format.
    2. Content correct: facts, fields, logic, and calculations meet requirements.
    3. Business usable: the result can enter the next stage without substantial manual rework.

    Only tasks that meet the third level should be counted as “qualified tasks.”

    8. Build a Reproducible Test Process

    1. Build Samples from Real Tasks

    Select typical requests from the business and add boundary samples such as long inputs, complex constraints, and abnormal data. The test set should record task category, input scale, expected output, and acceptance criteria.

    Do not judge capability based only on a few Q&A exchanges or a small number of demonstration samples.

    2. Test Cold Cache and Repeated Context Separately

    The first group should use new context to observe cost when reuse is unavailable; the second group should repeat a stable prefix to observe the cache benefit that can actually be obtained.

    If the service does not provide cache statistics, explicitly state “cache hit unknown” rather than replacing facts with estimated values.

    3. Increase Concurrency Step by Step

    Single-request behavior only shows the experience under low load. After concurrency increases, queueing, rate limiting, timeouts, and retries may become major issues.

    Increase concurrency gradually from a low level to the business’s expected level, and record throughput, tail latency, error rate, and cost changes. During testing, follow the service’s call limits and avoid meaningless stress.

    4. Record the Full Request Lifecycle

    For each call, record at least the task category, input and output volume, start time, time to first token, end time, retry count, and acceptance result. When cache usage and cost are available, they should also be stored in association.

    Sensitive raw content should not be kept directly in logs without processing. Use redacted summaries and internal IDs to establish traceability, and set reasonable access permissions and retention periods for logs.

    9. From Testing to Launch: Cost and Failure Boundaries Matter

    Even if the average price is low, you should set per-task budgets, daily budgets, and alerts for abnormal usage.

    Common risks include error retry loops, continuously accumulating context, uncontrolled output length, and multi-step tasks that keep triggering subsequent calls. These can cause costs to deviate from the initial estimate.

    Differentiated strategies can be used for different tasks:

    • Limit output size and specify format requirements for simple tasks.
    • Preserve necessary analysis space for complex tasks and add result validation.
    • Use batch processing and reasonable scheduling for non-real-time tasks.
    • Route high-risk results into a manual confirmation process.
    • Set an upper limit on retries to avoid unlimited consumption after failures.

    These measures not only control cost but also improve system explainability and maintainability.

    10. Conclusion: Low Price Is Only the Starting Point; Reliable Task Completion Is the Value

    A low bill can demonstrate a cost advantage under a certain workload, but it cannot replace a complete evaluation. Generation speed per second can describe output-stage performance, but it cannot represent the user’s actual waiting time.

    A more reliable model selection method is to establish four sets of metrics at the same time: cost, latency, quality, and stability. Use the same workload to calculate cost, analyze speed across the full request lifecycle, judge quality through business acceptance, and confirm operating boundaries through concurrency and exception tests.

    When a model can consistently deliver qualified results on real tasks, with a controllable budget, acceptable latency, and manageable failures, low cost truly translates into development efficiency and business value.