---
title: "#prompt-caching articles | Hashnode"
description: "Explore 13 articles tagged #prompt-caching on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/prompt-caching"
---

Tag

# #prompt-caching

13 posts · 0 followers

[Dan Holloran](https://hashnode.com/@grimicorn) · [Nov 1](https://hashnode.com/posts/prompt-caching-your-prompt-s-prefix-is-a-cache-key/6ae71f047432a24fc86b241b)

### [Prompt Caching: Your Prompt's Prefix Is a Cache Key](https://grimicorn.hashnode.dev/prompt-caching-your-prompt-s-prefix-is-a-cache-key?utm_source=hashnode&utm_medium=feed)

Look at the input token count on a typical LLM feature and most of it is the same on every request. The system prompt, the tool definitions, the twelve few-shot examples, the product docs you stuffed

5 min read · [grimicorn.hashnode.dev](https://grimicorn.hashnode.dev/prompt-caching-your-prompt-s-prefix-is-a-cache-key?utm_source=hashnode&utm_medium=feed)

[Nagappan S](https://hashnode.com/@imkarthik03) · [Oct 13](https://hashnode.com/posts/prompt-caching-cutting-ai-costs-without-losing-context/6acdcef4c5a59faff2a89f5f)

### [Prompt Caching: Cutting AI Costs Without Losing Context](https://nagspidey.hashnode.dev/prompt-caching-cutting-ai-costs-without-losing-context?utm_source=hashnode&utm_medium=feed)

Prompt Caching

9 min read · [nagspidey.hashnode.dev](https://nagspidey.hashnode.dev/prompt-caching-cutting-ai-costs-without-losing-context?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/prompt-caching-cutting-ai-costs-without-losing-context/6acdcef4c5a59faff2a89f5f)

[market](https://hashnode.com/@eworldlive) · [Sep 28](https://hashnode.com/posts/on-our-mock-sonnet-ledger-end-of-static-breakpoint-hit-rate-1-0-at-0-044-iso-in-static-and-wrong-bp-both-miss-at-0-14/6abaa7b99152eb4005509e44)

### [On our mock Sonnet ledger, end-of-static breakpoint hit\_rate 1.0 at $0.044 — ISO-in-static and wrong-BP both miss at ~$0.14](https://eworldlive.hashnode.dev/on-our-mock-sonnet-ledger-end-of-static-breakpoint-hit-rate-1-0-at-0-044-iso-in-static-and-wrong-bp-both-miss-at-0-14?utm_source=hashnode&utm_medium=feed)

Author MOCK token ledger (no API key): Claude Sonnet 4.5 pricing as of 2026-09-28, static prefix S=4096, 8 rounds, U=120 / A=80. Hit\_rate = rounds\_with\_cache\_read>0 / rounds\_after\_warmup. Not Wave6 se

1 min read · [eworldlive.hashnode.dev](https://eworldlive.hashnode.dev/on-our-mock-sonnet-ledger-end-of-static-breakpoint-hit-rate-1-0-at-0-044-iso-in-static-and-wrong-bp-both-miss-at-0-14?utm_source=hashnode&utm_medium=feed)

[ADEKUNLE CHRISTIANAH AYOMIDE](https://hashnode.com/@Luna06) · [Sep 19](https://hashnode.com/posts/understanding-the-economics-of-repeated-context-prompt-caching/6aaddfaa91e8c9c37f41fe3a)

### [Understanding the Economics of Repeated Context: Prompt Caching...](https://i-am-christy.hashnode.dev/understanding-the-economics-of-repeated-context-prompt-caching?utm_source=hashnode&utm_medium=feed)

In this article you'll learn: What prompt caching is and what it actually saves How it works, step by step, in plain terms How to tell whether it will save you money, with a simple formula How Ant

15 min read · [i-am-christy.hashnode.dev](https://i-am-christy.hashnode.dev/understanding-the-economics-of-repeated-context-prompt-caching?utm_source=hashnode&utm_medium=feed)

[Manu Shukla](https://hashnode.com/@mr-manushukla) · [Aug 24](https://hashnode.com/posts/cerebras-docs-quote-two-gemma-4-31b-prices-in-2026-099-and-215-per-million-input-tokens/6a8c58fd6c53d50d079b3e66)

### [Cerebras docs quote two Gemma 4 31B prices in 2026: $0.99 and $2.15 per million input tokens](https://ecorpit.hashnode.dev/cerebras-docs-quote-two-gemma-4-31b-prices-in-2026-099-and-215-per-million-input-tokens?utm_source=hashnode&utm_medium=feed)

Cerebras docs quote two Gemma 4 31B prices in 2026: \\(0.99 and \\)2.15 per million input tokens Summary. As of 24 August 2026, the Cerebras Gemma 4 31B model page states two different prices for the sa

14 min read · [ecorpit.hashnode.dev](https://ecorpit.hashnode.dev/cerebras-docs-quote-two-gemma-4-31b-prices-in-2026-099-and-215-per-million-input-tokens?utm_source=hashnode&utm_medium=feed)

[Manu Shukla](https://hashnode.com/@mr-manushukla) · [Aug 21](https://hashnode.com/posts/125x-cache-writes-start-billing-on-21-august-2026-openais-new-dashboard-azures-missing-rate/6a87aef26522cf56d1edd805)

### [1.25x cache writes start billing on 21 August 2026: OpenAI's new dashboard, Azure's missing rate](https://ecorpit.hashnode.dev/125x-cache-writes-start-billing-on-21-august-2026-openais-new-dashboard-azures-missing-rate?utm_source=hashnode&utm_medium=feed)

1.25x cache writes start billing on 21 August 2026: OpenAI's new dashboard, Azure's missing rate Summary. On 20 August 2026 OpenAI released a Prompt Caching dashboard that reports cache hit rate, cach

14 min read · [ecorpit.hashnode.dev](https://ecorpit.hashnode.dev/125x-cache-writes-start-billing-on-21-august-2026-openais-new-dashboard-azures-missing-rate?utm_source=hashnode&utm_medium=feed)

[Manu Shukla](https://hashnode.com/@mr-manushukla) · [Aug 6](https://hashnode.com/posts/claude-mid-conversation-tool-changes-end-a-125x-cache-rewrite-penalty-in-2026/6a744b0c1975c63e787bf3d4)

### [Claude mid-conversation tool changes end a 12.5x cache-rewrite penalty in 2026](https://ecorpit.hashnode.dev/claude-mid-conversation-tool-changes-end-a-125x-cache-rewrite-penalty-in-2026?utm_source=hashnode&utm_medium=feed)

Claude mid-conversation tool changes end a 12.5x cache-rewrite penalty in 2026 Summary. On the Claude API a cache read costs 0.1x the base input price and a 5-minute cache write costs 1.25x, so re-pro

23 min read · [ecorpit.hashnode.dev](https://ecorpit.hashnode.dev/claude-mid-conversation-tool-changes-end-a-125x-cache-rewrite-penalty-in-2026?utm_source=hashnode&utm_medium=feed)

[Learn with HJ](https://hashnode.com/@hardeepjethwani) · [Jul 11](https://hashnode.com/posts/prompt-caching-and-cost-optimization-make-ai-cheaper-without-making-it-worse/6a5262c2c6dd7c3299d223c4)

### [Prompt Caching and Cost Optimization: Make AI Cheaper Without Making It Worse](https://hardeepjethwani.hashnode.dev/prompt-caching-and-cost-optimization-make-ai-cheaper-without-making-it-worse?utm_source=hashnode&utm_medium=feed)

Cover caching, batching, smaller models, RAG tuning, output limits, and routing.

6 min read · [hardeepjethwani.hashnode.dev](https://hardeepjethwani.hashnode.dev/prompt-caching-and-cost-optimization-make-ai-cheaper-without-making-it-worse?utm_source=hashnode&utm_medium=feed)

[recca0120](https://hashnode.com/@recca0120) · [May 9](https://hashnode.com/posts/claude-code-model-cost-efficiency/69fef38ecb5b68a0fa1dbbfd)

### [36 Days of Claude Code Logs: Silent Model Switching, 11.5x Efficiency Gap](https://recca0120.hashnode.dev/claude-code-model-cost-efficiency?utm_source=hashnode&utm_medium=feed)

Continuing the cache TTL audit series, this time breaking down by model. The server silently switched main agent models three times (Opus 4.6 → Sonnet 4.6 → Opus 4.7 → Sonnet 4.6), and Claude Code autonomously assigns sub-agent models. Comparing cost per million main output tokens across 7 periods reveals an 11.5x efficiency gap.

9 min read · [recca0120.hashnode.dev](https://recca0120.hashnode.dev/claude-code-model-cost-efficiency?utm_source=hashnode&utm_medium=feed)

[recca0120](https://hashnode.com/@recca0120) · [Apr 26](https://hashnode.com/posts/claude-code-3-month-billing-postmortem/69ed5b9d560ea390af8f412e)

### [I Audited 3 Months of Claude Code Billing — Most Community Cost-Saving Tips Don''t Work](https://recca0120.hashnode.dev/claude-code-3-month-billing-postmortem?utm_source=hashnode&utm_medium=feed)

$127K equivalent cost, 127K turns, four models, three months. After turning myself into a dataset, "long sessions are the culprit" and "too many skills" were debunked by data. Only two levers actually worked.

8 min read · [recca0120.hashnode.dev](https://recca0120.hashnode.dev/claude-code-3-month-billing-postmortem?utm_source=hashnode&utm_medium=feed)
