LLM Web Search Billing Simplified: What the Change Actually Means for Developers

    This article breaks down a recent change to how server-side web search and page fetching are billed for a major LLM API: these actions are no longer priced separately, while token usage is still charged. It clarifies the difference between model-triggered retrieval and programmatic API calls, walks through the billing timeline, and explains why total cost drops rather than shifting to tokens. It also covers two key risks—uncontrolled search loops and retrieval quality—and lists practical engineering safeguards such as configurable search caps, context compression, observability, fallback strategies, and caching.

    1. First, Clarify What “Free” Actually Means

    A cloud provider recently changed how it bills for LLM web access: starting at 12:00 Beijing time on November 18, web search and page fetching triggered by the server when a model is called are no longer billed separately. Users pay only for token usage.

    The word “free” is the easiest thing to misread here. A more accurate statement is: search and fetch are no longer priced as separate line items, but tokens are still billed as usual. In other words, the billing structure has been simplified from “token cost + search request cost” to “token cost only.”

    Two usage patterns must be clearly distinguished:

    • Model-triggered: During a conversation or tool call, the model itself decides whether to go online and initiates retrieval and page reading on its own. This behavior is covered by the change.
    • Program-invoked: A developer’s own code decides the search keywords, fetches pages itself, assembles the results, and submits them to any model. These standalone retrieval and fetch APIs are not covered by the change and are still billed per successful request (for example, 5 CNY per 1,000 successful requests).

    These are two separate product lines: in the first case, “the model decides what to search”; in the second, “your code decides what to search.” Understanding this distinction is necessary to estimate costs correctly.

    2. Policy Evolution: A Fast Billing Iteration

    The pace of this change is quick, and the timeline is worth watching:

    1. On October 17, the standalone retrieval and fetch APIs launched, with an official note that they would be free for a limited time through the end of the month;
    2. Starting November 1, the standalone APIs switched to 5 CNY per 1,000 successful requests;
    3. Starting at 12:00 on November 18, per-request billing for model-triggered server-side search and fetch was removed.

    In other words, per-request billing for the model-triggered portion was in effect for only about 18 days before being canceled. For developers, this means the billing strategy is still iterating quickly, and architecture design should avoid hard-coding cost assumptions into business logic.

    3. How the Cost Model Changes: One Line Removed, Not a Trade-Off

    A common misjudgment is: “Search is no longer charged, so will token costs go up?” The answer is no.

    For the same task, the retrieved web content is stitched into the context, and those input tokens were already being billed; whether search is charged separately does not change the number of input tokens. So the adjusted total bill is simply reduced by one component—there is no cost shifting.

    A formula makes this clearer:

    1. Before: total cost = input token cost + output token cost + search request cost
    2. After: total cost = input token cost + output token cost

    Input tokens already include the consumption from injecting retrieval results into the context.

    The real value of this change is cost predictability. Previously, cost had two components, and the number of searches was decided autonomously by the model, making it hard for developers to estimate the actual cost of a single request. Now only the token line remains, which makes budgeting, product pricing, and gross-margin calculations much simpler. For small teams building web-enabled applications, this certainty is often more valuable than the money saved.

    4. Why This Change Was Made

    No official explanation was given. Based on common industry logic, there may be two motivations:

    • Simplify billing and lower the barrier to entry: Fewer billing items make developers more willing to enable web access by default;
    • Strengthen the value of in-house retrieval infrastructure: The more web access is used, the more obvious the scale effects of retrieval and web indexing capabilities become.

    One related event can be viewed alongside this: on November 16, the platform limited free usage quotas for consumer-facing apps and the web version due to compute constraints. Tightening free consumer access on one side while offering concessions on the API side suggests the overall intent is more like steering heavy usage toward the pay-as-you-go side.

    5. Two Risks Developers Must Watch

    1. Without a Search Count Constraint, Costs Can Spiral in the Other Direction

    Previously, per-request charges naturally constrained the number of search rounds. Now that constraint is gone. If an agent is poorly designed, it can repeatedly search and repeatedly fetch, and total tokens can grow linearly or even faster with the number of search rounds. This is not a price increase; it is a task-design problem.

    It is recommended to set hard limits on the product side:

    1. MAX_SEARCH_ROUNDS = 3 # max search rounds per request
    2. MAX_FETCH_CHARS = 4000 # max characters fetched per page
    3. MAX_CONTEXT_TOKENS = 12000 # cap on retrieval content injected into context

    Also pair these with timeouts and a retry limit to avoid infinite loops under abnormal conditions.

    2. Retrieval Quality Matters More Than Price

    The price has dropped, but if the recalled content is low quality, the model will generate wrong answers based on poor information, and the ultimate loss will far exceed the token cost. The official statement mentions that the in-house engine indexes hundreds of billions of web pages and filters low-quality content, but the actual effect needs to be verified independently.

    The most direct way to verify is to prepare 30–50 real business questions covering three categories—factual, time-sensitive, and multi-hop reasoning—manually annotate reference answers, measure recall accuracy and answer correctness, and then decide whether to enable web access by default.

    6. Engineering Practice Recommendations

    • Make the web access toggle configurable, deciding whether to enable it by default per scenario rather than forcing it on globally;
    • Summarize and compress retrieval results before putting them into the context to reduce wasted token consumption;
    • Build observability, using logging services and monitoring alerts to track search rounds per turn, average injected tokens, and cost per request;
    • Implement a fallback strategy: if retrieval fails or times out, fall back to the model’s internal knowledge and clearly tell users the answer may not be up to date;
    • Cache high-frequency query results, reusing results for queries that are not highly time-sensitive to further compress costs.

    7. Summary

    The essence of this change is billing simplification, not free capability. Developers should focus on three points: first, distinguish the boundary between “model-triggered” and “program-invoked”; second, confirm that token costs have not changed and the total bill is simply reduced by one component; third, add self-imposed limits on search rounds and fetch length, and validate retrieval quality with a real question set. Within a framework of predictable costs, putting engineering focus on retrieval quality and agent flow control is the right way to build web-enabled applications.