Message threads enter beta on the Messages API, keeping long conversations on the server
Messages API requests can use message threads, in beta with the message-threads-2026-08-12 header: the API keeps the conversation on the server, so each later request sends only the new messages, for smaller requests and lower time to first token.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact Worth knowingOptional: message threads can cut request size and latency for long-running agents. Threads are not eligible for zero data retention or HIPAA, so check compliance terms before teams adopt them.
Engineer
What to change, what breaks, what to test Worth knowingTo try it, send the message-threads-2026-08-12 beta header with thread: {type: "create"}, then continue with previous_message_id and only new messages. Threads expire 5 minutes after the last request and a lost one returns 404, so keep the full conversation as a fallback.
General consumer
Using the Claude apps, not the API No impactNothing to do: this is a developer feature of the Messages API and does not change the Claude apps.
The Messages API can now hold a conversation on the server for long conversations and agent loops. With the message-threads-2026-08-12 beta header, a first request creates a thread with "thread": {"type": "create"}; later requests send only the messages since the previous response, with "thread": {"type": "continue", "previous_message_id": "<id>"}, and leave system and tools out, since the thread keeps the values from the create request. Requests get smaller and time to first token stays lower as the conversation grows.
A thread is best-effort. It expires 5 minutes after its last request and is deleted no more than 1 hour after its last use. Once the API can no longer continue a thread, a continue request returns a 404, and the client has to send the full conversation again in a new create request, so code that adopts threads still needs to keep the whole conversation locally.
Message threads are not eligible for zero data retention or HIPAA, and a Message Batches item that includes thread fails with an invalid_request_error. They are available on the Claude API, Claude Platform on AWS, Claude Models on Google Cloud (Anthropic managed) and Claude in Microsoft Foundry.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
thread | added | no | |
anthropic-beta: message-threads-2026-08-12 | added | no |