← All tools
EDTOOLKITS GUIDES

Prompt Caching: Which Prefix Can Be Reused?

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

All practical guides →

Found unclear instructions or an unexpected result? Contact Team Edtoolkits.

YOUR BROWSER, YOUR CHOICE