Batches changedapi/messages/batches
Nearest release: v2.1.334, published 3 hours 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+1added
Lines−61removed
From line
1,207
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits32to this page, all time
The whole hunk
from line 1207, old and new numbered
/
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
from line 1207
12071207
12081208 Powerful intelligence for long-running agents and coding
12091209
1210 - `"claude-sonnet-4-5"`
1211
1212 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
1213
1214 High-performance model for agents and coding
1215
1216 - `"claude-sonnet-4-5-20250929"`
1217
1218 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
1219
1220 High-performance model for agents and coding
1221
12221210 - `string`
12231211
12241212 - `cache_control: optional CacheControlEphemeral or null`
from line 1323
13351323
13361324 The inference speed mode for this request. `"fast"` enables high output-tokens-per-second inference.
13371325
1338 Some models require the `fast-mode-2026-02-01` beta header for any `speed` value. See [fast mode](https://platform.claude.com/docs/en/build-with-claude/fast-mode?sdk_languages=http) for which models.
1326 Some models require the `fast-mode-2026-02-01` beta header when `speed` is `"fast"`. See [fast mode](https://platform.claude.com/docs/en/build-with-claude/fast-mode?sdk_languages=http) for which models.
13391327
13401328 - `"standard"`
13411329
from line 4960
49724960
49734961 Powerful intelligence for long-running agents and coding
49744962
4975 - `"claude-sonnet-4-5"`
4976
4977 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
4978
4979 High-performance model for agents and coding
4980
4981 - `"claude-sonnet-4-5-20250929"`
4982
4983 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
4984
4985 High-performance model for agents and coding
4986
49874963 - `string`
49884964
49894965 - `role: "assistant"`
from line 6602
66266602
66276603 Powerful intelligence for long-running agents and coding
66286604
6629 - `"claude-sonnet-4-5"`
6630
6631 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
6632
6633 High-performance model for agents and coding
6634
6635 - `"claude-sonnet-4-5-20250929"`
6636
6637 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
6638
6639 High-performance model for agents and coding
6640
66416605 - `string`
66426606
66436607 - `role: "assistant"`
from line 7962
79987962
79997963 Powerful intelligence for long-running agents and coding
80007964
8001 - `"claude-sonnet-4-5"`
8002
8003 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
8004
8005 High-performance model for agents and coding
8006
8007 - `"claude-sonnet-4-5-20250929"`
8008
8009 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
8010
8011 High-performance model for agents and coding
8012
80137965 - `string`
80147966
80157967 - `role: "assistant"`
from line 8111
81598111 Breakdown of output tokens by category.
81608112
81618113 `output_tokens` remains the inclusive, authoritative total used for billing.
8162 This object provides a read-only d
8114 This object provides a read-only decomposition for observability — for example,
8115 how many of the billed output tokens were spent on internal reasoning that may
8116 have been summarized before being returned to you.
8117
8118 - `thinking_tokens: number`
8119
8120 Number of output tokens the model generated as internal reasoning, including
8121 the thinking-block delimiter tokens.
8122
8123 Reflects the raw reasoning the model produced, not the (possibly shorter)
8124 summarized thinking text returned in the response body. It may differ from the model's exact
8125 generation count by a small number of tokens. Always ≤ `output_tokens`;
8126 `output_tokens - thinking_tokens` approximates the non-reasoning output.
8127
8128 default: 0, minimum: 0
8129
8130 - `server_tool_use: ServerToolUsage or null`
8131
8132 The number of server tool requests.
8133
8134 - `web_fetch_requests: number`
8135
8136 The number of web fetch tool requests.
8137
8138 default: 0, minimum: 0
8139
8140 - `web_search_requests: number`
8141
8142 The number of web search tool requests.
8143
8144 default: 0, minimum: 0
8145
8146 - `service_tier: "standard" or "priority" or "batch" or null`
8147
8148 If the request used the priority, standard, or batch tier.
8149
8150 - `"standard"`
8151
8152 - `"priority"`
8153
8154 - `"batch"`
8155
8156 - `speed: "standard" or "fast" or null`
8157
8158 The inference speed mode used for this request.
8159
8160 - `"standard"`
8161
8162 - `"fast"`
8163
8164 - `MessageBatchErroredResult object`
8165
8166 - `type: "errored"`
8167
8168 default: errored
8169
8170 - `error: ErrorResponse`
8171
8172 - `type: "error"`
8173
8174 default: error
8175
8176 - `error: ErrorObject`
8177
8178 - `InvalidRequestErrorObject object`
8179
8180 - `type: "invalid_request_error"`
8181
8182 The broad category of the error.
8183
8184 default: invalid_request_error
8185
8186 - `message: string`
8187
8188 A human-readable explanation of the error. Its wording can change, so don't match on it.
8189
8190 default: Invalid request
8191
8192 - `AuthenticationErrorObject object`
8193
8194 - `type: "authentication_error"`
8195
8196 The broad category of the error.
8197
8198 default: authentication_error
8199
8200 - `message: string`
8201
8202 A human-readable explanation of the error. Its wording can change, so don't match
No line in this hunk matches that.