Claude's Messages API gets message threads: send only the new turns, and keep your own copy anyway
The message-threads-2026-08-12 beta cuts request size and time to first token, fixes a dozen fields for the life of a thread, and stores nothing you can rely on.
Anthropic added a beta feature to the Claude Messages API on November 2 that changes what a long agent loop sends over the wire. With message threads, the first request carries the full conversation and every later request carries only the new messages plus the id of the previous response. The API rebuilds the rest on its side.
The release note puts the purpose plainly: requests get smaller and time to first token drops, because "The API keeps the conversation on the server, so each later request sends only the new messages." The documentation adds the reason it matters for agents: without a thread, "every turn uploads the whole conversation again, and the API validates and tokenizes all of it again."
How a thread is built
A thread needs the beta header message-threads-2026-08-12 on every request. The first turn adds "thread": {"type": "create"} to an ordinary request. Later turns look like this:
{
"model": "claude-opus-5-5",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "..."}],
"thread": {"type": "continue", "previous_message_id": "<id of the last response>"}
}
system and tools go on the create request only. Sending either on a continue request "even as null, returns a 400 error." A second group of fields is fixed for the life of the thread: model, tool_choice, thinking, mcp_servers, context_management, output_config, container skills, the top-level cache_control, and the set of anthropic-beta values. Change any of them and the API returns a 400 with the code thread_fingerprint_mismatch, naming the fields that differ. To change one, you start a new thread.
A thread is append-only, and each response id can be continued once. Editing or branching an earlier message means a fresh create request.
The part you still own
The thread is a performance feature, not storage. It expires 5 minutes after its last request and is deleted no more than an hour after its last use. When the API can't continue it, a continue request returns a 404 with thread_not_found, and the response does not say why. The documented causes include expiry, a turn served but not stored (a response that ends in a tool call cut off by max_tokens), a turn written by a fallback model, a different API key, or adding the first image to a conversation that had none.
The documentation is direct about what follows from that:
No response, to a create or a continue request, says whether the API stored that turn. You find out on the next continue request.
Claude API documentation, Message threads
So the application keeps its own copy of every message and a replay path that sends the whole conversation again in a new create request. The SDK thread helper does this in memory, replaying once on thread_not_found, thread_already_continued or thread_continue_in_flight, and "saves it nowhere else." After a stop_reason: "refusal", the docs say not to continue the thread at all, because the API may already hold the refused turn.
Caching, limits and data handling
A thread does not cache anything by itself. Prompt caching works as before, with one new limit: a request with thread can carry at most 4 cache_control breakpoints, and breakpoints on the create request's system and tools count again on every continue request. One too many returns thread_unsupported_request.
Threads do not work with Message Batches, token counting, compaction, most context editing, or organizations with HIPAA readiness or inference hooks turned on. There is no API to list, read or delete a thread. Per the docs, "Threads do not change pricing or rate limits."
On retention, threads are not eligible for zero data retention. The API "holds a thread in memory, encrypted under a server-managed key, never writes it to durable storage, and deletes it no more than 1 hour after its last use." Teams under a ZDR arrangement should note that the SDK's beta tool runner "also uses a thread by default," which can be turned off when the runner is created.
Why it matters
For a short chat, nothing changes. For an agent loop that has grown to hundreds of tool calls, the client stops re-uploading the whole history on every step, at no change in price. The cost is a second code path: every client that adopts threads needs the replay path to work, because the API will sometimes say 404 and never explain.
Primary sources: Claude API docs: Message threads, Claude Platform release notes, read 2026-11-04.