Why LLM Free Tier Limits Are Tightening: The Compute Governance Logic
This article explains why a major LLM service tightened its free tier—capping daily calls, shortening input length, and expiring inactive sessions—and why users asked to pay rather than to have limits removed. It breaks down the real cost structure behind long conversations (repeated context recomputation, prefix cache occupancy by idle sessions, and missing priority isolation), then presents three engineering approaches: externalizing session state into summary, vector, structured, and cold-storage layers; replacing blanket quotas with tiered admission and graceful degradation; and building capacity monitoring, per-tenant throttling, and rollback plans first. A developer checklist and code sketches for session cost, prompt budgeting, and quota admission are included.
1. The Trigger: A Quota Controversy Driven by a “Reverse Demand”
A major LLM service tightened its free tier twice within two weeks. Historical conversations inactive beyond a certain number of days could no longer be continued, and some users saw an even shorter threshold. Single-turn input was compressed to roughly the ten-thousand-character range. Daily call limits were introduced, and heavy users hit the ceiling in under two hours. Calls made through the developer API are governed by separate billing and concurrency mechanisms and were unaffected.
The public reaction is what stands out. Rate limits usually trigger outrage; this time, a large number of users asked to be allowed to pay. The demand was not to remove limits entirely, but to open a channel that preserves conversations for those willing to pay. The reason is straightforward: the users hit hardest were long-term role-play and AI companionship users, whose asset is not the quality of any single reply but the persona, prior context, and relationship progress accumulated over months—all of it stored in the context window. Once a session expires, that asset is gone.
The vendor published no unified explanation. The changelog still covers only API-level iteration, and the only reason users could read was “insufficient compute.” Third-party call statistics show that weekly token volume for one model grew nearly threefold in six weeks, ranking among the highest worldwide, while daily active users rose from roughly 120 million to nearly 200 million and compute capacity grew at only a single-digit percentage rate. Since October there have also been several service interruptions, one lasting nearly five hours and affecting the API and the front end simultaneously.
2. Root Cause: Long Conversations Are Quadratic in Cost, Not Linear
Reading the quotas as a simple cost-cutting measure misdiagnoses the problem. The actual cost structure comes from three sources.
First, repeated context computation. In autoregressive inference, every generation step re-reads the entire history of K/V. The longer the input, the higher the per-turn cost. For a conversation spanning months, cumulative consumption scales as a product of turn count and length, not as a sum.
Second, GPU memory held by “idling” sessions. To reduce time-to-first-token, prefix caching is standard practice: historical K/V stays resident in GPU memory for reuse. This leads to a counterintuitive conclusion—a session that is inactive but not evicted still occupies expensive resources. So “reclaim after N days of inactivity” is essentially a cache eviction policy made visible to users, not a feature being stripped out.
Third, missing prioritization. When free and paid traffic share the same inference pool with no isolation or preemption, peak-hour queuing harms both groups, and the only fallback is a coarse global threshold.
An illustrative cost estimation:
# Illustrative only: cumulative input cost per session grows with turns and lengthdef session_input_tokens(history_lens, new_tokens):total = 0for h in history_lens: # history is re-read every turntotal += h + new_tokensreturn total# Without compression: linearly growing history -> quadratic cumulative costlens = [2000 * i for i in range(1, 50)]print(session_input_tokens(lens, 500))
3. Solution 1: Move Session State Out of the Context Window
If what needs to stay “alive” is the persona and the relationship rather than a verbatim transcript, then state should not live only inside the context window. A workable layering is:
- Summary layer: generate a structured summary every few turns (character设定, key events, open threads) and keep it resident in a short context;
- Vector layer: write raw fragments to a vector store and recall them by semantic relevance on demand instead of feeding everything back in;
- Structured layer: persist numeric state (affinity scores, timeline, inventory) in a database and read it with ordinary queries;
- Raw layer: archive the full history in object storage as cold data, loaded only when the user explicitly scrolls back.
Combined with rolling compression, this keeps per-turn input within a bounded range even for long-running sessions:
def build_prompt(summary, recalled, state, query, budget=8000):fixed = f"[Persona]{summary}\n[State]{state}"remain = budget - len(fixed)picked, used = [], 0for chunk in sorted(recalled, key=lambda c: c.score, reverse=True):if used + len(chunk.text) > remain: breakpicked.append(chunk.text); used += len(chunk.text)return fixed + "\n[Relevant memory]" + "\n".join(picked) + f"\n[Current]{query}"
The engineering payoff runs both ways: users experience longer memory, while per-turn input is pinned inside a budget and cache hit rates actually become more stable.
4. Solution 2: Replace Blanket Quotas with Tiered Quotas
Reframing the question from “can you use it” to “at what priority do you use it” reduces disputes considerably. Practical dimensions include: tiering by activity (active sessions preempt first), by task type (interactive dialogue ahead of batch jobs), by payment tier (guaranteed quota and concurrency ceilings kept separate), and by remaining budget (once the daily allowance is exhausted, drop to a smaller model or a short-context mode). Quotas should also be observable, explainable, and appealable as product capabilities: stating remaining quota, recovery time, and the upgrade path does more to calm users than a dialog that says only “insufficient compute.”
A minimal skeleton for admission decisions:
def admit(user, req, now):if user.tier == "paid":return "allow", user.quota.priority_poolif user.daily_used >= user.daily_cap:return "degrade", {"model": "small", "max_ctx": 2048}if now - user.last_active > IDLE_TTL:return "reload", {"from": "cold_store"} # reload state instead of refusingreturn "allow", "shared_pool"
5. Solution 3: Stability and Observability First
Quotas and outages usually share a root cause: capacity planning lagging behind traffic growth. Engineering should close three gaps first—monitoring and alerting on capacity headroom and queue duration, per-tenant rate limiting and circuit breaking, and degradation plans for failures (shorter context, switching to a smaller-parameter model, disabling non-essential cache reuse). With canary rollout and rollback in place, policy changes stop being one-off network-wide announcements.
6. A Practical Checklist for Developers
- Externalize session state; treat the context window as a working set, not a warehouse.
- Combine summaries, retrieval, and structured state to cap per-turn input.
- Give prefix caches a sensible idle eviction policy, and turn reclamation into transparent reloading.
- Layer quotas and build a degradation path so a global threshold stops causing collateral damage.
- Make limits explainable: quota, recovery time, and upgrade entry point.
- Instrument the full chain: token consumption, cache hit rate, time-to-first-token, queue duration.
If you build on general-purpose cloud capabilities, this typically maps to object storage for cold data, a vector retrieval service for recall, a message queue for peak shaving, a container platform for elastic scaling, and logging plus monitoring/alerting for headroom management. Baidu AI Cloud offers the same category of general-purpose products for this kind of long-horizon conversation architecture, which you can assemble along the layers above.
