Large Model API Billing Simplification: What the End of Per-Call Search Charges Actually Means
This article breaks down a recent change to a major cloud provider's large model API billing: server-triggered web search and page fetching during model calls are no longer billed separately, while token usage remains charged and the standalone retrieval API keeps its per-thousand-request price. It explains the boundary between model-triggered tool calls and application-side data pipelines, the rapid policy evolution behind the change, and how the cost structure collapses from two variables to one. The main takeaway is improved cost predictability rather than free retrieval, along with practical engineering guardrails to prevent token inflation in agent loops and a lightweight evaluation framework for retrieval quality.
1. What Was Actually Removed: Per-Call Charges, Not All Charges
A major cloud provider recently adjusted how its large model API is billed. Starting at 12:00 Beijing time on November 18, web search and page fetching triggered by the server during model calls are no longer billed separately. Users pay only for model token usage.
One point is easy to misread, so it is worth stating clearly: this does not mean retrieval is completely free. The accurate description is that search and fetch actions are no longer priced individually, while tokens are billed as usual.
There is also a clear boundary. Standalone retrieval and fetching APIs are not part of this change and still cost 5 RMB per thousand successful requests. The reason is that these are two different technical paths:
- Model-triggered path: the model decides during inference whether to search, what to search for, and which pages to fetch; results go directly into the context.
- Explicit programmatic path: developer code determines the queries and fetch targets, then assembles the results and feeds them to any model.
The former is an in-model tool call; the latter is an application-side external data pipeline. The billing target and the responsible party are entirely different.
2. Policy Evolution: A Fast Billing Consolidation
The pace of this adjustment is fast, and the product logic behind it is worth attention:
- October 17: standalone retrieval and fetching APIs launched, officially marked as free for a limited time through the end of the month.
- From November 1: the standalone APIs moved to 5 RMB per thousand successful requests.
- Per-call billing for the model-triggered portion lasted only about 18 days before being removed.
In other words, the product briefly tested “charge per call” against “charge by usage” and ultimately converged on single-dimension billing. For developers, this means integration strategy has to follow the billing model, and short-term promotional pricing should not be treated as a long-term cost baseline.
3. Cost Structure: From Two Lines to One
The total cost of the same task before and after the change:
| Cost item | Before | After |
|---|---|---|
| Model input tokens | Billed | Billed (unchanged) |
| Model output tokens | Billed | Billed (unchanged) |
| Search/fetch actions | Per-call billing | Not billed |
| Standalone retrieval API | Per-thousand billing | Per-thousand billing (unchanged) |
Two conclusions matter:
- Nothing changed on the token side. Fetched page content and the resulting input volume were already counted as input tokens before the change, and still are. There is no offsetting effect where search fees disappear and token fees rise.
- The total bill simply loses one component. For the same task, same prompt, and same retrieval strategy, the bill necessarily drops, by exactly the former per-call fee.
4. The Real Benefit: Predictability
More important than saving money is that cost becomes modelable. Previously cost was a two-variable function of tokens plus call count, and since the model decided the number of retrievals at runtime, developers could not estimate spend before sending a request. That caused three problems:
- Budgets could not converge, and month-end bills easily exceeded expectations.
- External pricing lacked a stable cost baseline, making gross margin uncontrollable.
- Load testing and capacity planning lacked trustworthy inputs.
After converging to a single variable, cost depends only on input and output tokens, and token volume can be constrained through prompt length, context window, and fetch truncation length. For small teams building retrieval-enabled applications, this predictability is worth more than the per-call fees saved.
5. Why: Simpler Billing and an Ecosystem Flywheel
The provider gave no official explanation, but two reasons are plausible from general industry logic:
- Lower barrier to entry: with retrieval on by default no longer adding a billing line, developers are more willing to treat it as a standard capability.
- Usage scale feeds back into retrieval quality: more retrieval calls mean faster iteration on the in-house search engine’s index and ranking, creating a flywheel of “more usage, better retrieval, more willingness to use.”
A comparable signal from the same period: on November 16, the provider limited free quotas for its consumer app and web version due to compute constraints. Tightening free consumer access while giving ground on the API side suggests the overall intent is to steer heavy usage toward usage-based payment.
6. Risk: Token Inflation Once the Constraint Disappears
Per-call billing was an implicit constraint on call count. With that constraint gone, an agent stuck in repeated search and fetch loops will see token consumption grow roughly linearly with the number of retrieval rounds. This is not a price increase; it is a task design flaw being amplified.
Recommended engineering guardrails:
MAX_SEARCH_ROUNDS = 3 # Maximum search rounds per requestMAX_FETCH_CHARS = 4000 # Truncation length for fetched page contentMAX_CONTEXT_TOKENS = 12000 # Upper limit of retrieval content injected into contextdef should_search(trace, query):if trace.rounds >= MAX_SEARCH_ROUNDS:return Falseif trace.recent_queries[-2:].count(query) >= 1:return False # Deduplicate to avoid repeated synonymous queriesreturn True
Supporting practices include deduplicating and summarizing retrieval results before adding them to context; setting explicit loop termination criteria (stop once information is sufficient); and logging per-round token increments into monitoring and alerting, with a per-request cost threshold that trips a circuit breaker.
7. Retrieval Quality Evaluation: More Important Than Price
A price drop is not a reason to skip evaluation. The provider says its in-house engine indexes hundreds of billions of web pages and filters low-quality content, but actual performance depends heavily on question type. Build your own evaluation set:
- Prepare 30–50 real business questions covering factual, time-sensitive, and multi-hop reasoning types.
- Track four metrics: hit rate, answer accuracy, citation verifiability, and average token increment.
- Compare results with retrieval on and off to confirm it actually adds value.
- Run a regression after every model or retrieval strategy change to prevent silent quality degradation.
8. Conclusion
The essence of this change is a simplification of the billing dimension: the retrieval action is removed from the bill, token billing is unchanged, and the standalone retrieval API keeps its existing policy. Developers should do three things: recalculate the cost baseline and update external pricing, add guardrails for retrieval rounds and fetch length in agents, and continuously validate retrieval quality with their own evaluation set. Reading “free” as “one fewer billing item” is what leads to correct architecture and budget decisions.
