RunInfraby RightNow
  • CatalogNew
  • Pricing
  • Research
  • Contact
DashboardSign inGet started
Home/Glossary/Chunked prefill

Batching

Chunked prefill

What it is

Chunked prefill divides a long prompt's prefill work into smaller token blocks. A scheduler can place those blocks beside decode iterations instead of running the whole prompt uninterrupted.

Why it moves cost and latency

Limiting prefill work per iteration bounds how long active decodes wait behind a large prompt. Smaller chunks improve responsiveness but may add scheduling overhead and reduce prefill efficiency.

What it looks like in practice

Operators tune chunk limits with batch capacity, prompt distribution, and latency objectives. Implementations differ in how chunks share an iteration with decode work.

Related terms

  • Continuous batching->
  • Prefill->
  • Continuous versus static batching->
  • Admission control->

Questions this definition answers

What does Chunked prefill mean in inference serving?

Chunked prefill divides a long prompt's prefill work into smaller token blocks. A scheduler can place those blocks beside decode iterations instead of running the whole prompt uninterrupted. Operators tune chunk limits with batch capacity, prompt distribution, and latency objectives. Implementations differ in how chunks share an iteration with decode work.

Why can Chunked prefill move cost or latency?

Limiting prefill work per iteration bounds how long active decodes wait behind a large prompt. Smaller chunks improve responsiveness but may add scheduling overhead and reduce prefill efficiency.

If you need custom optimization for a specific model, describe what you need

Describe the model and hardware you want optimized...
ModelsAuto engineAuto GPU
End-to-end encryption
Isolated GPU infrastructure
No training on your data
SOC 2 Type II
RunInfraby RightNow

© 2026 RunInfra. All rights reserved.

System status
Pipeline BuilderModelsCost CalculatorPricingStartupsBenchmarksDocsResearchNewsContact
Backed by
YCombinator
AICPA Type II
SOC 2
NVIDIA Inception ProgramNVIDIA Inception Program
Ask AI about RunInfra
Part of RightNow
SecurityDPAAUPCookiesTermsPrivacy