AI Cost Save
AICostSave

Batch API

Batch APIs process large async request sets at a discount. Ideal for jobs that can tolerate delayed results.

Definition

A batch API accepts many requests and processes them asynchronously, usually within a window up to 24 hours, at a discount.

Why it matters for cost

Batch endpoints commonly cost substantially less than real-time calls. Moving delay-tolerant work (backfills, bulk generation) to batch cuts spend without changing output quality.

Practical tip

Route by latency tolerance: batch everything that can wait, keep only live interactions real-time.

Related reading