Daily brief · English · Premium

The RAG diet — 6 patterns that lifted cache hit rate 6×

Six patterns for bundling round-trips inside the prompt-cache 5-minute TTL, plus the baseline measurements that took us from a 14% to an 87% hit rate in our own pipeline.

🌐 이 글의 한국어 버전 →

Three-line brief
  1. As of May 2026, Anthropic's prompt cache has a 5-minute TTL. Send the same prefix and the cached portion is billed at 10% of the input rate. Sending 1M context...
  2. The metric that matters in ops is not absolute cost — it's hit rate. Without it, you cannot answer two questions: (1) which call patterns are bleeding the cache...
  3. The rest of this issue walks through each pattern — (1) split prefixes into a separate prompt component, (2) batch multiple questions on the same prefix, (3) sc...
Why it matters

The value is not the topic alone, but whether it changes a practical decision today.

Explain simply

Treat this as a short briefing card: what changed, why it matters, and what to do next.

Today's decision
Watch

Check the signal against the listed sources and the missing-source notes.

Try

Write one workflow with inputs, pass criteria, and a stop condition.

Hold

Do not share unsupported claims as confirmed facts.

🔒 Premium

Membership extends this brief with execution checklists, source comparison, and risk interpretation.

See plans

📰 Read 4분 · English

Why cache hit rate is the new KPI

As of May 2026, Anthropic's prompt cache has a 5-minute TTL. Send the same prefix and the cached portion is billed at 10% of the input rate. Sending 1M context every call is expensive, but reusing the same prefix inside that 5-minute window crashes the average cost.

The metric that matters in ops is not absolute cost — it's hit rate. Without it, you cannot answer two questions: (1) which call patterns are bleeding the cache, and (2) which workflow rewrites give the best ROI. We started at 14%. After we applied the six patterns below, we hit 87%. Per-call average cost dropped 6×.

The rest of this issue walks through each pattern — (1) split prefixes into a separate prompt component, (2) batch multiple questions on the same prefix, (3) schedule follow-up round-trips inside the 5-minute TTL, (4) auto-refresh the cache just before expiry, (5) stabilize the prompt opening, and (6) log cache hit rate on every call. Each pattern comes with before/after numbers and code.

📖 The remaining six patterns and the measurement data are delivered to Daily Attachment members every morning. The PDF attachment includes code snippets and graphs.

  • As of May 2026, Anthropic's prompt cache has a 5-minute TTL. Send the same prefix and the cached portion is billed at 10% of the input rate. Sending 1M context...
  • The metric that matters in ops is not absolute cost — it's hit rate. Without it, you cannot answer two questions: (1) which call patterns are bleeding the cache...
  • The rest of this issue walks through each pattern — (1) split prefixes into a separate prompt component, (2) batch multiple questions on the same prefix, (3) sc...

→ 한국어 버전 →

  • As of May 2026, Anthropic's prompt cache has a 5-minute TTL. Send the same prefix and the cached portion is billed at 10% of the input rate. Sending 1M context...
  • The metric that matters in ops is not absolute cost — it's hit rate. Without it, you cannot answer two questions: (1) which call patterns are bleeding the cache...
  • The rest of this issue walks through each pattern — (1) split prefixes into a separate prompt component, (2) batch multiple questions on the same prefix, (3) sc...

→ 한국어 버전 →

Take-aways

  • As of May 2026, Anthropic's prompt cache has a 5-minute TTL. Send the same prefix and the cached portion is billed at 10% of the input rate. Sending 1M context...
  • The metric that matters in ops is not absolute cost — it's hit rate. Without it, you cannot answer two questions: (1) which call patterns are bleeding the cache...
  • The rest of this issue walks through each pattern — (1) split prefixes into a separate prompt component, (2) batch multiple questions on the same prefix, (3) sc...

한국어 버전 →

🃏 Cards 9 cards

The core card copy is also available in the article body and image alt text.

카드 1: RAG 비용 다이어트 — 캐시 적중률을 6배 끌어올리는 6가지 패턴
1 / 9Cover
카드 2: RAG 비용 다이어트 — 캐시 적중률을 6배 끌어올리는 6가지 패턴
2 / 9Body
카드 3: RAG 비용 다이어트 — 캐시 적중률을 6배 끌어올리는 6가지 패턴
3 / 9Body
카드 4: RAG 비용 다이어트 — 캐시 적중률을 6배 끌어올리는 6가지 패턴
4 / 9Body
카드 5: RAG 비용 다이어트 — 캐시 적중률을 6배 끌어올리는 6가지 패턴
5 / 9Body
카드 6: RAG 비용 다이어트 — 캐시 적중률을 6배 끌어올리는 6가지 패턴
6 / 9Body
카드 7: RAG 비용 다이어트 — 캐시 적중률을 6배 끌어올리는 6가지 패턴
7 / 9Body
카드 8: RAG 비용 다이어트 — 캐시 적중률을 6배 끌어올리는 6가지 패턴
8 / 9Body
카드 9: RAG 비용 다이어트 — 캐시 적중률을 6배 끌어올리는 6가지 패턴
9 / 9CTA

📎 Sources 5 links