Loading…
Topic
Prefix Caching
1 post about Prefix Caching. Every summary links to the original.
- 1 post
- 1 company
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
Making open models work for long-horizon agentic workloads
Coding agents resend the entire conversation history on every turn, creating a pattern of large input and small output. Prefix caching avoids recomputing earlier tokens, but it is fragile: any change near the top of the prompt invalidates the cache for everything after it. The harness must avoid re-rendering dynamic system prompts or inserting tool definitions at the top, and must instead add new content at the end. The inference engine must route each turn to the same GPU that holds the cached KV pairs from the previous turn. Together AI and Ollama document the specific responsibilities of each side to keep long agent sessions fast and cost-effective.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.