Message Batches API changedbuild-with-claude/batch-processing
Nearest release: v2.1.330, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+40added
Lines−40removed
From line
92
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits36to this page, all time
The whole hunk
from line 92, old and new numbered
/
from line 92
9292
9393A small number of Messages API parameters are **not** supported in batch requests. Including any of these returns a validation error:
9494
95| Parameter | Why |
96| -------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
97| `stream: true` | Batch results come back as a single file, not a stream. |
98| `speed` ([Fast mode](https://platform.claude.com/docs/en/build-with-claude/fast-mode)) | Fast mode tunes synchronous latency, which doesn’t apply to asynchronous batch processing. |
95| Parameter | Why |
96| ----- | ----- |
97| `stream: true` | Batch results come back as a single file, not a stream. |
98| `speed` ([Fast mode](https://platform.claude.com/docs/en/build-with-claude/fast-mode)) | Fast mode tunes synchronous latency, which doesn’t apply to asynchronous batch processing. |
9999| `fallbacks` ([Server-side fallback](https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallback#server-side-fallback)) | Server-side fallback doesn’t apply to batches. To retry refused requests, see [Refusals in Message Batches](https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallback#refusals-in-message-batches). |
100| `max_tokens: 0` | See [Batch limitations](https://platform.claude.com/docs/en/build-with-claude/batch-processing#batch-limitations). |
100| `max_tokens: 0` | See [Batch limitations](https://platform.claude.com/docs/en/build-with-claude/batch-processing#batch-limitations). |
101101
102102<Tip>
103103 Because batches can take longer than 5 minutes to process, consider using the [1-hour cache duration](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#1-hour-cache-duration) with prompt caching for better cache hit rates when processing batches with shared context.
from line 107
107107
108108The Batches API offers significant cost savings. All usage is charged at 50 percent of the standard API prices.
109109
110| Model | Batch input | Batch output |
111| :--------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----------- | :------------ |
112| Claude Fable 5.2 | $4 / MTok | $20 / MTok |
113| Claude Mythos 5.2 ([limited availability](https://support.claude.com/en/articles/14604842)) | $4 / MTok | $20 / MTok |
114| Claude Fable 5.1 | $5 / MTok | $25 / MTok |
115| Claude Mythos 5.1 ([limited availability](https://support.claude.com/en/articles/14604842)) | $5 / MTok | $25 / MTok |
116| Claude Fable 5 | $5 / MTok | $25 / MTok |
117| Claude Mythos 5 ([limited availability](https://support.claude.com/en/articles/14604842)) | $5 / MTok | $25 / MTok |
118| Claude Opus 5.5 | $2 / MTok | $10 / MTok |
119| Claude Opus 5 | $2.50 / MTok | $12.50 / MTok |
120| Claude Opus 4.8 | $2.50 / MTok | $12.50 / MTok |
121| Claude Opus 4.7 | $2.50 / MTok | $12.50 / MTok |
122| Claude Opus 4.6 | $2.50 / MTok | $12.50 / MTok |
123| Claude Opus 4.5 | $2.50 / MTok | $12.50 / MTok |
110| Model | Batch input | Batch output |
111| :---- | :---- | :---- |
112| Claude Fable 5.2 | $4 / MTok | $20 / MTok |
113| Claude Mythos 5.2 ([limited availability](https://support.claude.com/en/articles/14604842)) | $4 / MTok | $20 / MTok |
114| Claude Fable 5.1 | $5 / MTok | $25 / MTok |
115| Claude Mythos 5.1 ([limited availability](https://support.claude.com/en/articles/14604842)) | $5 / MTok | $25 / MTok |
116| Claude Fable 5 | $5 / MTok | $25 / MTok |
117| Claude Mythos 5 ([limited availability](https://support.claude.com/en/articles/14604842)) | $5 / MTok | $25 / MTok |
118| Claude Opus 5.5 | $2 / MTok | $10 / MTok |
119| Claude Opus 5 | $2.50 / MTok | $12.50 / MTok |
120| Claude Opus 4.8 | $2.50 / MTok | $12.50 / MTok |
121| Claude Opus 4.7 | $2.50 / MTok | $12.50 / MTok |
122| Claude Opus 4.6 | $2.50 / MTok | $12.50 / MTok |
123| Claude Opus 4.5 | $2.50 / MTok | $12.50 / MTok |
124124| Claude Opus 4.1 ([retired, except on Claude Models on Google Cloud (Google managed) and Bedrock](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $7.50 / MTok | $37.50 / MTok |
125| Claude Opus 4 ([retired, except on Claude Models on Google Cloud (Google managed)](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $7.50 / MTok | $37.50 / MTok |
126| Claude Sonnet 5.5 | $1 / MTok | $5 / MTok |
127| Claude Sonnet 5 | $1 / MTok | $5 / MTok |
128| Claude Sonnet 4.6 | $1.50 / MTok | $7.50 / MTok |
129| Claude Sonnet 4.5 | $1.50 / MTok | $7.50 / MTok |
130| Claude Sonnet 4 ([retired, except on Claude Models on Google Cloud (Google managed) and Bedrock](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $1.50 / MTok | $7.50 / MTok |
131| Claude Haiku 5.5 (for prompts up to 100,000 tokens) | $0.05 / MTok | $0.25 / MTok |
132| Claude Haiku 5.5 (for prompts over 100,000 tokens) | $0.25 / MTok | $1.25 / MTok |
133| Claude Haiku 4.5 | $0.50 / MTok | $2.50 / MTok |
125| Claude Opus 4 ([retired, except on Claude Models on Google Cloud (Google managed)](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $7.50 / MTok | $37.50 / MTok |
126| Claude Sonnet 5.5 | $1 / MTok | $5 / MTok |
127| Claude Sonnet 5 | $1 / MTok | $5 / MTok |
128| Claude Sonnet 4.6 | $1.50 / MTok | $7.50 / MTok |
129| Claude Sonnet 4.5 | $1.50 / MTok | $7.50 / MTok |
130| Claude Sonnet 4 ([retired, except on Claude Models on Google Cloud (Google managed) and Bedrock](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $1.50 / MTok | $7.50 / MTok |
131| Claude Haiku 5.5 (for prompts up to 100,000 tokens) | $0.05 / MTok | $0.25 / MTok |
132| Claude Haiku 5.5 (for prompts over 100,000 tokens) | $0.25 / MTok | $1.25 / MTok |
133| Claude Haiku 4.5 | $0.50 / MTok | $2.50 / MTok |
134134
135135* **MTok:** Million tokens. $5 / MTok is $5 for every million tokens.
136136* **Limited access:** Available only to organizations verified through Anthropic’s verification programs, such as the [Cyber Verification Program](https://support.claude.com/en/articles/14604842). To request access, apply to the program that covers your use case.
from line 730
730730
731731Once batch processing has ended, each Messages request in the batch has a result. There are four result types:
732732
733| Result type | Description |
734| ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
735| `succeeded` | Request was successful. Includes the message result. |
736| `errored` | Request encountered an error and a message was not created. Possible errors include invalid requests and internal server errors. You aren’t billed for these requests. |
737| `canceled` | User canceled the batch before this request could be sent to the model. You aren’t billed for these requests. |
738| `expired` | Batch reached its 24-hour expiration before this request could be sent to the model. You aren’t billed for these requests. |
733| Result type | Description |
734| ----- | ----- |
735| `succeeded` | Request was successful. Includes the message result. |
736| `errored` | Request encountered an error and a message was not created. Possible errors include invalid requests and internal server errors. You aren’t billed for these requests. |
737| `canceled` | User canceled the batch before this request could be sent to the model. You aren’t billed for these requests. |
738| `expired` | Batch reached its 24-hour expiration before this request could be sent to the model. You aren’t billed for these requests. |
739739
740740The batch’s `request_counts` object counts the requests still processing and the requests with each result type.
741741
from line 1895
18951895
18961896* Availability: Available
18971897
1898| Status | Cloud platforms |
1899| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1898| Status | Cloud platforms |
1899| ----- | ----- |
19001900| Available | Claude API, [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed) |
19011901
19021902#### [Managed Agents](https://platform.claude.com/docs/en/managed-agents/overview)
from line 1907
19071907
19081908[Data handling overview](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#feature-eligibility)
19091909
1910| Item | Zero data retention | HIPAA |
1911| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
1912| Status | Not eligible | Not eligible |
1913| Details | 29-day retention; async storage required. [Learn more](https://platform.claude.com/docs/en/build-with-claude/batch-processing#data-retention) | — |
1910| Item | Zero data retention | HIPAA |
1911| ----- | ----- | ----- |
1912| Status | Not eligible | Not eligible |
1913| Details | 29-day retention; async storage required. [Learn more](https://platform.claude.com/docs/en/build-with-claude/batch-processing#data-retention) | — |
19141914
19151915Applicable endpoints:
19161916
No line in this hunk matches that.