The Real Cost Behind Chat Length Limits in LLM Services

    This article explains why a mainstream LLM platform limited document reads and long-running sessions on its free web tier in November 2026. It covers how attention computation, KV cache memory, and cache lifetime drive the cost of long context, and it outlines practical ways developers can manage context length and session state.

    In November 2026, a mainstream LLM platform changed its usage policy for free web access. Each document read is now limited to the first 20 pages or roughly 10,000 tokens. Sessions that exceed the time limit enter a restricted state. API users are not affected. Many users first saw this as a feature downgrade. Looking at the cost structure of LLM inference, however, the change looks more like a hidden cost threshold becoming visible. The compute and storage pressure from long context cannot be removed by simple parameter tuning. It is a basic constraint that determines how usable a free product can be.

    1. Why Long Conversations Are Expensive: The Quadratic Cost of Attention

    When an LLM service answers a question, it goes through two main stages. The first is prefill. The model reads the user input and the full conversation history, computes Key and Value vectors for each token, and generates the KV cache. In standard self-attention, the cost of the attention matrix scales with the square of the sequence length n. The second stage is decode. For each token the model generates, it reads the K and V vectors of earlier tokens from the KV cache and computes attention against the current query. Longer replies require more reads, and a longer history means more data is read at each step.

    This means that when a conversation grows from 10,000 tokens to 500,000 tokens, its length increases 50 times. Under the standard attention model, the prefill computation may grow by about 2,500 times. Modern inference engines reduce the real overhead with techniques such as operator fusion, paged caching, and sparse attention. These techniques do not change the basic fact that long context requires more compute and GPU memory. For a free service in particular, if many users keep sessions with hundreds of thousands of tokens, GPU capacity stays occupied. New requests then queue, time out, or get rejected.

    Prefix caching is a common optimization in the industry. When a user continues the same conversation and the prefix is identical, the system can reuse the previously computed KV cache and skip part of the prefill work. Prefix caching has costs and limits, however. First, the cache itself uses GPU memory. Second, the prefix must match exactly. Editing earlier messages, continuing from a different branch, or accessing the same conversation from multiple devices can all invalidate the cache. Third, when the cache is invalidated, the long context must be recomputed, and the cost rises sharply in a short time. Caching therefore cannot fully remove the cost of long conversations.

    2. Cache Lifetime: The Trade-off Between Hot and Cold Sessions

    Online LLM services usually do not keep every conversation in GPU memory indefinitely. They set a cache lifetime instead. A follow-up within the lifetime gives the smoothest experience. After the lifetime expires, the system may release the KV cache. The next message then requires a full prefill, or the session moves to an archived history state.

    Common cache lifetimes in the industry are often only a few minutes to a few dozen minutes. A short window suits agent tasks and coding assistants, where users send frequent follow-ups at short intervals. It also frees resources quickly from inactive sessions. One platform once extended its cache window to several days so that users would get a more continuous long-context experience. This was manageable while the user base was small. When free users grow quickly, however, many long sessions stay in the hot cache for long periods. They keep consuming expensive GPU memory and bandwidth, and they crowd out online inference capacity.

    From a product design perspective, this is a trade-off between hot and cold sessions. Hot sessions keep the full KV cache. They respond quickly but cost more. Cold sessions keep only a summary or move to external storage. They respond more slowly but cost less. When a platform adjusts its conversation limits, it is effectively redrawing the boundary of hot sessions.

    3. Why Some Products Limit Long Conversations from the Start

    Some LLM products set strict limits on long conversations from launch. Conversations left idle for more than a few hours move automatically into a memory or history system. When the user asks again, the system does not restore the full context. It rebuilds the context from a summary. Early on, this approach was often criticized as disjointed. From a cost perspective, it is a deliberate cost control design.

    Separating active conversations from historical ones makes the usage of a free service more predictable. Users consume online resources per turn, not per open-ended context that stays occupied. If the free tier allowed everyone to keep conversations of hundreds of thousands of tokens indefinitely, the platform would have to reserve resources for these idle sessions, even if they are never continued. This risk grows quickly as the user base expands.

    Therefore, the limits do not reflect a lack of technical capability. They are a product trade-off that balances user experience, cost, and availability. Free users get a service with limited quotas. API users pay per use, so their resource consumption and revenue are directly linked. For this reason, API usage is not affected by these policies.

    4. Why the Change Happened Now

    This was not a sudden decision. It resulted from user growth, the cost curve, and product strategy acting together.

    First, the user base grew. When free users grow from millions to tens of millions, total cost rises more than tenfold even if average session length stays the same. If the share of users with long conversations increases, average context length grows, and cost rises faster than the user count. A free service cannot pass these costs on through price increases. It can only stay sustainable by limiting resource use.

    Second, tail costs are hard to control. A small number of free users may keep using very long contexts. The compute for these long-tail requests can equal that of a large number of ordinary requests. Limiting the number of pages and tokens per document read sets a ceiling on the maximum cost of a single request. Limiting session duration sets a ceiling on how long a cache stays resident.

    Third, the technology and the business model have matured. Long-context capability is a technical breakthrough in its own right. Once it is offered as a service, however, the provider must account for concurrent throughput, hardware depreciation, and operating costs. For the platform, the free tier is an entry point for new users, not an unlimited pool of compute. Restricting free usage also keeps resources available for higher-value scenarios.

    5. How Developers and Enterprise Users Can Respond

    Given long-conversation limits and cost pressure, developers should stop relying on the simple approach of putting all history into the prompt.

    1. Summarize and compress sessions. After every N turns, generate a summary of earlier content and keep the most recent turns in full. For the next request, send the summary plus the recent turns instead of the full history.
    2. Use external memory and retrieval. Write important information into a knowledge base or vector retrieval system, and retrieve only the relevant content when needed. This avoids having the model read the entire history on every request.
    3. Define explicit session lifecycles. Design separate strategies for hot and cold sessions. Keep hot sessions in memory and write cold sessions to disk as summaries. When a conversation resumes, restore the summary and the recent context instead of the full history.
    4. Set up cost monitoring. Track the average input token count per request, cache hit rate, KV cache memory usage, and the number of active sessions. When the cache hit rate drops, many requests are rebuilding context, and costs can rise quickly.
    5. Move state to general cloud components. For example, use object storage to keep raw conversation logs, use a message queue to handle asynchronous summarization tasks, use a vector database for searchable long-term memory, use a container platform to host inference services, and use monitoring and alerts to track resource levels. With this setup, core business data stays under your control even when the online model service changes its context limits.

    The following pseudocode shows one way to control the context length of a single request:

    1. def build_context(history, new_input, budget):
    2. # Keep the most recent turns
    3. recent = history[-10:]
    4. older = history[:-10]
    5. summary = summarize(older) # Can be produced by an external memory or summarization service
    6. while token_count(summary + recent + new_input) > budget:
    7. recent = recent[1:] # Gradually drop the oldest of the recent turns
    8. return summary + recent + new_input

    This design does not aim to keep the full history losslessly. It is an engineering trade-off among information completeness, response cost, and product availability.

    6. Conclusion

    Why does a conversation become unusable as it gets longer? The answer lies in the quadratic compute cost of attention, the GPU memory footprint of the KV cache, and the lifetime of the cache. Rate limits, page limits, and active-time limits all bring the idea of unlimited context back in line with cost reality.

    Long-context capability will keep evolving. Service providers will likely also offer better summarization, retrieval, and state management. For developers and enterprises, the safer approach is to understand the cost characteristics of long context and to design compression, externalized state, and monitoring in advance.