Why Web Search and Page Fetching Became Free in LLMs: A Technical Breakdown

    This article explains why some AI chat platforms have moved web search and page fetching (fetch/browse) from paid tiers to free access, and why that shift is a resource-allocation decision rather than charity. It walks through the six stages of a web-grounded request, why fetching and parsing are the real cost drivers, and the four technical prerequisites that make free access viable: multi-level caching, request tiering with quota isolation, fetch-side robustness and graceful degradation, and observability with cost attribution. It closes with practical guidance for application developers and a compliant cloud architecture pattern for enterprise deployments.

    1. The Core Issue Behind the Change: A Typical Resource Reallocation

    The industry has recently seen a notable product strategy shift: an AI chat platform moved web search and page fetching (commonly called fetch or browse) from a paid entitlement to free access. The user community split into two camps. Free-tier users felt an entitlement had been taken away, while paid users reported a better experience.

    Setting emotion aside and looking at it from an engineering perspective, this is a classic resource allocation problem: given a roughly fixed total capacity (GPU inference, egress bandwidth, and the fetch/parse cluster), how do you prioritize across user tiers and request types? The A/B options raised in the original discussion amount to one question: when the resource constraint tightens, should the benefit go to the paying tier or the traffic tier?

    The answer is not mysterious. Web-retrieval requests have a cost structure very different from ordinary chat requests because they consume three expensive resources at once, which makes them the first part of the system to receive “fine-grained governance.” Once that governance pays off, the freed capacity can either make the capability free to grow the ecosystem or feed back into the paid tier’s latency and concurrency quota. These two outcomes are not in conflict.

    2. Why Web Retrieval and Fetching Are “Cost Black Holes”

    To judge whether free access is feasible, you first need to see the real cost of these requests. A single web-grounded answer passes through at least six stages:

    1. Query rewriting: decide whether the web is needed and generate search keywords;
    2. Retrieval: call the search capability and return a candidate document list;
    3. Fetch: issue real HTTP requests to the candidate URLs;
    4. Parsing and cleaning: strip ads and navigation, extract main text, detect encoding;
    5. Reranking and truncation: filter by relevance and compress to a token size that fits the context window;
    6. Generation and citation: the model produces an answer from the snippets and marks sources.

    Steps 3 and 4 are the most underestimated. Fetching faces the open internet: anti-bot measures, CAPTCHAs, dynamic rendering, timeout retries, and dead links can multiply the actual request volume several times over. Parsing is CPU-intensive, and one badly structured page can consume hundreds of milliseconds. By comparison, the marginal cost of pure model inference is predictable and batchable.

    This explains a common misconception: “free means the vendor is being generous.” A more accurate description is that free access depends on unit cost being pushed low enough and total volume being effectively constrained.

    3. Four Technical Prerequisites That Make Free Access Work

    3.1 Multi-Level Caching Pushes the Marginal Cost of Repeat Requests Near Zero

    Web-retrieval query distribution is long-tailed but concentrated at the head, with high repeat rates for hot events and common knowledge questions. A sensible cache layering includes:

    • Retrieval result cache (query → document list);
    • Page content cache (url → cleaned text, with TTL and content-hash validation);
    • Answer snippet cache (query + document-set fingerprint → cited snippets).

    An illustrative cache key design:

    1. import hashlib, json
    2. def cache_key(query: str, top_k: int, lang: str) -> str:
    3. raw = json.dumps([query.strip().lower(), top_k, lang],
    4. ensure_ascii=False, sort_keys=True)
    5. return "rs:" + hashlib.sha256(raw.encode()).hexdigest()[:32]
    6. def page_key(url: str, body_hash: str) -> str:
    7. return f"pg:{hashlib.sha256((url + body_hash).encode()).hexdigest()[:32]}"

    Note that caches need a sensible TTL and support for active invalidation; otherwise time-sensitive answers will return stale conclusions.

    3.2 Request Tiering and Quota Isolation

    Grade requests by whether they use the web, whether they fetch pages, and context length, then give each grade its own token bucket so long-tail heavy requests cannot crowd out the interactive path:

    1. class Quota:
    2. def __init__(self, rate, burst):
    3. self.rate, self.burst = rate, burst
    4. self.tokens, self.updated = burst, time.monotonic()
    5. def allow(self, now=None):
    6. now = now or time.monotonic()
    7. self.tokens = min(self.burst,
    8. self.tokens + (now - self.updated) * self.rate)
    9. self.updated = now
    10. if self.tokens >= 1:
    11. self.tokens -= 1
    12. return True
    13. return False
    14. # Free tier: low rate, small concurrency; paid tier: high rate, large concurrency
    15. free_browse = Quota(rate=0.05, burst=3)
    16. paid_browse = Quota(rate=1.00, burst=50)

    3.3 Fetch-Side Robustness and Degradation

    Engineering has to assume the target site is not under your control: cap connection and read timeouts, limit main-text length per page, degrade dynamically rendered pages to “summary snippet only,” and fall back to pure model knowledge on failure with an explicit uncertainty notice. Degradation is not failure; it removes an uncontrollable external dependency from the critical path.

    3.4 Observability and Cost Attribution

    Only by breaking cost into four buckets — retrieval, fetch, parsing, and inference — can you tell whether a free strategy is sustainable. The common approach is unified instrumentation reporting request latency, fetch success rate, cache hit rate, and token consumption, then threshold dashboards in the logging service and monitoring/alerting.

    4. Practical Advice for Developers

    If you build on the application side, free access lowers the architecture barrier, but it does not mean you can call without thinking. Follow four principles:

    • Default to no web: use a lightweight check to decide whether retrieval is triggered, and skip it whenever possible;
    • Enforce citation provenance: return source snippets along with links to reduce hallucination risk;
    • Separate timeout from retry: fail fast on fetch timeouts, retry sparingly on retrieval timeouts;
    • Build your own cache layer: do not expect upstream caching to cover your business long tail.

    A minimal orchestration skeleton:

    1. def answer(query: str):
    2. if not need_web(query): # 1. Decide whether the web is needed
    3. return llm(query, context=[])
    4. docs = cache.get(cache_key(query, 5, "zh")) or search(query, top_k=5)
    5. ctx = []
    6. for d in docs:
    7. text = cache.get(page_key(d.url, d.hash)) or fetch_clean(d.url)
    8. if text:
    9. ctx.append({"url": d.url, "text": text[:4000]})
    10. return llm(query, context=ctx, cite=True) # 3. Generate with citations

    5. Enterprise Deployment: Putting the Capability in a Compliant Cloud Architecture

    In enterprise scenarios, web retrieval is usually not an isolated feature but one part of a knowledge-base Q&A system. The recommended general combination is object storage for raw pages and document snapshots, a message queue to level peaks and smooth fetch bursts, a container platform for the stateless parsing and reranking workloads with elastic scaling based on queue depth, and a logging service plus monitoring and alerting for cost attribution and anomaly detection. Baidu AI Cloud offers exactly this category of general cloud products, so enterprises can build their own pipeline instead of depending on a single upstream free quota.

    Compliance boundaries must also be stated: fetching should respect the target site’s robots conventions and terms of service, concurrency and frequency should be controlled, only necessary fields should be cached with an expiry time, and content involving personal information must be masked or not retained.

    6. Conclusion

    Making web search and fetching free is not simple “giving back” or a “backstab.” It is the inevitable result of higher cache hit rates, request tiering governance, and fetch robustness improvements working together. For developers, the real takeaway is three insights: free capability depends on controllable cost; experience gains come from priority isolation rather than unlimited scaling; and a sustainable architecture must carry its own caching, rate limiting, and degradation. Get those three solid, and your application stays stable no matter how upstream entitlements change.