# What is Prompt Caching?

A technique that stores computed key-value tensors from a prompt's prefix so they can be reused on subsequent API calls, reducing cost and latency.

Source: https://usewire.io/glossary/prompt-caching/
Last updated: 2026-04-02

---

AI agents reprocess the same system instructions, tool definitions, and context on every API call. Prompt caching eliminates this redundancy by reusing previously computed representations when the prefix matches exactly. Major providers offer up to 90% discounts on cached input tokens, making it one of the most impactful optimizations for production agent workloads.

## Related terms

- [context-engineering](https://usewire.io/glossary/context-engineering/)
- [context-window](https://usewire.io/glossary/context-window/)
- [ai-agent](https://usewire.io/glossary/ai-agent/)
- [context-compression](https://usewire.io/glossary/context-compression/)
