{"head":{"title":"Prompt Caching Savings Calculator | OceanLab","description":"See what prompt caching saves: the same requests priced with and without a cache on each model, with cache-write costs and the break-even hit rate.","canonical":"https://oceanlab.in/tools/prompt-caching-savings"},"tool":{"slug":"prompt-caching-savings","path":"/tools/prompt-caching-savings","name":"Prompt caching savings","h1":"Prompt caching savings calculator","lede":"See how much prompt caching would save on each model, and the hit rate you need before it pays off.","category":"ai","categoryTitle":"AI cost and planning","method":["Without caching, the repeated prefix (system prompt, tools, documents) is billed at the input price on every request.","With caching, a hit is billed at the cached input price and a miss pays the input price times the provider's cache-write multiplier. Write multipliers are sourced for Anthropic and OpenAI; for other providers no write premium is applied.","Break-even hit rate = the share of requests that must hit the cache before caching costs less than not caching. Cache storage fees are not included."],"sources":[{"label":"Anthropic prompt caching pricing","url":"https://platform.claude.com/docs/en/about-claude/pricing","checkedAt":"2026-10-25"},{"label":"OpenAI prompt caching pricing","url":"https://developers.openai.com/api/docs/pricing","checkedAt":"2026-10-25"},{"label":"Google API pricing","url":"https://ai.google.dev/gemini-api/docs/pricing","checkedAt":"2026-10-23"},{"label":"DeepSeek API pricing","url":"https://api-docs.deepseek.com/quick_start/pricing","checkedAt":"2026-10-23"},{"label":"MiniMax API pricing","url":"https://platform.minimax.io/docs/pricing/overview","checkedAt":"2026-10-23"}],"faq":[{"question":"How is the saving worked out?","answer":"Without caching, the repeated prefix is billed at the input price every time. With caching, hits are billed at the cached price and misses pay the cache-write price."},{"question":"What is the break-even hit rate?","answer":"The share of requests that must hit the cache before caching costs less than not caching. It exists because cache writes cost more than normal input for some providers."},{"question":"Are cache storage fees included?","answer":"No. Some providers charge per hour to keep a cache; check their pricing page if you hold large caches for long."},{"question":"Where do the prices come from?","answer":"Each price is read from the provider's official pricing page and shows the date it was checked. Prices that could not be verified are left out, or start at 0 for you to fill in."}],"updatedAt":"2026-10-25"},"related":[{"href":"/tools/llm-api-cost-calculator","label":"LLM API cost","detail":"Enter your monthly tokens and the input, cached and output mix, and compare what each model would cost."},{"href":"/tools/token-counter","label":"Token counter","detail":"Paste any text to estimate how many tokens it is, and what it would cost to send to each model."},{"href":"/tools/ai-agent-cost","label":"AI agent cost","detail":"Estimate what an AI agent costs per task and per month, including the context it re-sends on every step."}],"studies":[{"meta":{"slug":"kaganek","industry":"ai","projectType":"RAG knowledge assistant","country":"pl","tags":["ai","enterprise"],"compliances":["GDPR","EU AI Act","ISO/IEC 27001","ISO/IEC 42001","Polish labour law"],"cover":{"src":"/case-studies/kaganek/01-home.png","width":1440,"height":1000}},"text":{"en":{"title":"Kaganek - RAG Knowledge Assistant with Citations and Permissions Intact","description":"Designed and built a clickable internal knowledge assistant for a Kraków consulting engineering firm: staff ask in Polish or English and get answers built only from the firm's own SharePoint, Confluence, Google Drive and file share documents, with every claim linked to its source passage and an honest \"I don't know\" when the sources are weak.","category":"AI Agents & Automation / Knowledge Assistant","client":"Modrzew Engineering"}}},{"meta":{"slug":"tekm","industry":"ai","projectType":"Workflow automation builder","country":"lt","tags":["ai","saas","enterprise"],"compliances":["GDPR","EU AI Act","EU Data Act","EU SCCs and EU-US DPF","SOC 2","OAuth 2.0 with PKCE","EU VAT (VIES)"],"cover":{"src":"/case-studies/tekm/01-home.png","width":1440,"height":1000}},"text":{"en":{"title":"Tekmė - No-Code Workflow Automation Builder with AI Steps","description":"Designed and built a clickable no-code automation builder for a Vilnius SaaS startup selling to EU operations teams: a node canvas with branches, error paths and AI steps that classify, extract, summarise or act as an agent, a cost estimate per run, and a run history where every step is recorded with personal data masked.","category":"AI Agents & Automation / Workflow Automation","client":"Vilkupis Labs"}}},{"meta":{"slug":"sonde","industry":"ai","projectType":"AI evaluation dashboard","country":"fr","tags":["ai","enterprise","insurtech"],"compliances":["EU AI Act","GDPR (Article 9 health data)","DORA","HDS health data hosting","ACPR AI governance","OpenTelemetry GenAI conventions"],"cover":{"src":"/case-studies/sonde/01-home.png","width":1440,"height":1000}},"text":{"en":{"title":"Sonde - LLM Evaluation and Observability Platform with Release Gates","description":"Designed and built a clickable LLM evaluation and observability platform for the AI team of a French health mutual: redacted production traces span by span, release gates that block a prompt or model change when quality regresses, alerts with owners and ageing, and the monitoring record its risk and compliance teams can show a supervisor.","category":"AI & Automation / LLM Evaluation","client":"Mutuelle Serpolet"}}}],"more":[{"href":"/case-studies/industry/ai","label":"AI agents & automation case studies","detail":"Every OceanLab product build in AI agents & automation."},{"href":"/case-studies","label":"All case studies","detail":"Every OceanLab product build."},{"href":"/ai-automation","label":"AI automation","detail":"AI built into real business workflows, with people in charge."}],"today":"2026-10-25"}