Switching models frequently invalidates prompt cache, causing double billing

daniel_mac8 · x · 2026-08-25

@Teknium advises against constantly switching models within a single session. Doing so invalidates the prompt cache on the new model, forcing you to repay the full input token price for the entire context. This is a fundamental aspect of inference, not specific to any one model. Avoid this unless the models are free.

Related event: Teknium: Switching Models Mid-Session Kills Prompt Caches and Doubles Costs(4 posts)→

Original post →

More from Infra

Infra channel →