LLM Entitlement Splitting and Compute Scheduling in Practice
This article explains how an AI assistant team handled capacity pressure after launching a trillion-parameter open-source model by splitting subscription entitlements by product line and isolating compute into separate resource pools. It covers the entitlement model, quota dimensions, phased rollout, stability mechanisms such as rate limiting and model routing, compensation for wasted quota, and observability for cost governance.
1. Background: Capacity Pressure from a Capability Jump
After an AI assistant team released a new generation of ultra-large open-source model with a trillion-level parameter count, user request volume far exceeded forecasts within a short period and pushed the existing compute cluster close to its limit. The root cause was not a single performance bottleneck, but a mismatch between the model capability supply curve and the user request growth curve.
Three common responses exist for this type of situation:
- Add compute capacity (fixes the cause, but takes a long time);
- Rate limiting and queuing (treats the symptom, but hurts experience);
- Restructure the entitlement system (make resource allocation rules explicit).
The team settled on a combined strategy: pause new consumer subscriptions and split subscription entitlements going forward. Generic chat entitlements and AI coding entitlements, previously bundled together, became two independent subscription items covering web, mobile, office suite, and code scenarios. The value of this change is that compute allocation moves from “vague sharing” to something measurable, capped, and auditable.
2. Core Problem: Why Entitlements Must Bind to Product Lines
Putting every product into one shared entitlement pool produces a classic tragedy of the commons: high-frequency, long-context, inference-heavy coding requests consume the quota of ordinary chat requests, degrading the experience of light users while heavy users still get no stable guarantee.
Splitting entitlements by product line solves at least three problems:
- Attribution: compute consumption per request category becomes measurable;
- Capping: each subscription item has its own quota and cannot encroach on others;
- Operability: capacity can be opened to users in batches after expansion, instead of all at once.
3. Entitlement Model Design: From a Unified Pool to Isolated Pools
A three-layer model is recommended: subscription item, resource pool, quota policy.
Subscription item (main equity / coding equity)└── Resource pool (chat pool / long-context pool / code pool)└── Quota policy (TPM / RPD / concurrency / priority)
Quota dimensions typically include:
- Tokens per minute (controls bursts);
- Requests per day (controls total volume);
- Maximum concurrency (protects the backend);
- Context length limit (long text is the most expensive).
Illustrative policy configuration (pseudocode):
plan: main_equitypools:chat: { tpm: 60000, rpd: 1500, concurrency: 8, max_ctx: 32k }office: { tpm: 80000, rpd: 800, concurrency: 6, max_ctx: 64k }plan: code_equitypools:code: { tpm: 120000, rpd: 600, concurrency: 4, max_ctx: 128k }
4. Operational Strategy: Phased Rollout and Recovery Pace
Pausing new subscriptions is only short-term damage control. The pace of recovery matters more:
- Capacity readiness assessment: use available cluster memory, throughput, and queue latency as metrics;
- Canary rollout: open subscription slots in batches of 5% → 20% → 50% → 100%;
- Closed-loop observation: monitor P95 latency, rate-limit rate, error rate, and abnormal quota consumption;
- Rollback mechanism: automatically narrow the rollout ratio once the rate-limit rate exceeds the threshold.
5. Stability Engineering: Rate Limiting, Degradation, and Priority
For ultra-large model serving, you must assume capacity is never enough, so multi-level degradation is required:
- Queuing and token buckets: smooth out burst traffic;
- Model routing: simple requests go to small models, complex requests go to large models;
- Context trimming: overly long inputs are automatically summarized and compressed;
- Priority queues: paid subscriptions take precedence, background jobs are degraded.
6. Exceptions and Compensation: Treat Quota Loss as a Governance Concern
After one new model launch, members hit rate limits and unnecessary quota consumption. The team apologized publicly and compensated usage equal to 25% of the monthly total, with anything below 25% reset to 0. The lesson: compensation should be productized rather than handled manually each time.
Recommended implementation:
def compensate(user, ratio=0.25):grant = user.monthly_total * ratioif user.used < grant:user.used = 0 # resetelse:user.quota += grant # add on top
Anomaly detection for consumption should also be built: repeated billing within the same session, quota deducted for failed requests, and no warning for overly long context should all trigger automatic quota rollback.
7. Observability and Cost Governance
After splitting entitlements, a unified dashboard is required: call volume, token consumption, failure rate, and unit cost broken down by subscription item, product line, and model version. This is what makes three operational questions answerable: who is consuming, whether consumption is abnormal, and whether capacity expansion is effective. On cost governance, cache reuse, batching, context compression, and small-model offloading can lower the unit cost per request.
8. Conclusion
Competition in large model services ultimately comes down to compute allocation efficiency and entitlement transparency. Splitting entitlements by product line, making quotas explicit, and productizing rate limiting, degradation, and compensation is a general engineering pattern for protecting user experience during periods of compute scarcity. It can also serve as a reference for capacity and billing design when building large model applications on Baidu AI Cloud.
