# Anthropic speeds up Claude Code with message threads. But your token bill stays the same.

DevFeed: [Anthropic speeds up Claude Code with message threads. But your token bill stays the same.](<https://devfeed.tech/articles/anthropic-speeds-up-claude-code-with-message-threads-but-your-token-bill-stays-the-same-114932.md>)

Original publisher: [Read original article](<https://thenewstack.io/anthropic-claude-message-threads/>)

Author: Paul Sawers

Published: 2026-11-03T13:46:14Z

Content type: news

Language: en

Sources: [The New Stack](<https://devfeed.tech/sources/the-new-stack.md>)

Topics: [Claude](<https://devfeed.tech/topics/claude.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>), [anthropic](<https://devfeed.tech/topics/anthropic.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-infrastructure](<https://devfeed.tech/tags/agent-infrastructure.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-engineering](<https://devfeed.tech/tags/ai-engineering.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [api](<https://devfeed.tech/tags/api.md>), [applications](<https://devfeed.tech/tags/applications.md>), [beta](<https://devfeed.tech/tags/beta.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [claude](<https://devfeed.tech/tags/claude.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [coding](<https://devfeed.tech/tags/coding.md>), [coding-agent](<https://devfeed.tech/tags/coding-agent.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [developer-tools](<https://devfeed.tech/tags/developer-tools.md>), [sessions](<https://devfeed.tech/tags/sessions.md>), [speed](<https://devfeed.tech/tags/speed.md>), [threads](<https://devfeed.tech/tags/threads.md>), [token](<https://devfeed.tech/tags/token.md>)

## AI overview

Message threads reduces repeated uploads to Anthropic's Messages API, cutting median time to first token by about 35% for Claude Code requests with 500,000-1 million tokens. The first request sends the full conversation; later requests send new messages and a reference, while Anthropic reconstructs the history. Claude still processes the full context each turn, so token usage and API charges do not inherently fall. Prompt caching can separately reduce processing costs. Developers can use the beta `thread` parameter and `anthropic-beta: message-threads-2026-08-12` header, or the Python SDK thread helper, which manages continuation and the header. Threads expire after five minutes of inactivity; the helper can resend retained history to start a new thread, while direct API users must handle expiry and may receive a 404. Contents are held encrypted in server memory, may remain there up to an hour after last use, and the feature is ineligible for zero data retention and HIPAA. On-demand compaction is unsupported.

## Source excerpt

Anthropic has announced a new feature that aims to speed up long-running Claude Code sessions by reducing the amount of The post Anthropic speeds up Claude Code with message threads. But your token bill stays the same. appeared first on The New Stack.