Cost Breakdown for Connected Q&A: How the Bill Changes After Tool Fee Waivers
This article breaks down the real cost of connected (web-enabled) Q&A after a cloud provider waived tool invocation fees. It explains why the waiver removes tool charges but not token charges, compares two integration patterns—letting the model trigger search and page fetching internally versus orchestrating the retrieval pipeline in your own code—and shows sample calculations for 1,000 tasks under off-peak and peak pricing. It also covers linear scaling, why self-built retrieval can cost more, and practical levers such as cache hit rate, context compression, off-peak scheduling, retry control, and model tiering.
1. The conclusion first
A cloud provider recently changed how it bills for model-side web access: when a model is invoked, the server can automatically trigger search and page fetching, and these “tool actions” are no longer charged separately. Many teams read the announcement as “web access is now free” and immediately strike retrieval costs from their budget. That is too big a leap.
The accurate conclusion is this: what was waived is the tool invocation fee, not the token fee; whether the total bill goes up or down depends on how you integrate, not on the price cut. Assuming roughly 6,000 input tokens plus 1,000 output tokens per task, running 1,000 connected Q&A tasks with a model that has built-in web access costs about CNY 10 (off-peak) to CNY 20 (peak). If instead your program calls the search API and the page-fetch API itself, the same model usage pushes the total into the CNY 30–40 range. The gap does not come from the model’s unit price; it comes from a different pipeline structure.
Here is the breakdown, item by item.
2. Two integration patterns, two completely different bill structures
Pattern A: let the model use web access on its own
The model decides during generation whether it needs to retrieve and which page to open. The server performs these actions, and tool actions are not billed. But note a fact that is often overlooked: the fetched page content becomes part of the context used for inference, and that content counts toward input tokens.
So a request that “looks like a single short question” can have a billed input far larger than the question itself. The original 6,000 input figure is the total billable input for the whole task, which is the key point—you cannot just count the words in the user’s question.
Pattern B: your program orchestrates the retrieval pipeline
Business code first calls the search API to get a result list, then calls the fetch API to retrieve page content, cleans and truncates it, splices it into the prompt, and finally hands it to the model to generate an answer. On this path, search and fetch are typically billed per 1,000 successful requests; text search and page fetching are both roughly on the order of CNY 5 per 1,000 successful requests. Failed, timed-out, and no-result requests are generally not counted. Model cost is separate.
The difference between the two patterns can be summed up in one sentence: A folds retrieval cost invisibly into tokens, while B makes retrieval cost explicit as request counts.
3. Single-point calculation: 1,000 tasks with built-in web access
Take a general-purpose model tier that supports built-in web access. Official pricing usually has peak and off-peak tiers (unit: CNY per million tokens):
| Billing item | Off-peak | Peak |
|---|---|---|
| Input, cache miss | 1 | 2 |
| Input, cache hit | 0.02 | 0.04 |
| Output | 4 | 8 |
Peak generally means 9:00–12:00 and 14:00–18:00 Beijing time on working days (excluding public holidays); all other times are off-peak.
Assumptions: 6,000 cache-miss input tokens plus 1,000 billed output tokens per task (including thinking usage), no retries, no other billable services stacked on top.
- 1,000 tasks = 6 million input + 1 million output
- Tool fee = 0
- Off-peak: 6 × 1 + 1 × 4 = CNY 10
- Peak: 6 × 2 + 1 × 8 = CNY 20
Per task, that is about 1 or 2 cents. These numbers are budgeting assumptions, not measured values, and not any official commitment; whether the model actually goes online for a given call must be checked in the tool trigger records of the call log.
4. Scaling up: double the usage, double the bill
With unit prices unchanged, cost scales linearly with usage and can be extrapolated directly from the table:
| Input per task | Output per task | Off-peak (1,000) | Peak (1,000) |
|---|---|---|---|
| 6000 | 1000 | CNY 10 | CNY 20 |
| 12000 | 2000 | CNY 20 | CNY 40 |
| 24000 | 4000 | CNY 40 | CNY 80 |
In real business, the more common pattern is “long-tail amplification”: multi-turn conversations accumulate history, retrieved page content is not truncated, and failed requests are retried two or three times—input tokens can easily multiply several times over. For capacity planning, use the amplified row as your budget baseline.
5. Why a self-built retrieval pipeline can cost more
Under Pattern B, 1,000 tasks at the same model usage:
- Model cost: CNY 10–20
- Search requests: about CNY 5
- Fetch requests: about CNY 5
- Total: about CNY 20–30, rising to CNY 30–40 or higher if one task needs multiple rounds of search or fetches several pages
The reason is straightforward: request-level billing and token-level billing are two different metering systems, and once retrieval counts grow, the fixed cost outweighs the model cost. So in scenarios with “sparse retrieval, only one or two queries per task,” the built-in capability is cheaper; in scenarios that “need precise control over recall sources, private knowledge base retrieval, or reproducible retrieval results,” the value of a self-built pipeline is not saving money but controllability.
6. Practical ways to push costs down
- Raise the cache hit rate. Put the system prompt, tool descriptions, and fixed background material in the prefix and keep them stable; cache-hit input costs only a fraction of cache-miss input.
- Compress retrieval context. Denoise and summarize fetched content first, keeping only paragraphs relevant to the question—this is the most direct way to cut input tokens.
- Schedule off-peak. Move batch offline tasks to off-peak hours and the unit price is halved.
- Control retries. Failed requests may not incur retrieval fees, but the model calls caused by retries are billed for real.
- Tier your models. Send simple Q&A to a lightweight tier and escalate only for complex reasoning, avoiding sending everything to the expensive tier.
An illustrative budgeting logic:
def estimate(tasks, in_tok, out_tok, peak, cache_hit=0.0,price_in=(1, 2), price_out=(4, 8), tool_price=0):pi, po = price_in if peak else price_outhit_in = in_tok * cache_hitmiss_in = in_tok - hit_inmodel = (miss_in * pi + hit_in * 0.02 * (2 if peak else 1)) / 1e6model += out_tok * po / 1e6return tasks * (model + tool_price)
7. Summary
To judge whether connected Q&A is expensive, you cannot look only at the “CNY per million tokens” line; you have to put model cost, search cost, and fetch cost on the same bill. The tool fee waiver does lower the cost of the built-in path, but what really determines the bill is context length, cache hit rate, time-of-day choice, and retry strategy. Write down the per-task assumptions first, then scale linearly, and finally verify against call logs—that is how you keep the budget from getting out of control.
