prompt caching

Technique that stores the repeated opening part of a prompt so later requests to a language model can reuse it.

14 articlesLast mentioned

Prompt caching is a technique in large language model APIs that stores the part of a prompt repeated across requests, such as system instructions, long documents or earlier conversation history, so later requests can reuse it. Because the model does not reprocess that content from scratch, it lowers the cost of input tokens and reduces response latency. Google's Gemini API calls the same feature context caching.

AI companies including Anthropic, OpenAI and Google offer it as an API feature. Cached content expires after a period without use, after which it must be processed again. It is widely used by chatbots and coding agents that carry on long conversations.

This entry is based on AIPOST articles and widely known facts. If something is wrong, please send us a correction request.

Articles covering this entry

  • Claude Code's Code Mode Runs Tools From JavaScript and Trims Token CostsAI in Practice ·

    There is a cost catch: editing earlier messages can invalidate the prompt cache.

    Read article
  • Anthropic's Always-On Agent Guide: Five Primitives and a First Agent to BuildAI in Practice ·

    …" or "Always wants totals first." On the cost side, Anthropic recommends prompt caching for the fixed base context (instructions, tool definitions and the index…

    Read article
  • Prompt Audits and Cache Reuse Cut Claude Costs Up to 72.9%, Anthropic SaysAI in Practice ·

    The second lever is prompt caching, which matters most in multi-turn agent workflows.

    Read article
  • Claude Desktop 2.0 Rebuild: New Features and the Settings to Change FirstAI News ·

    Cache Keeper sends low-cost automated pings to stop the prompt cache from going cold after 60 minutes.

    Read article
  • Intelligence Plane: Why Memory and Ontology, Not the Model, Define AI AgentsAI in Practice ·

    …ans three tiers: truth space (memory engineering in the database), latent space (prompt caching of KV states) and weight space (fine-tuning with LoRA or QLoRA).

    Read article
  • Mods for Claude Code: Custom Panels, Cache Timers and No-Code Add-OnsAI in Practice ·

    Cache Tracker: watching your prompt cache before it expires

    Read article
  • DeepSeek Opens DeepInfer Serving Engine Alongside MIT-Licensed V4.1-FlashAI News ·

    DeepSeek's number can also drop further with prompt caching: a cache hit costs $0.003 per million input tokens versus $0.15 for a miss, more than 50x cheaper fo…

    Read article
  • Local Qwen 3.8 27B Coding Test: Four Harnesses Fix Nearly the Same BugsAI Performance ·

    On the multi-GPU rental, llama-server's RAM prompt cache also consumed up to 8 GB per instance and caused out-of-memory errors, so it was turned off with .

    Read article
  • Claude Code Costs Come From Full-Price Rereads: Four Habits Behind ThemAI in Practice ·

    Claude Code counters this with prompt caching, a short-term memory that stores the part of the conversation that has not changed.

    Read article
  • OpenAI DevDay 2026 pricing: why cheaper tokens still raise AI coding costsAI News ·

    Its prompt cache read price, the charge for re-reading input the model has already processed, is $0.10 per million tokens.

    Read article
  • cmux for Parallel AI Coding Agents: Remote Sessions That Survive a Closed LaptopAI in Practice ·

    …cky sessions matter because moving a conversation between accounts causes prompt cache misses, meaning the provider cannot reuse the stored earlier parts of the…

    Read article
  • Claude Mods and Shared Artifacts Hint at Team Coding With AI AgentsAI News ·

    A forked sub-agent can reuse the parent session’s prompt cache—stored processing of input the model has already read—reducing the cost of an auxiliary check whi…

    Read article
  • AI Security Agent Tests Need Execution Traces, Not Just ScoresAI Security ·

    The DeepSeek V4 Flash run used prompt context caching, which reuses previously processed input; the evaluation recorded a 98% cache hit rate across the open-wei…

    Read article
  • Claude Opus 5.5 Brings Cheaper Coding, but Max Effort Can LagAI News ·

    A prompt cache stores reusable context so an application does not have to process it in full on every request.

    Read article

Found a mistake or missing an entry?

Wiki entries are based on AIPOST articles and widely known facts. If an entry is wrong, send us a correction request and we will check and fix it. Names from new articles are added to the wiki after the article is published.