Planner
Planner adjusts the number of inference workers as demand changes. It adds capacity when workers are overloaded and removes capacity when demand falls. This helps you balance GPU use against response latency without manually resizing the deployment for every traffic change.
Quick Start
Deploy one model on Kubernetes with built-in autoscaling using Get Started with Planner. The table under Start with the capability you need lists where to go next.
What Planner changes
A request with a long prompt needs more prompt-processing work than a short request. Generating a long answer also occupies a worker longer. Request count alone does not describe how much capacity a workload needs.
For example, a document assistant starts receiving longer prompts while its request rate stays the same. In a disaggregated deployment, the prefill workers that process prompts can become overloaded while the decode workers that generate tokens still have spare capacity. Planner can add prefill replicas without adding the same number of decode replicas. As demand falls, it can remove replicas within the configured limits.
Planner supports both deployment shapes:
- Aggregated serving: adjust the replica count of workers that process prompts and generate tokens together.
- Disaggregated serving: adjust prefill and decode replica counts independently to match their different capacity needs.
How it works
Planner observes traffic or engine load, calculates desired replica counts, and passes those counts to the deployment system. On Kubernetes, the Dynamo operator applies the changes. The router selects workers for individual requests. A scaling decision does not mean the new capacity is ready immediately: workers still need to schedule and load their model.
Start with the default autoscaling policy, which reacts to queue depth and KV
cache utilization. When you have specific latency requirements, use the sla
optimization target to size capacity using performance-model estimates. It
accepts Time To First Token (TTFT), how long the response takes to start, and
Inter-Token Latency (ITL), the time between generated tokens.
These are scaling targets, not guarantees that every request or a particular latency percentile will meet them. Check observed request latency and errors on your workload before relying on a policy.
Start with the capability you need
Current Limitations
Load-based autoscaling needs ForwardPassMetrics (FPM), the per-iteration load records emitted by supported inference workers. It does not require KV-aware routing. Backend-specific emission and capacity-metadata requirements are in Load-based scaling requirements.
Scale-down can interrupt in-flight requests that do not finish within the removed worker’s shutdown grace period. Replica floors limit how far the fleet shrinks. Review scale-down limitations before enabling autoscaling on traffic that must not be interrupted.
Monitoring
Compare recommended replica counts with actual ready capacity, request latency, and errors. Model-estimated latency and observed request latency are different signals; evaluate both. Advisory mode reports recommendations without applying them, so you can inspect a policy before it changes replicas. Planner Operations covers the metrics, the Grafana dashboard, and diagnostics reports that show traffic, replicas, recommendations, and decision reasons over time.