Is This the End of RAG? Anthropic's NEW Prompt Caching

15 Aug 2024 · 19 min
18:44

This YouTube video (LARRUZ, Aug 15, 2024) explains Anthropic's new prompt caching for Claude models and compares it to Google's Gemini context caching. It describes how prompt caching can dramatically reduce API cost (up to ~90%) and latency (up to ~85%) for repeated large-context calls, lists practical use cases (conversational agents, code assistants, long documents, tool definitions), outlines limits and pricing trade-offs (cacheable-token minimums, 5-minute cache lifetime, 25% write surcharge, cached-token cost ≈10% of base), and reviews best practices and example performance numbers (e.g., 100k-token chat: ~22s → ~2.4s/cached; book example: 22s→~4s). The video argues prompt caching complements but does not replace RAG, and compares when Anthropic vs Gemini caching is preferable.

Questions this video answers

August 15, 2024

Cloud 3.5 Sonnet and Cloud 3 Haiku; support for Claude 3 Opus coming soon.

5 minutes (refreshes each time cached content is used).

1,024 tokens for Claude 3.5 Sonnet and Claude 3 Opus; 2,048 tokens for Claude 3.0 Haiku.

About 80% reduction in latency (from ~12s to ~2.4–2.5s in the table) and about 90% reduction in cost.

Chapters

More from LARRUZ

8:49
youtube.com

OpenAI’s New AI Is Doing Things We Barely Understand

3d ago
5:38
youtube.com

DeepSeek Solved AI’s Memory Problem

5d ago
33:17
youtube.com

DeepMind's New AI Just Cracked The Code Of Life

1w ago
3:43
youtube.com

The Billion Dollar AI Advantage Is Disappearing

1w ago
5:14
youtube.com

Claude Opus 5.5 AI: An Incredible Leap Forward

3w ago
5:16
youtube.com

Yes, Jev Is Insane, But There's A Catch

3w ago
5:11
youtube.com

DeepSeek’s Insane New Architecture

4w ago
4:16
youtube.com

Claude Is Now Leaving Invisible Fingerprints In Its Text

1mo ago
9:18
youtube.com

I Never Thought I’d See This Happen

1mo ago
5:22
youtube.com

GPT-6 Astra Changes Everything

1mo ago
4:55
youtube.com

Claude Fable AI Is Much Stranger Than The Headlines Suggest

1mo ago
See all content