Checked November 12, 2026 against the OpenAI and Anthropic (Claude) API documentation (US prices). This is a documentation-based explainer, not a hands-on test.
Quick verdict
The deal: both OpenAI and Anthropic charge 50% less for requests sent through their batch APIs.
The trade-off: results are not instant. Both promise completion within 24 hours; Anthropic says most batches finish in under an hour.
Use it for: evaluations, bulk classification, document summaries, data extraction and anything nobody is waiting on in real time.

Illustration: AI Tool Audit, created with Google Gemini
On this page
What a batch API is
A normal API call is synchronous: you send a request and wait for the answer. A batch API is asynchronous. You bundle many requests into one job, submit it and come back later for the results. Because the provider can run the job when it has spare capacity, it charges you less.
The model and the answers are the same. What you give up is speed and the ability to react to each answer as it arrives.
OpenAI vs Anthropic batch at a glance
| OpenAI Batch API | Anthropic Message Batches API | |
|---|---|---|
| Discount | 50% vs synchronous APIs | 50% of standard API prices |
| Completion window | 24 hours (fixed) | Up to 24 hours; most finish within 1 hour |
| Max size | 50,000 requests or a 200 MB input file | 100,000 requests or 256 MB |
| Input format | A .jsonl file, one request per line | A list of Messages requests |
| Result storage | 30 days by default (1 hour to 30 days configurable) | 29 days after the batch is created |
| Rate limits | Separate pool from per-model limits | Limits on HTTP requests and queued requests |
| Unfinished at expiry | Cancelled; you pay only for completed requests | Marked expired; not billed |
OpenAI's Batch API in detail
You upload a .jsonl file in which each line holds one request with a unique custom_id, the endpoint and the request body. One file can target only one model. The Batch API supports the Responses, Chat Completions, Embeddings, Completions, Moderations and image generation and edit endpoints.
A batch can hold up to 50,000 requests, the file can be up to 200 MB, and you can create up to 2,000 batches an hour. Batch usage draws on its own rate limit pool, so a big batch won't eat into the limits your live app depends on. There is a per-model cap on queued prompt tokens, which you can see in your platform settings.
Results come back as an output file, and failed requests go to a separate error file. The output order may not match your input order, so always match results by custom_id. If a batch is not done within 24 hours, the unfinished requests are cancelled and you are billed only for the ones that completed.
Anthropic's Message Batches API in detail
Anthropic's version takes up to 100,000 Messages requests or 256 MB per batch, whichever comes first. Anthropic says most batches finish in less than an hour, and results become available once every request is done or after 24 hours, whichever comes first. Requests that don't finish in time are marked expired, and you aren't billed for them.
Results are available for 29 days after the batch is created. After that you can still see the batch, but you can't download its results. Each result is marked succeeded, errored, canceled or expired.
Anthropic batch prices
| Model | Batch input (per MTok) | Batch output (per MTok) |
|---|---|---|
| Claude Opus 5.5 | $2 | $10 |
| Claude Sonnet 5.5 | $1 | $5 |
| Claude Haiku 5.5 (prompts up to 100,000 tokens) | $0.05 | $0.25 |
| Claude Haiku 4.5 | $0.50 | $2.50 |
| Claude Fable 5.2 | $4 | $20 |
MTok means a million tokens. For full standard prices, see our Anthropic API pricing guide; for OpenAI's per-model rates, see our OpenAI API pricing guide.
Stacking batch with prompt caching
On Anthropic, batch and prompt caching discounts stack. The catch is that batch requests run concurrently and in any order, so cache hits are best-effort. Anthropic says users typically see hit rates between 30% and 98%, depending on traffic patterns. Because batches can take longer than five minutes, Anthropic suggests using the 1-hour cache lifetime for shared context. Our prompt caching explainer covers how caching is priced.
One limit: Anthropic does not allow cache pre-warming with max_tokens: 0 inside a batch.
A simple savings example
Say you need to summarize 20,000 support tickets with Claude Sonnet 5.5, using about 2,000 input tokens and 300 output tokens each. That is 40 million input tokens and 6 million output tokens. At the batch rates above, input costs $40 and output $30, or $70 in total. Since batch is half the standard price, the same job through the normal API would cost about $140. Nobody needs those summaries within seconds, so batch is the obvious choice.
When batch is worth it, and when it isn't
- Good fits: nightly reports, tagging or classifying large datasets, model evaluations, generating embeddings for a search index, translating a backlog of documents.
- Poor fits: chatbots, coding assistants, anything a user is watching, and multi-step agent workflows where each step depends on the last answer.
- Watch for: data retention. Anthropic's batch data is stored for up to 29 days and is not eligible for zero data retention. OpenAI keeps output files 30 days by default, though you can shorten that.
Batch discounts are common beyond the big two; Fireworks AI, for example, lists 50% off for batch, and our Gemini API pricing guide covers Google's token rates. Our AI tool price table tracks API prices across providers.
FAQ
How much does the Batch API save?
Both OpenAI and Anthropic charge 50% less for batch requests than for standard, synchronous calls.
How long does a batch take?
Both providers allow up to 24 hours. Anthropic says most of its batches finish in under an hour.
Do I pay for requests that expire?
Anthropic does not bill expired requests. OpenAI cancels unfinished requests at expiry and charges only for those that completed.
Can I combine batch with prompt caching?
Yes on Anthropic, where the discounts stack, though cache hits in batches are best-effort.
Sources
- OpenAI: Batch API guide (checked November 12, 2026)
- Anthropic: Batch processing (checked November 12, 2026)




