blog: when does prompt caching actually save money - #980
Open
Makatzrina wants to merge 1 commit into
Open
Conversation
A general explainer on prompt caching, aimed at the question most guides skip: caching is sold as a 90% discount, but on several providers writing the cache costs more than a normal input token, so whether it saves money depends on how many times the prefix is reused. Works the break-even for all three pricing shapes (no write premium, 1.25x five-minute, 2x one-hour), then a worked example at published Claude Opus 5 rates where input cost falls 82% while the bill falls 67% — because output is never cached and is priced five times higher. Every figure is sourced from OpenAI's and Anthropic's own pricing and caching documentation, checked 1 September 2026. The post makes no claims about AntSeed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Makatzrina
force-pushed
the
claude/antseed-blog-automation-11aca9
branch
from
September 1, 2026 21:26
916d0ba to
857b877
Compare
Collaborator
Author
Build verifiedRan a full production Confirmed in the output:
One warning, pre-existing and unrelated to this PR: a broken anchor on Note for whoever picks this up: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
One blog post: When Does Prompt Caching Actually Save Money? — 1,245 words, six question-shaped H2s, FAQPage schema for answer engines.
Plus its cover SVG and the one-line slug registration that stops the blog card falling back to the generic placeholder.
The angle
Every guide on prompt caching quotes "up to 90% savings" and almost none do the arithmetic on the write premium, which is what actually decides whether caching saves anything.
The post works the break-even for all three pricing shapes:
Then a worked example at published Claude Opus 5 rates where input cost falls 82% but the bill only falls 67%, because output is never cached and is priced five times higher. That gap is the honest correction to the headline number.
It also names the trap: a one-shot workload that never re-reads its prefix doubles its input cost on a 2x write premium, and the long cache window looks like the safer option while carrying the higher premium.
Sourcing
The post makes no claims about AntSeed. Every figure comes from OpenAI's and Anthropic's own pricing and caching documentation, fetched and checked 1 September 2026, so nothing here needs internal verification.
Target keyword:
when does prompt caching save money. The head termprompt cachingis held by established domains and isn't reachable from current authority; the question form is, and it's the shape answer engines quote.Verification
onBrokenLinks: 'throw'Not run: a full
docusaurus build. Dependency install did not complete in the working environment, andci.ymlbuilds tiers 0–3 but never touchesapps/website, so the website build is not exercised on PRs either. The only code change is one string added to aSet<string>. Worth a localpnpm --filter @antseed/website buildbefore merge.Changelog
No user-facing package, CLI, desktop, protocol, or configuration change. Website content only, so
CHANGELOG.mdis not updated.🤖 Generated with Claude Code