Unverified50% confidenceSolutionExact time
For Agent applications with long system prompts or repeated use of the same documents, having the high-frequency repeated portions appear stably at the beginning of requests can improve cache hit rates and leverage lower pricing tiers.
1
Sources
50%
Confidence
Long-term
Relevance
9/11/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedAgent类应用因每轮对话携带几乎相同的系统提示词和追加历史记录,前缀重叠率高,天然适合缓存优化以降低成本77% similarUnverifiedPrompt Caching通过复用相同前缀内容的Key和Value矩阵来降低推理成本,Agent类应用因高频迭代和长上下文交互天然适合缓存优化73% similarUnverifiedThe general principle for achieving cache hits is to keep the prefix of the request context as stable as possible, placing fixed content such as system prompts and tool definitions at the very front, with per-turn user input appended at the end.70% similarUnverifiedTo maximize cache hit rate, stable content (system prompts, file contents) should be placed at the prefix of the prompt, with dynamic content appended at the end70% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/909298API
curl https://kongchang.com/api/v1/knowledge/claims/909298MCP
get_claim(id=909298)