缓存策略Caching Strategy
Caching Strategy
解决什么问题What problem it solves
重复的内容不重复计算,直接复用。这是降本的第一手段。Do not recompute repeated content; reuse it directly. The first lever for cutting cost.
这是什么What it is
缓存重复的输入与结果,减少重复调用与计算。
Caching repeated inputs and results to avoid duplicate calls and computation.
为什么需要知道Why it matters
它对成本的影响往往大于选一个更便宜的模型。Its effect on cost is often larger than choosing a cheaper model.
现在能做什么What you can do now
回到名词地图看第6站的其他 29 个词 →Back to the map: the other 29 terms in station 6 →
出处Sources
- Claude 提示词缓存Anthropic prompt caching docs ↗