跳到主要内容Skip to main content

缓存策略Caching Strategy

Caching Strategy

  • 选型与成本Selection & cost
  • 第六段 · 选得对Stage 6 · Choosing Right
  • 引用核验 2026-11-09refs checked 2026-11-09
解决什么问题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.

出处Sources
  • Claude 提示词缓存Anthropic prompt caching docs ↗
用这个术语做任务Use this term in a task

别停在定义:去任务手册看按什么顺序做、验收什么;或者按你手头的任务,筛 3 个工具候选。Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

任务手册 →Task handbooks → · 按任务筛 3 个候选 →Filter three candidates →