LLM API Price Cuts: A Practical Guide to Evaluating Cost per Task
This article explains why a model's advertised price cut does not always translate into a proportional drop in your bill, and how to measure the cost that actually matters: the cost of completing one task. It covers token-based billing, typical input and output pricing tiers, why lower output token counts can reduce total spending more than a unit price cut, why third-party benchmarks often report different numbers, and a reproducible method for building a small internal benchmark to compare model generations. It closes with practical engineering recommendations for reducing LLM costs.
1. The Phenomenon: A 20% Price Cut, but a Bill That May Drop to One-Third
In a model version update, the number most easily overlooked is often not the capability ranking but the bill. Suppose a new general-purpose LLM cuts its public unit price by only about 20%, while the vendor also claims that on its own multi-step office task set, the total cost of completing the same task has dropped to less than one-third of the previous generation.
Both numbers are real, and they do not contradict each other. They measure different things: the first is the unit price, the second is the total cost of getting something done. Conflating the two is one of the most common mistakes in budget evaluation.
2. Billing Basics: Tokens and Pricing per Million
Most mainstream LLM APIs bill by token, with input and output priced separately, in units of “per million tokens.” A token can be understood as the smallest unit the model reads and writes; a passage of Chinese is typically split into several tokens, and code, JSON, and special symbols are split at a higher density.
A typical price structure looks like this (illustrative, not the actual pricing of any specific vendor):
Model A (large parameter tier): input 8 / output 40 (per million tokens)Model B (small parameter tier): input 2 / output 10
Three points are worth noting:
- Output is usually several times the price of input, because generation is computed serially, token by token;
- The two tiers happen to form a 4x price gap, creating a clear cost gradient;
- Only the large parameter tier actually cut its unit price this time; the small tier is “same price, new model.”
3. Beyond Unit Price: Cost per Task Is the Real Expense
The cost of a single task can be roughly written as:
task cost ≈ input tokens × input price + output tokens × output price+ extra consumption from retries and failed rounds
The vendor’s claim of a drop to one-third comes mainly from fewer output tokens—on some test sets, output volume is about 20% lower than the previous generation. Because output is priced high, a 20% reduction in output compresses total cost far more than a 20% cut in unit price.
The key point: this saving depends on the task shape. Shorter output holds reliably for tasks like structured extraction, format conversion, and fixed-template generation. In scenarios that require long-chain reasoning, complete code generation, or long-form document writing, output length is determined by the task itself, so there is limited room to compress and the improvement on the bill shrinks noticeably.
4. Why Third-Party Numbers Differ
Independent evaluation organizations often report more conservative figures: about $3.18 per task on the small parameter tier and about $10.68 on the large tier, a gap of more than three times, with no generational improvement observed in coding tests.
The difference is not that someone is fabricating data, but that three variables differ:
- Different task sets (office workflows vs. programming contest problems);
- Different accounting for output length (whether thinking traces and retries are counted);
- Whether engineering measures such as cache hits and batch discounts are applied.
5. A Reproducible Calculation Method
Teams are advised to build a small internal benchmark set (30–50 real business samples), fix the prompts and decoding parameters, and record input/output tokens and the number of failed retries for each task category:
def task_cost(in_tok, out_tok, retries, price_in, price_out):return (in_tok * price_in + out_tok * price_out) * (1 + retries)
Running the same script on both the old and new model generations yields a ratio that can actually be used for budgeting.
6. Conclusions and Engineering Recommendations
- The price cut on the price list is definite and can be entered directly into a financial model;
- “Cost down to one-third” is a result under a specific test set and needs to be validated with your own data;
- Prioritize cost reduction by compressing output, reusing context caches, and routing simple requests to the small parameter tier;
- If you use model services from platforms such as Baidu AI Cloud, you can combine logging and monitoring alerts to continuously track token consumption, turning cost optimization into ongoing operations rather than a one-time model selection decision.
