◉CLAUDE LABJP
●2.1.301 — Adds the vim % motion, LaTeX math rendering in the VS Code panel, and a retry-watchdog limit for usage-limit waits (10/15)●2.1.299 — Conversations over 200K tokens left idle about 54 minutes get compacted; MCP allow rules now match only the server they name●SONNET 4.5 — Retires on the Claude API on 11/30, 45 days left. Migrate to Sonnet 5.5●WINDOWS — Reports say hooks break silently only on Japanese-locale Windows; check the character encoding first●FAST MODE — Opus 5.5 fast mode is out of research preview and no longer needs the beta header (10/15)●NEW — I Put a Ten-Line Promise File at the To…●2.1.301 — Adds the vim % motion, LaTeX math rendering in the VS Code panel, and a retry-watchdog limit for usage-limit waits (10/15)●2.1.299 — Conversations over 200K tokens left idle about 54 minutes get compacted; MCP allow rules now match only the server they name●SONNET 4.5 — Retires on the Claude API on 11/30, 45 days left. Migrate to Sonnet 5.5●WINDOWS — Reports say hooks break silently only on Japanese-locale Windows; check the character encoding first●FAST MODE — Opus 5.5 fast mode is out of research preview and no longer needs the beta header (10/15)●NEW — I Put a Ten-Line Promise File at the To…
TAG

prompt caching

10 articles
← Back to all tags
Related:
Claude API7cost optimization3pricing2fallback1Claude Code1model selection1subagents1cost1Sonnet 51Tool Use1Architecture1Cost Optimization1
⬡ API & SDK/2026-09-28Intermediate

The Night Claude Returned 529, My Fallback Failed Too — Strip cache_control at the Provider Boundary

My Claude API fallback threw a TypeError because content blocks still carried cache_control when they reached another vendor. Here is the stripping function, the pre-send guard, and the weekly forced-fallback routine that finally made the fallback a real safety net.

⟐ Claude Code/2026-09-25Beginner

The Week Opus 5.5 Became the Default, I Counted the Places I'd Left as Aliases

Claude Code 2.1.280 made Opus 5.5 the default Opus and moved Pro's default from Sonnet to Opus. Before touching a single setting, I checked three things: what the alias resolves to, whether a saved /effort carries over, and what $0.20 cache reads do to a monthly estimate. Scripts included.

⬡ API & SDK/2026-08-23Beginner

The September Price Increase for Sonnet 5 Isn't Happening. Rebuilding a Forecast I Got Wrong in July

Sonnet 5's introductory $2/$10 pricing was supposed to rise to $3/$15 on September 1. It won't. Here's how to recompute your own effective cost from the usage numbers you already have, with working code.

⬡ API & SDK/2026-08-01Advanced

Swapping Tools Mid-Conversation Without Losing Your Prompt Cache

Tools can now be added and removed between turns, but the tool block sits at the very front of the cache prefix. I measured 12 mutation patterns with fingerprints and built a stable-core plus volatile-tail registry with a guard that refuses unsafe changes.

⬡ API & SDK/2026-05-12Advanced

Combining Haiku 4.5, Streaming, and Prompt Caching to Cut Costs in a Personal App — An Implementation Record

A hands-on record of combining Claude Haiku 4.5, streaming, and prompt caching to improve both cost and response speed in a personal iOS/Android app — including the mistakes made along the way.

⬡ API & SDK/2026-06-22Advanced

When Your Claude API Cost Math Doesn't Match the Bill: Accounting for the Four Token Buckets

Turn on prompt caching and your homegrown cost tally drifts from the console bill. Here is how to weight the four token buckets the usage object returns and build a ledger you can reconcile.

⬡ API & SDK/2026-04-24Advanced

Claude API Micro-SaaS Pricing Blueprint — Blending Usage, Subscription, and Freemium for Durable Margins

A practical blueprint for pricing a Claude API powered micro-SaaS: how to reverse-engineer healthy margins from token economics, blend usage-based, subscription, and Freemium models, and launch prices you can adjust without breaking trust.

⬡ API & SDK/2026-04-07Advanced

Vertex AI × Claude Enterprise Integration Guide: Prompt Caching, Multimodal, and Agent Design

A practical guide to enterprise-grade Claude integrations on Google Cloud Vertex AI. Covers prompt caching, BigQuery logging, multimodal processing, agent design, RAG, and production-ready patterns.

⬡ API & SDK/2026-04-02Intermediate

Anthropic API Cost Optimization Guide: Cut Your Monthly Bill by 50–70%

A complete guide to reducing your Anthropic API costs by 50–70%. Covering model selection, Prompt Caching, batch processing, and token reduction — with production-ready code you can apply to your app today.

⬡ API & SDK/2026-03-30Beginner

Claude API Pricing Guide 2026 — Current Model Rates, Batch API, Prompt Caching, and How to Estimate a Monthly Bill

Claude API pricing as of October 2026, checked against the official price table: Opus 5.5, Sonnet 5.5 and Haiku 5.5 rates, Batch API and Prompt Caching discounts, the tokenizer change that shifts real bills, and worked monthly estimates.