How to Estimate the Cost of 1,000 LLM Web-Search Q&A Tasks After Tool Fees Are Removed

    Removing separate search and web-fetching fees does not make LLM-powered web search free. This guide breaks down token costs, external API charges, caching, peak-hour pricing, and architecture choices to estimate the true cost of 1,000 web-connected Q&A tasks. It also compares built-in web tools with externally orchestrated search pipelines and outlines practical cost-optimization strategies for enterprise deployments.

    A major LLM platform recently announced that search, file parsing, URL reading, voice, and other capabilities previously available in its app would also be available through its API. Starting from a specified date, server-side search and web fetching triggered during model calls would no longer incur separate tool-use fees.

    At first glance, this may sound like “web-connected LLM search is now completely free.” In enterprise applications, however, failing to examine the billing rules in detail can lead to significant errors in cost estimates. This article calculates the economics from both a technical architecture and billing perspective.

    1. Understanding What “No Tool Fee” Actually Means

    When estimating the cost of LLM-based web-connected Q&A, the first distinction to make is that the waived charge applies to the tool invocation fee, not the token inference fee.

    Most LLM applications use one of two technical approaches to retrieve external information. Their cost structures are substantially different.

    1. Built-in Web Tool Mode

    In this architecture, the developer delegates search and web-fetching capabilities to the model itself. When a user asks a question that requires current information, the model may decide during inference to perform a search, fetch web pages, and incorporate the retrieved information into its context before generating a response.

    Under the new pricing policy, the search and fetching actions themselves are not charged separately. However, the text retrieved from web pages is added to the model context and processed during inference. The additional input tokens are still billed normally.

    2. External API Orchestration

    Another common approach is to call independent search and web-fetching APIs from application code. The application first uses a search API to retrieve a list of links, then calls a fetching API to obtain page content, and finally sends the assembled text—together with the user’s question—to the LLM.

    In this model, external search and fetching APIs are typically billed by successful request count. For example, a service might charge RMB 5 per 1,000 successful requests, while failed or timed-out requests are not billed. The retrieved content also generates standard LLM inference token charges when it is sent to the model.

    Therefore, comparing only the input price per million tokens does not accurately represent the total business cost. Model inference, search, and web-fetching charges must be calculated together.

    Consider a mainstream lightweight model with separate peak-hour and off-peak pricing, as well as different rates for cache hits and cache misses. Assume the pricing is as follows:

    Billing Item Off-Peak Hours Peak Hours
    Input tokens without cache hit RMB 1 RMB 2
    Input tokens with cache hit RMB 0.02 RMB 0.04
    Output tokens, including reasoning usage RMB 4 RMB 8

    Note: Peak hours generally refer to 9:00–12:00 and 14:00–18:00 on business days. Other hours and public holidays are treated as off-peak periods.

    For a standardized estimate, assume that each web-connected Q&A task consumes an average of 6,000 input tokens without a cache hit. These tokens include the system prompt, user question, model-retrieved web content, and other input accumulated throughout the task. Also assume that each task uses 1,000 billable output tokens, including reasoning and the final answer.

    For 1,000 tasks, total consumption would therefore be:

    • 6 million input tokens
    • 1 million output tokens

    Assuming there are no retries and no other chargeable services, the built-in tool fee is zero. The model inference cost is:

    • Off-peak cost: 6 × RMB 1 + 1 × RMB 4 = RMB 10
    • Peak-hour cost: 6 × RMB 2 + 1 × RMB 8 = RMB 20

    The cost per Q&A task is approximately RMB 0.01 to RMB 0.02.

    It is important to note that the 6,000 input tokens represent the total billable input accumulated during the entire task lifecycle. They do not refer only to the user’s usually short question. Whether the model actually triggered web search, how many pages it fetched, and how much content was injected into the context should be verified through detailed API usage logs.

    3. Cost Accumulation in External API Orchestration

    If developers choose not to use the model’s built-in tools because of customization requirements, the cost structure changes significantly.

    Using the same 1,000-task example, assume that each task requires:

    • One search API call
    • One web-fetching API call

    The cost would be:

    • External tool fees: Search, RMB 5 per 1,000 requests, plus fetching, RMB 5 per 1,000 requests, for a total of RMB 10
    • Model inference fees: Because the externally retrieved content is still sent to the model as input, assume the token usage remains unchanged. The model cost is RMB 10 during off-peak hours or RMB 20 during peak hours.

    The total cost for 1,000 tasks would therefore be approximately:

    • Off-peak: RMB 20
    • Peak hours: RMB 30

    If a real-world task requires multiple searches or fetches several pages, the per-request charges for external tools can increase rapidly.

    The following pseudocode illustrates the difference between the two architectures:

    1. # Mode 1: Built-in tool invocation
    2. # Web access is handled server-side, with no separate tool fee.
    3. response = client.chat.completions.create(
    4. model="lite-model",
    5. messages=[{"role": "user", "content": "What are the key figures in the latest 2024 AI industry reports?"}],
    6. tools=[{"type": "web_search"}] # Enable built-in web access without an additional tool fee
    7. )
    8. # Mode 2: External API orchestration
    9. # Explicit API calls generate both per-request tool fees and token charges.
    10. search_results = external_search_api.query("latest 2024 AI industry reports") # Search request fee
    11. web_content = fetch_api.fetch(search_results[0]['url']) # Web-fetching request fee
    12. prompt = f"Answer the question based on the following material: {web_content}\nQuestion: What are the key figures in the latest 2024 AI industry reports?"
    13. response = client.chat.completions.create(
    14. model="lite-model",
    15. messages=[{"role": "user", "content": prompt}] # LLM inference token fee
    16. )

    4. Enterprise Strategies for Reducing Costs

    Calculating the bill is only the first step. For enterprises deploying LLM applications at scale, the more important challenge is systematically reducing the cost of web-connected Q&A.

    1. Make Better Use of Context Caching

    The pricing table shows that cached input tokens cost only a small fraction of uncached input tokens. Applications should keep the system prompt stable whenever possible and avoid dynamically modifying the prompt prefix on every request. This can improve the cache hit rate.

    For frequently asked general-purpose questions, effective caching can substantially reduce costs.

    2. Schedule Workloads Around Pricing Windows

    Because peak-hour and off-peak prices can differ by as much as twofold, tasks without strict real-time requirements—such as batch document summarization, offline data extraction, and web-based verification—can be processed during off-peak hours through a message queue.

    Cloud-native scheduled jobs and serverless functions can be used to shift workloads away from peak periods, smooth traffic, and reduce overall compute expenditure.

    3. Balance Architecture Choices Dynamically

    Built-in web search generally has a cost advantage and can reduce network round trips. However, external API orchestration offers greater control when an application needs to restrict search sources or combine search results with internal databases and other data systems.

    Enterprises should consider a hybrid routing strategy:

    • Route simple factual questions through the built-in web-search mode.
    • Use external orchestration for complex, customized RAG workflows.

    5. Conclusion

    Removing separate tool invocation fees is a positive development that lowers the barrier to integrating web-connected LLM capabilities. However, the “free” tool layer still requires engineering teams to understand token billing and operate their applications carefully.

    From architecture selection and cache optimization to workload scheduling, cost control should be considered throughout the design of an LLM application. Only then can enterprises align technical value with business efficiency.

    Do not be misled by a single headline price. For production-grade LLM applications, accurately accounting for every token and every external API request is an essential part of enterprise AI engineering.