﻿# Separate vLLM issued-token budget from processed batch capacity

Distinguish scheduled token issuance from processed batch capacity when a vLLM model path can append speculative positions.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-perf-vllm-scheduled-token-budget/
Language: en

A vLLM configuration lists both a processed batch-token capacity and a smaller scheduler-issued token budget. An operator treats the difference as unused capacity and raises the smaller limit. Current SchedulerConfig documents a reason these quantities can differ: some model paths append tokens to the batch after scheduling, including speculative execution.

## Identify the two quantities

Read max_num_batched_tokens and max_num_scheduled_tokens from the effective configuration of the installed engine. The former describes tokens processed in an iteration; the latter bounds what the scheduler may issue. The default relationship does not mean they are universally interchangeable. Preserve engine version and selected model path rather than assuming a field from current documentation exists in every historical release.

## Account for appended work

The scheduler reference explicitly permits a smaller issued budget when the model can append positions. Those positions still consume execution capacity even if the scheduling decision did not count them as ordinary issued work. A gap between the configured limits is therefore not sufficient evidence of wasted GPU capacity. Check the active speculative method and its effective configuration before trying to remove that gap.

## Keep sequence and context limits separate

The number of sequences in a step and a request's permitted context length constrain different dimensions. Neither is the same quantity as an issued token budget. Changing several limits together can alter both admission and per-step work. A successful startup does not prove that the resulting combination covers every supported request shape or the model's internally expanded batch representation.

## Observe the actual iteration

Use a bounded representative execution to record scheduled work, model processing and accepted outputs under the selected method. Appended speculative positions are not automatically committed response tokens. Include the steps that reject candidates as well as those that accept them. An output-token count alone cannot reconstruct every processed position or establish the peak batch capacity required by the runtime.

## Change one justified boundary

Compare a documented valid configuration with one deliberate budget change while retaining numerical checks, concurrency and stopping rules. Report per-step work and completed request behavior, including failures. Acceptance establishes the meaning and adequacy of the two limits for that path. It does not make a larger issued budget universally faster or turn either field into a substitute for context validation and memory headroom.

## Primary references

[vLLM Scheduler Configuration](https://docs.vllm.ai/en/latest/api/vllm/config/scheduler/).

[vLLM Speculative Configuration](https://docs.vllm.ai/en/latest/api/vllm/config/speculative/).

[vLLM Optimization and Tuning](https://docs.vllm.ai/en/latest/configuration/optimization/).

Related reading: [Tune vLLM chunked prefill token budgets for mixed traffic](/journal/vllm-chunked-prefill-token-budget/); [Validate a draft and target model pair for vLLM speculative decoding](/journal/vllm-draft-target-validation/).
