By Team Edtoolkits · AI learning
Compare a changed question with changed instructions, and see why cache savings depend on an unchanged prompt prefix.
Use the guide alongside the working tool.
Open Prompt Caching: Reuse the Start →Explore the lesson
Watch the first request save the start of a prompt.
Mark which parts you change and see what can still be reused.
Change the number of requests and read the saving.
A comparison to try
Keep rules, document and chat unchanged, then change only the final question. The lesson reuses 4,000 of 4,050 tokens. Next mark the first rules block as edited and compare reuse.
Read the result
The first changed block ends the reusable prefix, including otherwise identical blocks after it. Compare several requests with one cold request: saving the initial work carries an extra cost in this model.
A mistake to avoid
The 10% read cost and 25% write surcharge are invented teaching prices. Provider minimum lengths, expiry and billing rules differ; these results are neither a live cache check nor a quoted saving.
Teaching model and privacy
The token counts and the prices (a reused token costs 10% and a first-time save costs 25% extra) are round teaching numbers, not any provider's real prices. Real systems also expire cached prefixes after some time and have minimum sizes. Nothing leaves your browser.
Ready to apply this workflow?
Try Prompt Caching: Reuse the Start →Explore a related workflow
- Choose a course entry point and verify saved progress
Use prior knowledge to select a starting chapter while distinguishing local progress from an account or a qualification.
- AI Tokens: Inspect Pieces, Spaces and Stable Teaching IDs
Compare common words, rare words and numbers without using the playground as an exact provider counter.
- Inspect candidates before continuing text
Compare normalized next-word probabilities with the choices sampled from them.
- Choose complexity using held-out error
Compare training and test curves before calling a detailed fit an improvement.
Found unclear instructions or an unexpected result? Contact Team Edtoolkits.