Glossary / Billing
Prompt caching
Prompt caching stores the processed form of a long, repeated prompt prefix so later requests skip that work. Providers expose it explicitly, sometimes requiring a marker or a minimum length.
Definition
Prompt caching stores the processed form of a long, repeated prompt prefix so later requests skip that work. Providers expose it explicitly, sometimes requiring a marker or a minimum length.
What it changes in your bill
For a 5,000-token system prompt sent 20,000 times a month, caching at 50% can remove tens of millions of billed input tokens. It is usually the cheapest optimisation available and requires no model change.
How to check it yourself
Run the same prompt twice and compare billed input tokens: the second call should be materially lower for the cached portion.
Related terms
Try it on Tapix AI
Tapix AI exposes 100+ models behind one OpenAI-compatible endpoint. Prepaid from $1, no monthly minimum, live prices per model.
Get a key and run one real call See live prices