Unverified50% confidenceSolutionExact time
可通过API返回的cache_hit_tokens等字段核实缓存是否真正命中
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
7/20/2026
First Seen
Valid until: 10/18/2026
Sources
Related Claims
UnverifiedIn the Prompt Cache mechanism, when the prefix content of an API request is identical to a previous one, the system reuses the already-computed KV cache to complete cache reads at a lower price, while cache write is the billing item for the first time content is written into the cache.66% similarUnverifiedAnthropic需要在消息中添加cache_control字段来标记缓存断点,告诉API哪些内容应被缓存65% similarUnverifiedtoken消耗的精确计量依赖于对Cursor官方API响应体中usage字段(包含prompt_tokens、completion_tokens)的实时解析65% similarUnverified直接调用API的开发者每次API调用均返回精确的token消耗数据,并可通过Dashboard实时监控用量63% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/573272API
curl https://kongchang.com/api/v1/knowledge/claims/573272MCP
get_claim(id=573272)