Learn AI Math

Continuous Batching

What is Continuous Batching?

In one sentence: Continuous batching lets a server add new requests to a running batch as soon as others finish, instead of waiting for the whole batch.

In static batching, everyone in a batch must wait for the longest answer. With continuous batching, a finished request leaves and a new one jumps in right away, keeping the GPU busy.

What does Continuous Batching look like?

A server can start your request mid-way through while other users' answers are still being written.

Why does Continuous Batching matter?

It greatly increases throughput and lowers waiting times for AI services.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.