Building a SaaS tool or MCP server? Get listed or sponsor AgentStackList →
Claude Coding By James Whitfield

Stop resending the whole chat: Claude's new message threads let agents send only the new turn and start replying about a third faster

Message threads are now in public beta on the Claude Messages API. Your first request sends the full conversation, system prompt and tools with a thread parameter set to create. After that, each request carries only the new messages plus the ID of Claude's previous response, and the API rebuilds the rest on the server. Anthropic says this cuts the wait before Claude starts answering by roughly a third on very long sessions. Threads are held encrypted in memory, expire five minutes after the last request, and fall back to a full replay if they've gone (the SDK helper does that for you).

Why it matters

Long-running coding and support agents can resend hundreds of thousands of tokens on every turn. Threads shrink each request and cut latency without changing how you're billed.

Who it's for

Developers building long-running agents on the Claude API, Claude Platform on AWS, Microsoft Foundry or Google Cloud.

How to try it

  1. Add the header anthropic-beta: message-threads-2026-08-12 to every request in the conversation.
  2. Send your first request as usual with "thread": {"type": "create"}.
  3. On later turns send only the new messages with "thread": {"type": "continue", "previous_message_id": "<last response id>"}, leaving out system and tools.
  4. Keep your own copy of the chat and replay it in a new create request if a continue call returns 404.

Plan & availability: Public beta on all models, using the anthropic-beta header message-threads-2026-08-12. Standard token prices and rate limits apply, since Claude still reads the full conversation each turn. Not available with zero data retention, HIPAA setups, Message Batches or token counting. Checked on Anthropic's docs November 3, 2026.

Source: Anthropic (@ClaudeDevs) on claude.com

Written by James Whitfield from the original post. Checked Nov 3, 2026. Features, plans and availability can change, so confirm on the source before you rely on it.

claude-apiagentslatencymessages-apibeta

More Claude tricks

All Claude tricks →