Cianplan

Level 5: AI / LLM systems · L5.4 LLM gateways, caching & cost control

Semantic caching

Decide when caching by meaning is safe.

11 min · Pro

What you take away

  • Semantic caching reuses a stored answer when a new question is close enough in embedding space, so unlike prompt caching it can be wrong.

And 3 more inside the class, in Pro.

How the class is laid out

  1. The problem
  2. The FAQ sheet on the front desk
  3. The one sentence that separates the two caches
  4. What it is worth, and what it costs
  5. Check your understanding