Time-of-Use Pricing for LLM APIs: How Research Workloads Can Reduce Real Costs
A general-purpose large language model service has announced a time-of-use pricing update effective September 10. Input and cache prices return to roughly their earlier lower levels, output prices decline but remain higher than before August 17, and peak-hour usage continues to cost twice the off-peak rate. This article explains the pricing changes, why output costs still matter, how to estimate real costs from token usage, and how research and engineering teams can reduce spend through workload scheduling, caching, concurrency control, and staged task design.
A general-purpose large language model service recently announced a new pricing adjustment and plans to revise its time-of-use prices on September 10. The key change is that, apart from output fees, input and cache fees have largely returned to their earlier lower levels. Although output prices have also decreased, they remain higher than they were before August 17. The service will continue to use differentiated peak and off-peak billing, so actual user spending will be significantly affected by call timing, the ratio of input to output, and cache hit rates.
For researchers, developers, and teams that need to process text in batches, this kind of pricing change should not be understood only as “how much cheaper each million tokens has become.” More importantly, teams should calculate the real cost of a complete task by considering task scale, call timing, output length, cache usage, and concurrency limits.
1. Main Changes in This Pricing Adjustment
According to the published information, after the September 10 adjustment, off-peak billing is approximately as follows:
- The input price changes from RMB 1.5 per million tokens to RMB 1;
- The output price changes from RMB 4.5 per million tokens to RMB 4;
- The cache price changes from RMB 0.05 per million tokens to RMB 0.02;
- Peak-hour prices are calculated at twice the off-peak price.
On the surface, the input price drops by about one third, the cache price falls more sharply, and the output price declines by a relatively limited amount. For typical “long input, short output” tasks, overall costs are expected to fall noticeably. For tasks that require the model to generate a large amount of content, such as drafting papers, refactoring long codebases, or writing reports in batches, output fees remain the main cost driver.
It is important to note that input, output, and cache tokens are not the same type of token. Input tokens are the context submitted to the model, output tokens are the results generated by the model, and cache tokens usually correspond to reusable portions of context. The proportions of these three types vary greatly across tasks, so a single price cannot be used to judge all scenarios.
2. Why Output Prices Still Deserve Attention
Looking at historical changes, although the output price has fallen from RMB 4.5 to RMB 4, it is still about twice the earlier price. This means that users who focus only on the input price decline may underestimate the actual spending on long-output tasks.
For example, output costs are usually more sensitive in the following tasks:
- Generating long technical documents;
- Explaining large amounts of code section by section;
- Generating experiment reports in batches;
- Revising paper content over multiple rounds;
- Asking the model to output structured data or complete programs;
- Expanding, rewriting, and generating multiple versions of long text.
Suppose a task contains 1 million input tokens and 200,000 output tokens. Under off-peak conditions, the input cost is about RMB 1, and the output cost is about RMB 0.8, so the output portion is already close to the input cost. If the output scale increases to 1 million tokens, the output cost will reach RMB 4, and the output share of total cost will rise significantly.
Therefore, reducing costs cannot rely only on price cuts. Output length also needs to be controlled at the task-design level. For example, the model can first output an outline, key conclusions, or a summary of differences, and then generate full content as needed. For code review, it can first return a list of issues and then request detailed fixes after confirmation.
3. Cost Comparison Based on Actual Call Volume
Consider a call task with a total of about 34.89 million tokens. Different stages and different time periods may produce large differences:
- Before the August 17 price increase, the cost was about RMB 6.28;
- From August 17 to September 10, the off-peak cost was about RMB 11.40;
- During the same period, the peak-hour cost was about RMB 22.80;
- After the September 10 adjustment, the off-peak cost is about RMB 8.12;
- After the September 10 adjustment, the peak-hour cost is about RMB 16.23.
Three conclusions can be drawn from this case.
First, after the price adjustment, off-peak fees are lower than during the previous high-price stage, but they have not fully returned to the pre-increase level and remain about 29% higher. Therefore, this adjustment should not be simply understood as a full return to the original overall price level.
Second, the impact of peak hours is very significant. Compared with the period before the price increase, adjusted peak-hour fees may still increase by about 158.6%. If a task does not require real-time processing, avoiding peak hours will be more effective than merely compressing a small amount of input content.
Third, price differences for large-scale tasks are magnified. Small calls may differ by only a few tenths of a yuan, but when task scale reaches tens of millions of tokens, timing and billing strategy directly affect project budgets.
4. How to Build a More Accurate Cost Estimation Model
In practice, the following formula can be used for estimation:
Total cost =input tokens ÷ 1,000,000 × input unit price+ output tokens ÷ 1,000,000 × output unit price+ cache tokens ÷ 1,000,000 × cache unit price
If the call occurs during peak hours, multiply the corresponding unit price by the peak-hour multiplier.
To avoid estimation bias, teams should record at least the following metrics:
- The number of input tokens per request;
- The number of output tokens per request;
- The number of cache tokens and the cache hit ratio;
- The time period in which the request occurs;
- The total number of requests for the task;
- The average number of retries;
- The actual number of completed tasks;
- The effective output corresponding to each task.
Recording only total tokens is not enough. For example, two tasks may both consume 1 million tokens, but one may be 90% input and the other 90% output. Because input and output unit prices differ, the final costs may be significantly different.
For team projects, teams can further establish a “cost per effective output” metric, for example:
Cost per effective output =total call cost ÷ number of effectively completed experiments, documents, code modules, or analysis reports
This metric is more suitable for research and enterprise applications than simply counting tokens, because it reflects whether model calls have actually translated into deliverable results.
5. Peak and Off-Peak Management Matters More Than Simply Compressing Text
When peak prices are twice off-peak prices, call timing management becomes an important means of cost optimization. Tasks can be divided into two categories:
1. Real-Time Tasks
Real-time Q&A, online programming assistance, and troubleshooting usually require immediate results. Such tasks can accept higher fees, but teams should still control context length and output limits to avoid unnecessary generation.
2. Asynchronous Tasks
Batch paper polishing, data preprocessing, code comment generation, and experiment record organization usually do not require immediate completion. Such tasks are suitable for off-peak execution and can be scheduled through a task queue.
A relatively complete asynchronous call workflow can include:
- Write pending tasks into a task queue;
- Record task priority, estimated token count, and deadline;
- Execute tasks centrally during off-peak windows;
- Retry failed requests a limited number of times;
- Write results to object storage or a database;
- Use logging and monitoring components to track actual costs and failure rates.
This approach not only reduces call costs but also avoids concurrency congestion caused by launching a large number of tasks at the same time.
6. Caching Strategies Can Significantly Reduce Repeated Context Costs
The cache price has fallen from RMB 0.05 per million tokens to RMB 0.02, indicating that the value of reusing repeated context has increased further. Research and engineering tasks often contain a large amount of fixed content, such as:
- Project background descriptions;
- Paper formatting requirements;
- Data field definitions;
- Code repository conventions;
- Unified output templates;
- Long experiment records;
- Fixed system constraints.
If this content is fully repeated in every request, it not only increases input tokens but also raises transmission and processing overhead. A more reasonable approach is to separate fixed context and reuse it as much as possible.
Cache design should consider the following points:
- Separate fixed content from dynamic questions;
- Do not frequently modify the cache prefix;
- Set clear identifiers for version changes;
- Avoid writing short-term, low-reuse content into the cache;
- Regularly check cache hit rates and actual benefits.
Caching does not mean that all content should be retained for the long term. For frequently changing experiment parameters, temporary files, and one-off questions, forced caching may increase management complexity while providing limited benefits.
7. Task Scheduling Recommendations Under Concurrency Limits
This type of model service usually limits the number of concurrent requests per account. Current information shows a concurrency limit of 20. Concurrency does not equal throughput; actual processing capacity also depends on task length, service load, network conditions, and failure retries.
In engineering implementation, it is recommended to use a semaphore to control concurrency rather than launching requests without limits. Pseudocode is as follows:
semaphore = Semaphore(20)def process_task(task):with semaphore:result = call_model(task)save_result(task.id, result)
The following mechanisms should also be added:
- Exponential backoff;
- Request timeout;
- Maximum retry count;
- Separate logging of failed tasks;
- Idempotent task IDs;
- Result persistence;
- Dual limits on concurrency and rate.
If all tasks use maximum concurrency, a large number of requests may enter peak billing periods at the same time, and the failure rate may also increase. A more reasonable strategy is to dynamically adjust concurrency based on time period and task type. For example, increase batch-processing concurrency during off-peak hours, and reduce concurrency during peak hours while prioritizing high-value tasks.
8. Practical Optimization Approaches for Research Workflows
For papers and research scenarios, a complete work item can be divided into multiple stages:
- Literature or material summarization;
- Research question extraction;
- Section structure planning;
- Local paragraph revision;
- Language consistency checking;
- Citation format checking;
- Final human review.
Do not submit all materials and all requirements to the model at once. Staged processing has three advantages: it controls the length of each output, makes errors easier to detect, and allows low-value tasks to be stopped midway.
For code-related tasks, a “analyze first, modify later” approach can also be used. In the first round, ask the model only to locate issues and provide modification suggestions. In the second round, generate patches for confirmed issues. This reduces unnecessary code output and is especially suitable for large repositories and long-context projects.
9. How to Interpret This Pricing Adjustment
Overall, this adjustment is more favorable for input-intensive, cache-intensive, and asynchronously executable tasks. For tasks with very large output volumes, cost pressure remains. Users should not focus only on unit price changes; they should evaluate the input-output ratio across the complete call chain.
More reliable usage principles include:
- First measure the proportions of input, output, and cache;
- Schedule non-real-time tasks during off-peak hours whenever possible;
- Set reasonable limits for long-output tasks;
- Prefer staged generation;
- Reuse fixed context through caching;
- Use queues and concurrency control to ensure stability;
- Measure value by effective results rather than total tokens;
- Regularly adjust strategies based on bills and logs.
Prices will change, but disciplined task decomposition, cache management, time-period scheduling, and cost monitoring have long-term value. For research teams and enterprise users, what really needs to be built is not a one-time cost-saving trick, but a model-call management system that can continuously adapt to changes in prices, traffic, and tasks.
