consens.io
Product Watches Topics Questions Benchmark Ask your own question

Tracked question

Is Claude or OpenAI prompt caching cheaper in practice?

Historical consensus 2026-09-01 Active
Runs Weekly on Tuesday at 09:00 (Europe/Berlin) Last 2026-09-01 09:17 Europe/Berlin Next 2026-09-08 09:00 Europe/Berlin

Movement at this check

Stable since last check

The answer has held through 2 checks.

Direction shift
0/100
Agreement
-11 pts vs previous check, within the range of the recent checks

Agreement over time

64/100
2026-08-11: 64/100 · No material movement 2026-08-18: 90/100 · Refined the pricing comparison to clarify that both providers offer similar cache read discounts (~90%) and that total cost differences often stem from underlying base model prices, while maintaining the same core conclusions regarding which provider to choose for different workload patterns. 2026-08-25: 75/100 · Restated, not moved: The consensus shifted from stating OpenAI is usually cheaper in default practice to clarifying that neither is universally cheaper. It adds explicit mathematical breakdowns, details on OpenAI's tiered cache read discounts (0.1x to 0.5x) vs. Claude's write premiums/5-minute window, and broader workload nuances. 2026-09-01: 64/100 · No material movement View full chart
You are viewing a historical version. Return to current consensus
64 /100
agreement
  • 3 AI models
  • 1 contradiction
  • 33 sources
Consensus gpt-5.6-luna
Models consulted
  • OpenAI GPT-5.6 Luna
  • Google Gemini Gemini 3.7 Flash
  • DeepSeek DeepSeek V4 Flash

Consensus at this check

Short answer

Neither is always cheaper. The practical winner depends mainly on:

  • cache-hit rate and TTL,
  • the model’s normal input/output prices,
  • how stable and long your prompt prefix is,
  • tokenization,
  • and whether caching is automatic or explicitly configured.

Rule of thumb

  • Claude is often cheaper for heavily reused prompts—multi-turn agents, tool-heavy workflows, and high-frequency RAG—because cached reads are typically priced at about 10% of normal input.
  • OpenAI is often safer for sporadic or unpredictable traffic, especially on models with no cache-write surcharge, because a cache miss does not impose an additional creation cost.
  • On newer OpenAI models that also use roughly 1.25× cache writes and 0.1× reads, the caching economics are effectively tied; model quality, token counts, and output costs then decide the result.

The cost mechanics

Using normal input cost as 1.0:

Scenario Initial write Subsequent read
Claude, 5-minute cache 1.25× 0.1×
Claude, 1-hour cache 2× 0.1×
Older/common OpenAI pricing 1× or no surcharge about 0.5×
Newer OpenAI pricing, where applicable 1.25× about 0.1×

Claude’s 5-minute cache becomes cheaper than sending the prefix normally after the first reuse. Its 1-hour cache generally needs about two reuses to pay back the higher write price.anthropic

For example, over ten requests using the same prefix:

  • Claude 5-minute caching: 1.25 + 9 × 0.1 = 2.15 normal-input units.
  • OpenAI at 50% cached-input pricing: 1 + 9 × 0.5 = 5.5 units.
  • Either provider at 1.25× writes and 0.1× reads: about 2.15 units.

Thus, Claude has a large advantage over OpenAI’s older 50%-discount arrangement when the prefix is reused many times. That advantage largely disappears when comparing it with newer OpenAI models using the same 90%-style read discount.

When Claude tends to win

Claude is usually attractive when:

  • the same system prompt, tools, documents, or conversation history is reused many times;
  • requests arrive within the cache lifetime;
  • you can deliberately place cache breakpoints;
  • the workload is a long-running agent or multi-turn session;
  • the cached prefix is large enough for the savings to matter.

Its explicit caching controls can be useful for tool definitions and structured RAG prompts, whereas OpenAI’s automatic caching generally depends on a matching contiguous prefix.anthropic

When OpenAI tends to win

OpenAI may be cheaper when:

  • requests are infrequent and the cache often expires;
  • the relevant OpenAI model has no cache-write surcharge;
  • you want caching without adding cache-control logic;
  • the OpenAI model has lower base input or output pricing;
  • the model completes the task in fewer turns or produces fewer tokens.

A cache that is rewritten on nearly every request can be more expensive than no caching at all if the write multiplier is 1.25× or 2×. This is why a high nominal discount does not guarantee lower bills.

Do not compare cached-input prices alone

Your real cost is approximately:

cache writes
+ cache reads
+ uncached input
+ output tokens
+ reasoning tokens
+ tool/search charges

Tokenization can also change the result: if one provider represents the same text with substantially more tokens, an apparently equal per-million-token price is not actually equal for your workload. Output pricing may dominate as well, particularly for agentic applications.

Bottom line

  • High reuse and tight request bursts: Claude often wins, especially against OpenAI models offering only a 50% cached-input discount.
  • Low reuse, sporadic traffic, or minimal implementation effort: OpenAI is often the safer choice.
  • Claude versus newer OpenAI models with 1.25× writes and 0.1× reads: caching itself is roughly a tie; choose based on total tokens, output costs, model performance, and cache lifetime.

For a production decision, run both providers on representative requests and measure actual cached-token hits, total input tokens, output/reasoning tokens, and completed-task cost. Pricing and TTLs are model-specific and change frequently.openai

Differences

1 notable difference (1 contradiction) across 3 models.

contradiction · critical

OpenAI provides a 50% discount on cached reads without write fees versus matching Claude's 90% read discount and 1.25x write fee.

OpenAI provides a 50% discount and charges no write surcharge.

Gemini

Older OpenAI models offer 50% off with no write fee, whereas newer models offer 90% off and some charge a 1.25x write fee.

DeepSeek

OpenAI's current models match Claude with a 0.1x read price and 1.25x write surcharge.

OpenAI

How to verify: Check current OpenAI API documentation regarding whether caching reads are 50% or 90% discounted and whether cache writes incur a 1.25x surcharge.

Best answerDeepSeek

Follow this question

This page is re-checked weekly. Get one e-mail when the AI consensus shifts — no account needed.

Double opt-in · unsubscribe anytime · your address is only used for these updates.

Sources

  1. 1 Pricing - Claude Platform Docs docs.anthropic.com
  2. 2 Compare models | OpenAI API developers.openai.com
  3. 3 Model guidance | OpenAI API developers.openai.com
  4. 4 Create a model response | OpenAI API Reference developers.openai.com
  5. 5 GPT-5.6 Luna Model | OpenAI API developers.openai.com
  6. 6 medium.com
  7. 7 openai.com
  8. 8 youtube.com
  9. 9 Anthropic API Billing Explained: How Claude API Charges Work in 2026 crazyrouter.com
  10. 10 Claude与GPT-5.5提示缓存省钱实战:2026成本差异分析及三大常见陷阱 - cczzcode cloud.tencent.cn
  11. 11 GPT-4o 定价解析 — 仍然值得使用的传统旗舰模型 crazyrouter.com
  12. 12 GPT-4o pricing & cost calculator — OpenAI | Future AGI futureagi.com
  13. 13 GPT-4o (2024-08-06) pricing — OpenAI | Future AGI futureagi.com
  14. 14 GPT-4o Pricing Explained — The Legacy Flagship That's Still Worth Using crazyrouter.com
  15. 15 hermes-agent/agent/usage_pricing.py at 28f7c4e68a362f6d22f5ad0fa3e136375f158154 · NousResearch/hermes-agent · GitHub - ( github.com
  16. 16 hermes-agent/agent/usage_pricing.py at 524b062289e9d64b2112b8c9caaf0c7f59cb463d · NousResearch/hermes-agent · GitHub - ( github.com
  17. 17 GPT-4oの料金体系を解説 — 未だに使えるレガシーフラッグシップモデル crazyrouter.com
  18. 18 devUtilstools/ai-token-counter.html at main · Anees-Rao/devUtilstools · GitHub - <tr><td>GPT-4o-mini</td><td>$0.15</td><td>$0.60</td><td>128 K</td></tr> github.com
  19. 19 How Does Prompt Caching Work and When Does It Actually Cut LLM Costs? | DigitalOcean - print(anthropic_turn("Now list any compliance risks digitalocean.com
  20. 20 OpenAI LLM models - Relevance AI Documentation relevanceai.mintlify.dev
  21. 21 mindstudio.ai
  22. 22 respan.ai
  23. 23 openai.com
  24. 24 packet.ai
  25. 25 claude.com
  26. 26 Claude Prompt Caching Pricing: 5-Min vs 1-Hour Cache (2026) respan.ai
  27. 27 Claude Opus 5 Pricing: The Full Cost Breakdown (2026) - Claude Opus 5 Pricing: The Full Cost Breakdown (2026) apidog.com
  28. 28 Prompt Caching: Claude vs GPT vs Gemini Cost Playbook 2026 - AI Workflow edenai.co
  29. 29 Claude Opus 5 Preise: Die vollständige Kostenaufschlüsselung 2026 - Claude Opus 5 Preise: Die vollständige Kostenaufschlüsselung 2026 apidog.com
  30. 30 Claude Code API Cost (2026): Per-Token Math + How to Cut It | Morph - Run the math on a 3,000-token system prompt across a 200-call session on Sonnet 4.6. Without caching: 200 x 3,000 x $3/M = $1.80... morphllm.com
  31. 31 Claude Opus 5 Preços: Detalhamento Completo de Custos (2026) - Claude Opus 5 Preços: Detalhamento Completo de Custos (2026) apidog.com
  32. 32 Prompt Caching: Anthropic vs OpenAI в 2026 — математика стоимости и 3 фикса промахов ofox.ai
  33. 33 Claude Sonnet 4.6 Pricing Explained — Caching, Tiers, and How to Save 45% with Crazyrouter crazyrouter.com

Position Map

Where the models stand

Each row is one part of the answer. The cards show the distinct positions; the model chips show who supports each one.

0/100 Direction Shift · Stable
Models disagree

OpenAI provides a 50% discount on cached reads without write fees versus matching Claude's 90% read discount and 1.25x write fee.

Position 1

OpenAI provides a 50% discount and charges no write surcharge.

  • Gemini
Position 2

Older OpenAI models offer 50% off with no write fee, whereas newer models offer 90% off and some charge a 1.25x write fee.

  • DeepSeek
Position 3

OpenAI's current models match Claude with a 0.1x read price and 1.25x write surcharge.

  • OpenAI
See how each model moved across checks
Model position movement by watch date
ModelAug 11Aug 18Aug 25Sep 01
OpenAI
Grok — —
Gemini —
DeepSeek — — —
Same positionChanged position

Cite this answer

consens.io. (2026-09-01). Consensus answer to "Is Claude or OpenAI prompt caching cheaper in practice?". Models consulted: OpenAI: gpt-5.6-luna, Google Gemini: gemini-3.7-flash, DeepSeek: deepseek-v4-flash. Consensus model: gpt-5.6-luna. Sources: https://docs.anthropic.com/en/docs/about-claude/pricing?4810b549_page=3&73cdfb14_page=2&939688b5_page=1&e768fcd2_page=2, https://developers.openai.com/api/docs/models/compare?utm_source=openai, https://developers.openai.com/api/docs/guides/latest-model?utm_source=openai, https://developers.openai.com/api/reference/cli/resources/responses/methods/create?utm_source=openai, https://developers.openai.com/api/docs/models/gpt-5.6-luna?utm_source=openai, https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQF6cGrVwqX43_U3hbP9mA5a7N4P0lRHRTTk14jcnCwSvj2k8hBEY6Vv8jsxamMqvCkvkgitiEewbC5-FVuCmtEFwhlKbVM669UFuGHejvF8qxM8AX3-KFRtNFksn3NRzsdoHrZ1nB5TyHJ01pd8KJdXmQ5f9RsAdlI4-FiGMliWHiB9h8sN2RHrgM1ENfSI_6vpFRRADJQ=, https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQHMrVqpTnvDfr29VArsE_lIn8nuTRRnbzTvQALlckjjbzC1x3gdbjP85mlKNj_J-jAQtLo5XAF5TvcTqT1x01CyocTN_B1Pkf9wlQ08RKrzAUK0bnHnm0Fzgp74MogBxu4IWHRYFNZrt2eiVV5W6s--9gdICWmmeV4Gm-MGwXdoE5p0DuXz_0krpKA_8aU=, https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQF4yckoP3hI8nPaCZSBIL1QmzPt5Ufrhnul1x71Gt_bb8MjtiImAiLnTu27YyMAL12_koboEI7-ag_b3lpNohqcO1dJvRUBCIyf8F03hmGN0z2IKHU5D2pOPIsR9Sfl3IrH, https://crazyrouter.com/en/blog/anthropic-api-billing-claude-cost-guide-2026, https://cloud.tencent.cn/developer/article/2688466?policyId=1004#1, https://crazyrouter.com/en/blog/gpt-4o-pricing-zh, https://futureagi.com/llm-cost-calculator/openai/gpt-4o/#calc=rag-answer%3A3000%3A400%3A5000%3A0%3A0, https://futureagi.com/llm-cost-calculator/openai/gpt-4o-2024-08-06/#calc=rag-answer%3A3000%3A400%3A5000%3A0%3A0, https://crazyrouter.com/en/blog/gpt-4o-pricing, https://github.com/NousResearch/hermes-agent/blob/28f7c4e6/agent/usage_pricing.py#L30-L59#2, https://github.com/nousresearch/hermes-agent/blob/524b0622/agent/usage_pricing.py#L148-L250#2, https://crazyrouter.com/en/blog/gpt-4o-pricing-ja, https://github.com/Anees-Rao/devUtilstools/blob/main/ai-token-counter.html#3, https://www.digitalocean.com/community/tutorials/prompt-caching-cost-break-even#2, https://relevanceai.mintlify.dev/docs/integrations/llm-integrations/openai#understanding-pricing-%26-implicit-caching, https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQFYMrMXDnjQWKqgYtRDN3NLkHP2UNxto4uO12MRbg0P-F9XYF92lV_zHXaY87qqyUCGfSBouCCP0h10ctLyFJsnf4_iNANxH28yjq2NbYbNZLFlLpiNlhQphPtgkxPcekhkRkSn3MH-iBR8HQl3FUfORcD98O8hgGqZwDLLGrBajTNI62Kqn2We, https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQGL8W5aDmcJC8PD-pONYzaGGHlCpjJJDGoqSKemk-NMHEI1XpFWxp5_BVsnWEU_8EYsYLXCGBJYbkDsCBZNwtt6YOW9eEh2gpNFpoCJNIYhoZ4YLn9fAWWHLwpnKVYNM_SheUAGfVFpN_OX, https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQEzmQa8QK_k088y6v5jAH4VVwYCN_SG9DTUg8PqZfr9roG-Tu7sHE_zHfOtmemr8ulQtXt-QMgFQE4qKvpt-UNgguxqzxQQHis2FPN0XSDzei-Y541nA00ylQq7IZtIhxZsZQ==, https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQEoD-7dHr6azJDMa0iMVl3q3Rzu9yX0jbf4jZi7pmCyyvhxyZ-ihZqLhDKVfxvK46sfB1tgD1adquwFjH0031-EeEwwyrCSk4SfhnLjyT7Su9h_628F-O3GWFI7Yb8_UCtTx6di-TmwTQ==, https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQG71R8TXcn1SIlTKq6CB1vKxjvImEFh8EfH_rIdWr53TFeqzQdbKuSb9qWPuWpU4LNNf8fQEyDfIQD3TxXEdHwX10jCtLfFQXbPH2xFzhgF1UhgrWAc5KXzWZKceH1nwY6U3YlTxKCDLJol6TZQ1a0t5i3u1EzZ3qAsJA==, https://www.respan.ai/articles/claude-prompt-caching, https://apidog.com/blog/claude-opus-5-pricing/#1, https://www.edenai.co/post/prompt-caching-claude-vs-gpt-vs-gemini-cost-playbook#1, https://apidog.com/de/blog/claude-opus-5-pricing/?utm_source=dev.to&utm_medium=wanda&utm_content=n8n-post-automation#1, https://www.morphllm.com/claude-code-api-cost#1#2, https://apidog.com/pt/blog/claude-opus-5-pricing/?ref=apidog.com#1, https://ofox.ai/ru/blog/prompt-caching-anthropic-vs-openai-stoimost-2026/#%d0%b1%d1%8e%d0%b4%d0%b6%d0%b5%d1%82-%d0%b8-%d0%bc%d0%be%d0%bd%d0%b8%d1%82%d0%be%d1%80%d0%b8%d0%bd%d0%b3-%d0%ba%d1%8d%d1%88--%d1%8d%d1%82%d0%be-%d0%be%d1%82%d0%b4%d0%b5%d0%bb%d1%8c%d0%bd%d0%b0%d1%8f-%d1%81%d1%82%d1%80%d0%be%d0%ba%d0%b0, https://crazyrouter.com/en/blog/claude-sonnet-4-6-pricing Retrieved from https://www.consens.io/s/is-claude-or-openai-prompt-caching-cheaper-in-practice-KaTChmKxXX90G0vc?version=ca77197ab52df79af46fc507

Ask your own question

Consensus Watch

Run history

64/100 latest agreement
View the full agreement chart

Agreement over time

How strongly the models support the same claims. Every point links to its run below.

100 50 0 2026-08-11: 64/100 · No material movement 2026-08-18: 90/100 · Refined the pricing comparison to clarify that both providers offer similar cache read discounts (~90%) and that total cost differences often stem from underlying base model prices, while maintaining the same core conclusions regarding which provider to choose for different workload patterns. 2026-08-25: 75/100 · Restated, not moved: The consensus shifted from stating OpenAI is usually cheaper in default practice to clarifying that neither is universally cheaper. It adds explicit mathematical breakdowns, details on OpenAI's tiered cache read discounts (0.1x to 0.5x) vs. Claude's write premiums/5-minute window, and broader workload nuances. 2026-09-01: 64/100 · No material movement 2026-08-11 2026-09-01

Checks

Newest first. Open any saved result to read the full consensus from that date.

  1. 2026-09-01 Stable
    64/100 agreement

    No meaningful movement detected in this check.

    Open this consensus
  2. 2026-08-25 Stable
    75/100 agreement

    Restated, not moved: The consensus shifted from stating OpenAI is usually cheaper in default practice to clarifying that neither is universally cheaper. It adds explicit mathematical breakdowns, details on OpenAI's tiered cache read discounts (0.1x to 0.5x) vs. Claude's write premiums/5-minute window, and broader workload nuances.

    Open this consensus
  3. 2026-08-18 Meaningful change
    90/100 agreement

    Refined the pricing comparison to clarify that both providers offer similar cache read discounts (~90%) and that total cost differences often stem from underlying base model prices, while maintaining the same core conclusions regarding which provider to choose for different workload patterns.

    Open this consensus
  4. 2026-08-11 Stable
    64/100 agreement

    No meaningful movement detected in this check.

    Open this consensus

Related questions

  • Is Claude Code or OpenAI Codex more token-efficient? 5 models compared
  • Is Kimchi Coding cheaper than Claude Code and Cursor for AI coding? 5 models compared
  • Is Claude Code or Codex better at debugging? 5 models compared
  • Is Codex or Claude Code more reliable for automated tests? 5 models compared

About this tracked question

3 AI models answered this question independently on 2026-09-01. A judge from a different model family then cross-checked the answers, scored how far they agree and flagged where they differ. The question is re-checked weekly, and every earlier version stays on this page.

AI models can make mistakes – verify important information against the sources above.

How consensus works →

Thanks – this page has been reported for review.

© 2026 consens.io
App Topics Questions Model pulse Benchmark Model guide How consensus works About Terms Privacy Imprint