LLM Conversation Length Limits: The Cost Logic and Technical Reality Behind Them

    A recent adjustment to a free web chat interface—limiting document reads and downgrading long-running sessions—looks like a feature cut, but it exposes a deeper issue: long-context inference is expensive. This article breaks down the quadratic attention cost of Prefill, the KV cache access cost during Decode, cache retention trade-offs, why some products impose limits from launch, why the change happened now, and what users and enterprise developers should do about context management.

    The Surface: A Seemingly Routine Feature Adjustment

    Recently, a large language model platform announced changes to its usage policy for the free web interface. The core changes included:

    • Single document reading: limited to the first 20 pages or about 10,000 tokens.
    • Long conversations: historical sessions older than a certain period (e.g., 72 hours or 7 days) will be downgraded and cannot continue seamlessly.
    • API users unaffected: paid callers retain their existing capabilities.

    Many users’ first reaction was that the experience had gotten worse or that features had been reduced. But from an engineering and cost perspective, this adjustment exposes a long-hidden cost line. To understand why this line exists, it is necessary to understand the real overhead structure of large model inference.

    First Layer: Attention Computation Costs in Long Conversations

    When a conversation accumulates hundreds of thousands of tokens, the cost of each new request does not grow linearly. It grows quadratically with context length. This comes from how the self-attention mechanism works in the Transformer architecture.

    A typical inference request has two phases:

    1. Prefill phase (processing new input)

    When a user sends a new message, the server must run attention over the entire historical context (say, 500,000 tokens) plus the new input. The computational complexity of self-attention is O(n²), where n is the sequence length. If the context doubles, Prefill computation becomes roughly four times larger.

    2. Decode phase (generating the response)

    For every token the model generates, it must access the KV cache corresponding to all historical tokens. The longer the context, the greater the memory-read overhead at each decoding step, and this overhead accumulates as generation continues.

    A rough quantitative comparison:

    • A 10,000-token conversation: cost treated as baseline 1.
    • A 500,000-token conversation: attention-related computation alone could be more than 2,500 times the baseline.

    It is worth noting that the industry commonly uses prefix caching to reuse already-computed parts. KV cache for the same prefix can be reused directly to avoid recomputation. But caching only eliminates “repeated computation”; it cannot eliminate the cost of “continued access.” As long as the conversation continues, this memory must remain occupied, and the memory-access overhead during decoding still exists.

    Second Layer: The Resource Game Behind Cache Retention Windows

    More hidden than computation cost is the cache occupancy period.

    Common industry practice

    To ensure responsiveness in high-frequency scenarios such as agentic and coding use cases, most inference services set cache retention windows on the order of 5 to 10 minutes. If the user does not continue the conversation within that time, the system reclaims the session’s KV cache and frees GPU memory. When the user returns later, the historical context must be recomputed.

    The essence of this strategy is: trade computation time for memory space, reserving GPU memory for currently active requests.

    The cost of aggressive strategies

    Some platforms extend the cache window extremely long—measured in days—to create a product experience of “unlimited long context, come back and continue anytime.” This is technically feasible but commercially dangerous:

    • If many users each maintain “live conversations” of hundreds of thousands of tokens, those KV caches remain in GPU memory for long periods.
    • GPU memory is the scarcest resource in GPU clusters. The portion occupied by historical sessions cannot serve new requests.
    • Once user volume grows rapidly, resource contention can occur: new users cannot get in, while old conversations occupy capacity.

    In other words, an ultra-long cache window means the platform is storing a large, expensive resource for users for free. This is tolerable when user volume is small, but unsustainable when user volume explodes.

    Third Layer: Why Some Products Have Similar Limits From the Start

    Comparing other chat products in the industry, many have imposed strict limits on long conversations since launch. After a certain period without interaction, conversation content is moved into a “memory system” or summary compression, and subsequent conversations must be rebuilt from the compressed context.

    This reflects a more conservative but more sustainable cost-control approach:

    • Force a distinction between “live conversations” and “historical conversations”: active sessions keep full context, while inactive sessions are downgraded to summaries or memory entries.
    • Trade information compression for resource efficiency: sacrifice some verbatim recall in exchange for higher GPU memory turnover.
    • Front-load the cost model: write cost constraints into interaction logic during product design rather than patching later after user growth.

    By contrast, platforms that initially provide ultra-long context experiences are often using subsidies to buy growth. When user scale reaches a critical point, cost pressure inevitably forces a policy pullback. This adjustment is essentially the intersection of that cost curve and the growth curve.

    Why Adjust Now

    Several factors usually combine to determine the timing:

    1. Explosive user volume: free users grow rapidly, and the cache resources consumed by long conversations exceed spare capacity.
    2. Worsening inference cost structure: the share of long-context requests rises, significantly increasing the average cost per request.
    3. Need to tier API and free services: paid APIs are billed by token, so costs can be passed through; free service costs are fully borne by the platform, so usage boundaries must be set.
    4. Resource scheduling optimization: reclaiming cache from inactive sessions can significantly improve overall GPU cluster throughput.

    Implications for Users and Enterprise Developers

    1. Long context is not free: any “unlimited context” product promise has a cost-support mechanism behind it—subsidy, limits, or compression.
    2. Externalize key information: export important conclusions, code snippets, and document points in time, and manage them through external knowledge bases or files rather than relying on chat history itself.
    3. Prefer controllable options for enterprise scenarios: if a business needs stable long-context capability, choose pay-as-you-go cloud services that provide API-level control over context length and cache strategy, and combine them with your own session management logic (summary compression, sliding windows, retrieval-augmented generation/RAG) to control cost.
    4. Understand the cost model before making architecture decisions: for example, using RAG instead of ultra-long context, or using session summaries instead of full history, can often achieve a better balance between effectiveness and cost.

    Conclusion

    This adjustment to conversation length limits is less a feature downgrade than a public lesson in inference costs. Quadratic attention complexity, the trade-off between GPU memory occupancy and cache retention windows, and the tiering logic between free and paid services—these technical truths usually hidden behind product experience inevitably surface when user scale reaches a critical point. For developers, rather than complaining about limits, it is better to use the opportunity to re-examine their application’s context management strategy and make cost awareness a first principle of architecture design.