Shorter Prompts Cost More: The Prompt Caching Trap in Coding Agents
Comments on “Shorter Prompts Cost More: The Prompt Caching Trap in Coding Agents”
Claim-checked. Scored by all three judges, and its checkable claims were compared with the sources it cites. How far stories are checked
TheGitAI argues that deleting an old block, such as a 20,000-token build log, from the middle of a warm coding-agent session raises the next turn's input cost 5.7x to 8.0x, because provider caches match from token zero. Its break-even formula, applied to published November 2026 rates, puts recovery at 37 to 97 turns. Those figures are the author's own calculation and assume identical future turns. A November 2026 study found pruning raised agent cost 38% to 116% under cheap caching.
Why it ranked
No. 12 of 57 with a score of 0.64. The panel rated it highest on new information (0.86) and practical relevance (0.84), lowest on significance (0.53). Placed No. 12, No. 8 by score alone: the fifth AI & machine learning story of the day (−0.040). The placement terms move stories; they are not part of the score.
- AI judgeJudge 2claude-haiku-5-5
- Practical, technically detailed analysis of prompt caching economics for coding agents with worked math and benchmarks; pricing figures and cited studies are hard to verify, so substantiation is moderate.
- AI judgeJudge 3gpt-5.6-luna
- Highly actionable analysis for coding-agent builders, with formulas, pricing examples, and operational guidance. Its evidence is presented through blinded links and possibly speculative future pricing/models, so substantiation and headline certainty are moderated.
Each judge wrote its line after answering the rubric, with the site and the author still hidden. Every answer behind this is in the table under Score.
Score
0.64total under rubric v2.3
- Significance0.53
- Reader interest0.72
- Audience breadth0.62
- Practical relevance0.84
- Substantiated0.58
- Technical depth0.83
- New information0.86
- Counts against: Promotional0.06
- Counts against: Overclaim0.38
Each judge’s answer per question (0–1), their mean and spread, and what the question adds to the score (weight × mean).
| Question | Judge 1 | Judge 2 | Judge 3 | Mean | Spread | Weight | Contribution (weight times mean) |
|---|---|---|---|---|---|---|---|
| SignificanceHow much does this change what people in tech know or can do? | 0.62 | 0.35 | 0.63 | 0.53 | 0.28 | +0.24 | +0.128 |
| Reader interestWould a well-informed senior engineer or tech founder want to read this today, and likely pass it on? | 0.76 | 0.60 | 0.80 | 0.72 | 0.20 | +0.26 | +0.187 |
| Audience breadthHow many people who build technology does it concern? | 0.65 | 0.50 | 0.70 | 0.62 | 0.20 | +0.13 | +0.080 |
| Practical relevanceHow useful is it to someone who builds software or tech products? | 0.91 | 0.75 | 0.88 | 0.84 | 0.15 | +0.22 | +0.186 |
| SubstantiatedHow well is it backed? Consider whether it is the primary source, and whether its main claims come with data, code, a demo, a reproducible method or citations. | 0.61 | 0.55 | 0.58 | 0.58 | 0.06 | +0.05 | +0.029 |
| Technical depthHow technically substantive is it? | 0.99 | 0.75 | 0.75 | 0.83 | 0.24 | +0.05 | +0.041 |
| New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)? | 0.85 | 0.80 | 0.93 | 0.86 | 0.13 | +0.05 | +0.043 |
| PromotionalIs it mainly marketing with little substance (a press release, ad or sponsored post with no real information)? A launch post that carries real news is not promotional. | 0.11 | 0.05 | 0.02 | 0.06 | 0.09 | −0.19 | −0.011 |
| OverclaimDo the headline or conclusions claim more than the body supports? | 0.36 | 0.35 | 0.42 | 0.38 | 0.07 | −0.11 | −0.041 |
| Sum of contributions | +0.642 | ||||||
| Claim-check penalty | 0.000 | ||||||
| Total, as published | 0.642 | ||||||
Spread is the highest minus the lowest judge answer. marks a spread above 0.40: the judges disagree, and the story is marked contested.
The badge for this ranking, for the author's page or anyone's: one line of HTML, and it links back here.
<a href="https://rubric.hrih.si/editions/2026-11-30/12/"><img src="https://rubric.hrih.si/badge/2026-11-30/12.svg" alt="Ranked #12 on Rubric, 30 Nov 2026" width="245" height="28"></a>Claim check
Claim check: 5 matches source · 1 no source given · 2 couldn’t check. Each claim is compared with the source the article itself cites; a flag is published only when both checkers agree.
Matches sourceNumber
Manus reported an average input-to-output token ratio of about 100:1 for its production agent.
The cited source says the same thing.
The article says “Manus reported an average ~100:1 input-to-output token ratio”
The source says “In Manus, for example, the average input-to-output token ratio is around 100:1”
Source cited by the article: manus.im/blog/Context-Engineering-for-AI-Agents-Lessons-from-Building-Manus
Matches sourceQuote
Manus called KV-cache hit rate the single most important metric for a production agent.
The cited source says the same thing.
The article says “called KV-cache hit rate the single most important metric for a production agent”
The source says “I'd argue that the KV-cache hit rate is the single most important metric for a production-stage AI agent”
Source cited by the article: manus.im/blog/Context-Engineering-for-AI-Agents-Lessons-from-Building-Manus
Couldn’t checkBenchmark result
An October 2026 study of coding-agent runs measured 98% to 99% prefix-cache reuse when histories stay append-only.
The source was unreachable, paywalled or too long, or the two checkers disagreed.
The article says “measured 98% to 99% prefix-cache reuse when histories stay append-only”
The source says No passage could be compared.
Source cited by the article: figshare.com/articles/preprint/Break_Later_or_Never_Prefix-Preserving_Context_Compaction_for_Coding_Agents/34791231
Matches sourceBenchmark result
A November 2026 study of 20,000+ coding-agent runs found dropping old tool outputs saved 19% to 36% without a cache discount but increased cost by 38% to 116% with a tenth-price cache.
The cited source says the same thing.
The article says “dropping old tool outputs saved 19% to 36% without a cache discount - yet increased cost by 38% to 116% with a tenth-price cache”
The source says “removing old observations can either save money or increase cost: the same approach saves 19–36% without a cache discount but increases cost by 38–116% with a tenth-price cache”
Source cited by the article: arxiv.org/abs/2611.22238
Matches sourceBenchmark result
A January 2026 evaluation across 500+ multi-turn runs found intact prefixes cut API cost by 41% to 80% and time to first token by 13% to 31%.
The cited source says the same thing.
The article says “found intact prefixes cut API cost by 41% to 80% and time to first token by 13% to 31%”
The source says “Our results demonstrate that prompt caching reduces API costs by 41-80% and improves time to first token by 13-31% across providers”
Source cited by the article: arxiv.org/abs/2601.06007
Couldn’t checkBenchmark result
The October 2026 prefix-preserving compaction study found periodic batched masking preserved 95% to 98% prefix reuse, cutting serving cost up to 18% and completion time up to 21%.
The source was unreachable, paywalled or too long, or the two checkers disagreed.
The article says “found periodic batched masking preserved 95% to 98% prefix reuse, cutting serving cost up to 18% and completion time up to 21%”
The source says No passage could be compared.
Source cited by the article: figshare.com/articles/preprint/Break_Later_or_Never_Prefix-Preserving_Context_Compaction_for_Coding_Agents/34791231
Matches sourceGeneralization
Prompt caches at OpenAI, Anthropic and Google match strictly from token zero, so cutting the middle makes every later token lose its cache hit.
The cited source says the same thing.
The article says “match strictly from token zero: cut the middle, and every surviving token after the cut loses its cache hit”
The source says “Cache reuse requires the entire rendered prefix to match. If content or a relevant setting changes before a breakpoint, the prefix after that change cannot match the existing cache entry”
Source cited by the article: developers.openai.com/api/docs/guides/prompt-caching
No source givenNumber
Deleting an old block from the middle of a warm session multiplies the next turn's input cost by 5.7x to 8.0x and takes 37 to 97 more warm turns to break even.
The article gives no link or citation for it.
The article says “multiplies the next turn's input cost by 5.7x to 8.0x - and takes 37 to 97 more warm turns to earn back”
The source says No source to compare with.
Also covered by
No other coverage was clustered with this story.
Elsewhere
Elsewhere: HN 2 pts, not on front page
Recorded for context only, checked 30 Nov 2026, 05:47 UTC. It played no part in the ranking.