Code editor on a monitor showing React source code
Photo by Juanjo Jaramillo on Unsplash · source · credits

Claude Message Threads: How the New Messages API Beta Works and When to Use It

Claude message threads is a new public beta in Anthropic's Messages API that lets an app send the whole conversation once and then only the new messages on each later turn. Anthropic says this cuts the time before Claude starts answering in long agent sessions: with threads on by default for most Claude Code users, requests of 500k to 1M tokens see median time to first token (TTFT) fall by about 35%. Trade press dated the launch 2 November 2026; Anthropic's own announcement page carries no visible date.

What changes for developers

Until now the Messages API was stateless, so every turn resent the entire history, system prompt and tool results. Anthropic's docs describe the new flow in two steps: - Create. The first request sends the full conversation, system and tools, plus "thread": {"type": "create"}. The API stores the conversation under the response id. - Continue. Later requests send only the new messages plus "thread": {"type": "continue", "previous_message_id": "<id>"}. system and tools are left out because the thread keeps them. - Replay. A thread is best-effort. It expires 5 minutes after its last request and is deleted within an hour. If it is gone, a continue request returns a 404 and the client sends the full conversation again.

Every request needs the beta header message-threads-2026-08-12. The official SDKs have a thread helper that adds the header, creates and continues threads, and replays automatically on specific errors.

What it does not change

Where it helps most

Anthropic names three cases: long-running coding agents where each tool result adds to the history, computer-use agents whose screenshots stay in the thread instead of being re-uploaded, and document- or image-heavy workflows. The announcement's only measured number (about 35% lower median TTFT) covers Claude Code requests at 500k to 1M tokens. The sources we read give no figure for smaller conversations, so measure your own.

Key limits at a glance

Area Rule
Expiry 5 minutes after last request; deleted at most 1 hour after last use
Append-only Each response id can be continued once; no edits or branches
Create-only fields system and tools go on the create request only; sending them on a continue request returns a 400 error
Fixed fields model, thinking, tool_choice, top-level cache_control and the beta headers must match the create request, or the API returns thread_fingerprint_mismatch; start a new thread to change them
Cache breakpoints At most 4 per request
Not supported Message Batches, token counting, compaction on demand, most context editing; no API to list, read or delete a thread
Data Not eligible for zero data retention or HIPAA; unavailable to organizations with HIPAA readiness or inference hooks
Availability Claude API, Claude Platform on AWS, Claude Models on Google Cloud (Anthropic managed) and Microsoft Foundry; beta on every model

What this means for builders

Sources

FAQ

What are Claude message threads?

A public beta feature in the Messages API. You send the full conversation once with a thread parameter, then send only new messages and the previous response id on later turns.

Do message threads make Claude cheaper?

Not by themselves. Anthropic says Claude still reads the full conversation each turn, so token usage stays the same and standard pricing applies. Prompt caching is the separate feature that reduces repeated-context cost.

How long does a message thread last?

It expires 5 minutes after its last request, and the API deletes it no more than 1 hour after its last use. After expiry you send the full conversation again to start a new thread.

What beta header do I need?

message-threads-2026-08-12 on every request of the thread. The SDK thread helper adds it for you.

Can I use message threads with the Batch API or zero data retention?

No. Anthropic's docs list Message Batches and token counting as unsupported, and threads are not eligible for zero data retention or HIPAA.

About the author

Suraj Kumar builds and edits AIUseFlow, a directory of AI tools for vibe coders, agent builders and creators. News summaries are written in our own words and link to the original reporting. How we rank tools.

Get the weekly stack

Rank movers and new AI tools for builders, once a week. Free, no spam, unsubscribe anytime.