BuildRiot
Sign in

Article · AI

Claude message threads cut repeated uploads; session speed depends on caching and recovery

Anthropic reports approximately 35% lower median first-token latency for Claude Code requests containing 500,000–1 million tokens using message threads. The feature reduces repeated uploads, but evaluating its benefit requires separate measurements of caching, recovery and complete-session cost.

A colorful miniature luggage hall contrasts a trolley piled with conversation archives against one stored archive threaded to a small reply envelope, beside a stopwatch and coins.
Illustration: BuildRiot (AI-generated)

Key takeaway

Smaller uploads alone do not establish faster task completion or lower bills. Developers should compare request bytes, response times and cache usage, including the cost of replaying transcripts after interruptions.

What changes on the next request

Anthropic launched message threads in public beta on November 2, 2026, letting agents continue conversations by sending only new messages. The company reports approximately 35% lower median time to first token for Claude Code requests containing 500,000–1 million tokens. It says threads are enabled by default for most Claude Code users. Sources: Anthropic

A continuation references a previous response and supplies new messages. Anthropic says Claude still receives the full conversation, token usage remains unchanged, and standard token rates and rate limits apply. Developers should therefore evaluate upload volume, model context and billing separately. A smaller request body alone does not establish a smaller bill. Sources: Anthropic

Anthropic's announcement does not give absolute baseline latency, sample size, model breakdown or network conditions. It also omits cache-hit distribution, confidence intervals and 95th-percentile latency. Its median result applies to first-token latency in a particular context-size range. That leaves the improvement in complete agent tasks unestablished. A useful evaluation should include unsuccessful requests and recovery alongside successful continuations. Sources: Anthropic

Upload savings and speed gains differ

The table below models an illustrative session with 1 MB of initial serialized history and 100 requests. Between requests, the reusable transcript grows by 20 KB: 10 KB of assistant output and 10 KB of new client messages. Continuations send only new messages. In this illustration, successful continuations therefore upload only the 10 KB client addition. This calculation uses decimal units and excludes headers, fixed fields, compression and retries. Sources: Anthropic

Table

Calculated application-body upload, in MB

MeasurementFull historyIncremental
First request11
Request 1002.980.01
Session total1991.99
This illustrative 100-request session saves 99% of upload volume when every continuation succeeds, excluding headers, fixed fields, compression and retries.

Under those assumptions, incremental requests produce 99% less application-body upload, calculated from the table's totals of 199 MB and 1.99 MB. This is a calculated bandwidth saving, not a measured Claude latency result. Queueing, server processing and generation remain outside the calculation. Measure response time directly before treating upload savings as a prediction of faster interactions.

David Gewirtz's November 3 ZDNet article, syndicated by Yahoo, described roughly 980 turns from earlier Claude Code logs. He reported approximately three-second response-start waits at contexts of at least 500,000 tokens. Applying Anthropic's percentage to 100–225 calls during four-hour sessions, he projected two to four minutes saved per session. This was a projection from historical logs, not an observed comparison with threads enabled and disabled. Sources: ZDNet via Yahoo

Cache accounting determines the cost comparison

Threads do not activate prompt caching automatically. Anthropic separates uncached input, cache creation and cache reads in usage accounting. The input_tokens field excludes both cache categories, so a small value does not establish a small model context. Record all three categories alongside output tokens and billed cost. Sources: Anthropic

Anthropic's pricing table lists Sonnet 5.5 input at $2 per million tokens and five-minute cache writes at $2.50 per million tokens. One-hour cache writes cost $4 per million tokens, while cache reads cost $0.10 per million tokens. These are input and cache prices; Anthropic says threads retain standard token rates. Equal pricing rules can still produce different session bills if cache behavior, retries or generated output differ. Sources: Anthropic

Claude Code issue #100083 was filed October 6 against version 2.1.291. It reports a fork cache miss involving threads and a mid-conversation system message. At roughly 30,000 prompt tokens, the reporter recorded 10,000 cached reads and 19,000 cache writes. With threads disabled, the reporter recorded 30,000 cached reads and zero writes. Disabling the mid-conversation-system capability also restored the cache hit, according to the report. This specific interaction warrants a fork test; it does not demonstrate that threads generally increase costs. Sources: GitHub

Recovery requires the full transcript

Anthropic documents best-effort retention. Threads expire after five minutes of inactivity, and Anthropic documents deletion within one hour of last use. The deletion deadline is not a one-hour continuation guarantee. Applications must retain the full transcript and create a new thread containing that history when the previous thread is missing. Account for those replay uploads when evaluating a session's bandwidth savings. Sources: Anthropic

A continuation must wait for the message_stop event, and continuation conflicts require replay. The SDK helper replays once for missing, already-continued or in-flight errors. Dropped streams retain partial output and require application action. The helper's history exists only in memory, so a restart test needs a persisted transcript. Measure recovery from failure through the successful response, including retry time. Sources: Anthropic

Threads are append-only, so compaction requires a new thread. Continuation requests omit system and tools, while fixed fields must retain their values. There is no thread list, read or delete API. Anthropic says thread data stays in encrypted memory without durable storage. Its documentation lists threads as ineligible for Zero Data Retention and Health Insurance Portability and Accountability Act eligibility. Check these constraints before adopting threads for sensitive conversations or agents that change configuration. Sources: Anthropic

Compare transport and caching independently

A useful benchmark separates conversation transport from prompt caching with the four proposed configurations below. Hold the model version, endpoint, region, service tier and client version constant. Also hold tools, system prompt and generation settings constant. Match cache policy between the cached configurations, then verify actual reads and writes. Interleave or randomize runs. Control cache warming so one configuration does not accidentally benefit from another's prefix.

Table

Proposed transport and caching comparison

ConfigurationConversation transportPrompt caching
AFull historyOff
BIncrementalOff
CFull historyOn
DIncrementalOn
Comparing transport within each cache setting helps distinguish upload effects from cache behavior.

Use recorded transcripts with identical history and tool results to isolate transport effects. Then repeat live tasks to measure completion time and cost, including short and progressively longer conversations. Include text-heavy tool logs and image-heavy inputs. Measure serialized bytes directly instead of inferring them from tokens. Keep response handling equivalent. The Python SDK offers an accumulating streaming helper and a lower-memory interface that does not assemble a final message object. Sources: Anthropic

The Python SDK changelog lists message-thread support under version 2.2.0, dated October 23, 2026. Creating the thread helper sends no request; its first send starts the interaction. Start network timing at that send. Separately record client preparation and logical-turn latency. Report sample counts, median and 95th-percentile latency, uncertainty intervals, failures and complete-session totals. Sources: Anthropic

  • Count request-body bytes across every attempt, and measure wire bytes separately.
  • Time history assembly and serialization before transmission.
  • Distinguish the first stream event, first generated content delta and response completion.
  • Record replay counts, replay bytes and failure-to-success time.
  • Track input categories, output tokens, billed cost and task correctness.

Test interruptions before adopting threads

Deliberately interrupt normal operation during the recovery comparison. Threads expire after five minutes of inactivity. Test idle periods shorter and longer than five minutes. Exercise connection loss at different stream stages, process restarts and two continuations racing from one response. Add compaction, revised tool definitions and a fork with cache accounting. Include failures in the primary session result so successful continuations do not hide expensive recovery turns. Sources: Anthropic

Also interrupt immediately after a tool performs an external action, then check for duplicate execution. Reconstructing conversation history and guaranteeing that an action runs exactly once are separate engineering requirements. Set acceptance thresholds before running the comparison. Choose threads when measured upload and latency savings justify recovery overhead and task cost for the workload.

Attribution

Sources

  1. 1AnthropicMake long-running agents faster with message threadsSource published (UTC)
  2. 2AnthropicMessage threads
  3. 3AnthropicPrompt caching
  4. 4AnthropicPython SDK helper documentation
  5. 5AnthropicPython SDK changelog
  6. 6ZDNet via YahooIs Claude Code truly faster with message threads? I did the math on my logs
  7. 7GitHubClaude Code issue #100083: Reported fork prompt-cache miss with message threads

Read the original source for full details and context.

Report a problem

Links, dates or what you expected. Do not include passwords or private data.

More on AI

All AI stories
Claude message threads cut repeated uploads; session speed depends on caching and recovery · BuildRiot