Batch API vs Real-Time: When 50% Off Is Worth the Wait
Last updated: October 2026
Every major LLM provider sells the same model at two prices: full price for answers in seconds, roughly half price for answers in hours. The Batch API is the most underused discount in the industry — same model, same quality, ~50% off, in exchange for patience. Here's when it's worth it and when it isn't.
What Batch Mode Actually Is
A batch request is exactly what it sounds like: you submit a batch of requests as a file, the provider processes them when it has spare capacity, and you collect the results later — typically within 24 hours. Same weights, same capabilities, same output quality. The discount exists because you're letting the provider schedule your work during off-peak capacity instead of demanding instant compute.
On GPT-5.6 Sol, batch processing cuts the promo rates in half — $2.00 input / $10.00 output per 1M tokens instead of $4.00/$20.00. The mechanics are simple: upload a JSONL file of requests, poll for completion, download the results.
The Worked Example: What 50% Off Looks Like
Take a concrete workload: a nightly eval run — 500 test cases, each with 8K input tokens and 2K output tokens, on GPT-5.6 Sol's promo pricing.
Real-time: 500 x 8,000 = 4M input tokens x $4.00/1M = $16.00; 500 x 2,000 = 1M output tokens x $20.00/1M = $20.00. Total: $36.00 per nightly run → ~$1,080/month
Batch (50% off): 4M x $2.00/1M = $8.00 input; 1M x $10.00/1M = $10.00 output. Total: $18.00 per run → ~$540/month
Same model, same evals, $540/month saved — for changing when the work runs, not what the work is. Note this stacks with other optimizations: batch requests with well-structured cached prefixes get both discounts.
A Second Worked Example: Bulk Classification at Scale
The eval example above is small enough to ignore. This one isn't. A content platform classifies 2 million short documents a month — 1,000 input tokens and 100 output tokens each — on GPT-6.1 Sol ($2.00 input / $10.00 output per 1M):
| Mode | Input cost | Output cost | Monthly total |
|---|---|---|---|
| Real-time | 2B tokens x $2.00/1M = $4,000 | 200M tokens x $10.00/1M = $2,000 | $6,000 |
| Batch (50% off) | 2B tokens x $1.00/1M = $2,000 | 200M tokens x $5.00/1M = $1,000 | $3,000 |
$3,000 a month — $36,000 a year — for submitting the same requests as a file instead of a stream. Nothing about the classification job changes: same prompts, same model, same labels. Run both examples through the AI API Cost Calculator with the Batch box ticked and unticked to see the gap on your own volumes.
Batch Discounts Across Providers
The 50% figure is an industry pattern, not an OpenAI quirk — every major provider sells spare capacity the same way:
| Provider | Batch product | Discount | Window | Example rate |
|---|---|---|---|---|
| OpenAI | Batch API / Flex | 50% | Up to 24 hours | GPT-6.1 Sol: $1.00 / $5.00 per 1M |
| Anthropic | Message Batches API | 50% | Most batches finish well under 24 hours | Claude Sonnet 5.5: $1.00 / $5.00 per 1M |
| Gemini Batch / Flex | 50% | Up to 24 hours | Gemini 4 Argon: $1.00 / $5.00 per 1M at the intro rate |
Because the discount is a flat multiplier everywhere, provider choice for batch work should be made on the standard rate card and output quality — the batch ranking is the same as the real-time ranking, as our cheapest LLM API comparison shows tier by tier. And on all three providers the batch discount stacks with cached-input rates, so a well-structured batch with a stable prefix is the cheapest production configuration that exists.
The Latency Tradeoff, Honestly
The SLA is typically 24 hours. In practice providers often return results sooner, but architect for the SLA, not the typical.
Fits batch: nightly eval suites, dataset labeling and backfills, bulk document processing, embedding generation, offline classification, regression tests, report generation. Anything where the consumer is a pipeline, a dashboard, or tomorrow's standup.
Doesn't fit: chat, interactive agents, anything with a human waiting, real-time moderation, request-response APIs, multi-step agent loops.
Many "real-time" workloads aren't: audit your async jobs — teams routinely find 30–50% of their API spend is on work that could wait hours with zero user impact.
The Migration Is Smaller Than You Think
1. Collect requests instead of sending them — write them to a JSONL file. 2. Submit and poll — one submit call, one status poll. 3. Process results the same way — the response format matches the real-time API. Most teams do this in a day for a single pipeline.
Stacking Discounts: Batch Plus Everything Else
- Batch + caching: both the ~50% batch discount and the ~90% cached-input discount apply.
- Batch + smaller models: batching GPT-6.1 Sol ($2/$10 → $1/$5 batched) for bulk work is routinely 70–80% cheaper than the naive real-time flagship setup.
- Batch + off-peak scheduling: submit in the evening, collect by morning standup.
Finding Your Batch Candidates
List every automated caller — cron jobs, pipelines, background workers. For each, ask: who reads the output, and when? If the answer is "a dashboard tomorrow" or "a data warehouse," it's a batch candidate. Rank by spend, migrate the top two first.
Batch Failure Modes Nobody Warns You About
Batch is not fire-and-forget; it trades latency for a small amount of operational discipline. Three failure modes catch first-time users. Line-level validation: one malformed request in a ten-thousand-line file can fail that line (or, on stricter endpoints, stall the batch) — validate every line locally before submitting, and keep a per-line ID so results map back to inputs. Expiry: batches that exceed their completion window return partial results marked as expired; design your pipeline to re-submit only the missing IDs, not the whole file, or you'll pay twice for the lines that succeeded. Result ordering: results come back keyed by your custom IDs, not in submission order — join on the ID, never on position. None of this is hard, but all of it is easier to build on day one than to retrofit after the first silent data mismatch.
The Bottom Line
The Batch API is a 50% discount for the cost of patience, and most teams are leaving it on the table because their async work is accidentally running on the real-time API. Audit your jobs, find everything that doesn't need an answer in seconds, and move it.
FAQ
Is batch output quality lower than real-time?
No. Batch requests run on the same model with the same parameters; the discount buys scheduling flexibility for the provider, not a weaker model. If your outputs differ between modes, the cause is in your request construction — usually a parameter that didn't survive the move to the batch file format.
How long does a batch actually take?
The contractual window is typically 24 hours; real completion is usually much faster, especially for small batches and off-peak submissions. Architect for the 24-hour figure and treat anything sooner as a bonus — a pipeline that needs the typical time is a real-time workload in disguise.
Can I batch part of a workload and keep the rest real-time?
Yes, and that's the normal end state. Route by consumer, not by request type: anything read by a person waiting stays real-time; anything read by a pipeline, a dashboard or a database goes to batch. Most teams land near a 60/40 split.
Does batch stack with prompt caching?
Yes — on OpenAI, Anthropic and Google, batched requests with a repeated prefix get both the batch multiplier and the cached-input rate. That's why our prompt caching guide and this one are usually implemented in the same sprint.
Rates are published October 2026 rate cards (GPT-6.1 Sol $2/$10, Claude Sonnet 5.5 $2/$10, Gemini 4 Argon intro $2/$10 per 1M tokens; batch at 50% on all three providers). Rates change — confirm on the provider's pricing page before committing.