Prompt Caching

topic on 2 shows · 2 statements across 2 episodes

Latent Space Lenny's Podcast

2 statements about Prompt Caching, every show

Schulhoff: Place task context at prompt beginning for caching and focus
“Usually I will put my additional information at the beginning of the prompt. And that is helpful for two reasons. One, it can get cached. So subsequent calls to the LM with that same context at the top of the prompt are cheaper because the model provider store…”
Sander Schulhoff Jun 19, 2025 ▶ 34:53 AI prompt engineering in 2025: What works and what doesn’t | Sander Schulhoff
Swyx: Place dynamic context at the end of prompts for efficient caching
“Anyone who's doing, who's working with a ton of context has to put them at the end because they're swapping them out. That's just how it is. I don't see any way around it.”
Shawn Wang Jan 17, 2025 ▶ 30:16 OpenAI o1 isn’t a chat model (and that’s the point)

← every entity, every show

Made with StarZero

Turn any episode into a week of clips.

This entire site, thousands of episodes across every show transcribed, diarized, checked and made playable, runs on the StarZero media pipeline. Drop in your own episode and the podcast clipper finds the moments worth sharing, cuts them, captions them, and reframes them for every feed.