Skip to content

AI Compass / News

Claude API: message threads make long sessions start answering sooner

Automation

Instead of resending the whole history every turn, an application sends only the new messages. That cuts waiting time, not tokens, and it comes with limits.

Source: Message threads (Claude, Anthropic),

Note: I use Claude and Claude Code for my own work. Anthropic does not pay me, and the links are not affiliate links.

Technical drawing: in the upper lane, every round sends the whole, growing history to the API. In the lower lane, only the first round sends it in full, tagged thread, and later rounds send just one new block plus the id of the last reply. Either way the API holds the full history, with 5 min and BETA tags beside it.Technical drawing: in the upper lane, every round sends the whole, growing history to the API. In the lower lane, only the first round sends it in full, tagged thread, and later rounds send just one new block plus the id of the last reply. Either way the API holds the full history, with 5 min and BETA tags beside it.

What happened: Since 2 November 2026, Anthropic’s Messages API has offered “message threads” in public beta. Until now, an application resends the whole conversation to the API on every turn. With a thread, it sends the conversation once, together with the system prompt and tools. After that, it sends only the new messages and the id of the previous response, and the API rebuilds the conversation on the server. You switch this on with the new thread parameter and a beta header, an extra request header that enables the feature while it is in testing.

What this means: In long sessions, the answer starts sooner. According to Anthropic, requests with 500,000 to 1 million tokens (chunks of text) see the median time to first token drop by about 35%. That is Anthropic’s own measurement, and the feature is already on by default for most Claude Code users. It does not make anything cheaper: the model still reads the full conversation, and prices and rate limits stay the same. There are also some limits:

What you can do:

  1. Use it for long sessions: It pays off for agents that run many turns with a large history. In short chats you will hardly notice a difference.
  2. Build the fallback first: Keep every message yourself and expect a thread to expire at any time. Anthropic’s SDK thread helper then resends the conversation for you.
  3. Keep setting your own cache points: A thread does not replace prompt caching. If you want to save cost, you still place cache breakpoints yourself.
  4. Check your data rules: If you need zero data retention, leave the feature off for now.

Context: The feature is in beta, and details may change. The message threads documentation has the full picture.

My workshops show you how to bring AI into your team. See the workshops