Unverified50% confidenceFactExact time
Prompt caching takes effect in units of "prefix" and only works for content that is completely identical from the start; once a token in the middle changes, the content after it cannot hit the existing cache.
1
Sources
50%
Confidence
Long-term
Relevance
10/18/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedWhether prompt caching hits depends on byte-for-byte consistency of the request prefix; if even one character at the beginning differs, the entire cache is invalidated.72% similarUnverifiedPrompt Caching缓存的是输入而非输出,缓存LLM的输出几乎没有意义72% similarPartially VerifiedIn Anthropic's API billing system, prompt caching allows a stable prefix to be marked as cached content, and subsequent identical prefixes directly reuse the KV without recomputing attention, with these tokens recorded as "cache reads".71% similarUnverifiedPrompt caching technology stores KV matrices in high-speed memory, and when the next request contains the same prefix content, it reads directly from the cache, skipping recomputation.71% similarUnverifiedWhen multimodal content intersects with the prefix caching mechanism, cache entries may be partially overwritten by the prefix, leading to data reference confusion or state inconsistency.69% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1058480API
curl https://kongchang.com/api/v1/knowledge/claims/1058480MCP
get_claim(id=1058480)