Skip to content

cache_read=0/128 - Claude Code

Quick fix

No verified fix exists for cache-read drops under concurrent requests. Keep concurrency at 1 for now and follow the original issue.

Error output
并发数大于 1:更容易出现 cache_read=0/128;
English translation

Concurrency greater than 1: cache_read=0/128 is more likely to occur;

This is an unresolved report involving Claude Code on CC Switch 3.20.1 and Windows. The report says the cache is generally stable with concurrency set to 1; after enabling subagent, side_query, or other concurrent requests, cache_read_tokens may occasionally drop to 0 or 128 and may recover in the next round.

The original post speculated that requests in the same session were not serialized, that the main session and subagent/side_query used cache keys differently, that a dynamic attribution header or Responses conversion changed the prefix, or that concurrent requests reached the upstream before cache writing finished. None of these were verified, and no verifiable fix was provided.

  1. The original post observed no obvious cache loss when concurrency was 1. Until a verified fix is available, keep concurrency at 1 as a temporary workaround and follow replies on the source issue.

ToolClaude Code
Version3.20.1
PlatformsWindows

This page is distilled from 1 real issues

(No FAQ yet)

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.