CLAUDE LABJP
DEFAULT — Claude Sonnet 5 is now the default model for Free and Pro users worldwide. It's the most agentic Sonnet yet and performs close to Opus 4.8 on many tasksPRICE — Sonnet 5 launch pricing ($2 in / $10 out per million tokens) runs through August 31, then returns to $3 / $15. Worth measuring your real token costs nowFASTEND — Fast mode for Claude Opus 4.7 is removed on July 24 — three days left. If you set speed: 'fast', move those calls to fast mode on Opus 4.8MEMORY — Claude's memory now works as a set of individual, categorized entries that Claude reads and updates mid-conversation, so it's easier to see what's storedHIPAA — Enterprise and API organizations can now configure HIPAA support themselves: BAA review, guide download, and one-step enablementADMIN — The Admin API can list members, change roles, remove people, and manage groups — helpful for organizations with frequent membership changesDEFAULT — Claude Sonnet 5 is now the default model for Free and Pro users worldwide. It's the most agentic Sonnet yet and performs close to Opus 4.8 on many tasksPRICE — Sonnet 5 launch pricing ($2 in / $10 out per million tokens) runs through August 31, then returns to $3 / $15. Worth measuring your real token costs nowFASTEND — Fast mode for Claude Opus 4.7 is removed on July 24 — three days left. If you set speed: 'fast', move those calls to fast mode on Opus 4.8MEMORY — Claude's memory now works as a set of individual, categorized entries that Claude reads and updates mid-conversation, so it's easier to see what's storedHIPAA — Enterprise and API organizations can now configure HIPAA support themselves: BAA review, guide download, and one-step enablementADMIN — The Admin API can list members, change roles, remove people, and manage groups — helpful for organizations with frequent membership changes
ARTICLES

All Articles

All (786) Claude AI (133) Claude Code (320) Cowork (54) API & SDK (279)
API & SDK/2026-06-25Advanced

When the Previous Run Hasn't Finished and the Next One Starts: Leases and Fencing Tokens for Scheduled Agents

A scheduled agent that runs on a fixed clock can overtake itself and start twice. From the moment a naive lock breaks to leases, fencing tokens, and bounded catch-up — worked through with the implementation I actually run.

API & SDK/2026-06-25Advanced

When Your Support AI Is Confidently Wrong in Production — Notes on Refusing Outside Its Grounding and Routing to Humans

A field-tested approach to the Claude API support agent that demos perfectly yet states non-existent facts in production. Covers deciding 'don't answer' at retrieval time, grounded generation, measuring confident-wrong rate, and tuning escalation precision.

API & SDK/2026-06-24Advanced

I Edited One Line of a Tool Description and the Whole Prompt Cache Rebuilt — Where to Place cache_control Breakpoints

Hit rate suddenly flatlined at zero because a volatile block sat upstream of stable ones. This walks through how prefix-cache cascade invalidation works, how to reorder blocks from stable to volatile, and where to spend your four cache_control breakpoints — with code and decision tables.

API & SDK/2026-06-24Advanced

What I Decided the Day the Ceiling Doubled: A Headroom Budget for Scheduled Jobs on One Shared API Key

Why I did not compress my intervals when the rate limit doubled, and how to design a headroom budget for running several scheduled jobs on one shared API key, with measurement and working code.

API & SDK/2026-06-24Advanced

When Stripe's Bill and Your Own Ledger Drift Apart: Field Notes on Metered Billing for Claude API

Usage-based billing for Claude API looks clean until month-end, when Stripe's total and your own usage ledger quietly disagree. Here are the field-tested patterns for idempotent meter events, reconciliation jobs, and pricing-change-proof credits.

API & SDK/2026-06-24Advanced

My Morning Batch Was Missing the Prompt Cache Every Time — Warming Cadence and the Break-Even Math for the 1-Hour TTL

Jobs that run a few hours apart cold-miss the prompt cache even with a 1-hour TTL. Here is how to back out the right warming interval from the TTL, and how to write the break-even formula that decides whether warming pays off — with numbers from a four-site daily generation pipeline.

API & SDK/2026-06-23Advanced

When Thinking Is Always On, Prefill Quietly Stops Working — Fixing Streaming and Token Budgets for Fable 5

Fable 5 thinks by default. Prefill no longer applies, the first streamed block isn't text, and max_tokens has to leave room for reasoning. Here is how I fixed those three broken assumptions in my own automated publishing pipeline.

API & SDK/2026-06-23Advanced

When the Same Model Has a Different Name Everywhere — Designing a Cross-Provider Model Identity Resolver for Claude

Now that Fable 5 is available on the API, Bedrock, and Vertex at once, the same model carries a different identifier on each. Here is how to untangle hardcoded model strings with a small resolver that maps logical names to physical IDs, carries capability flags, and verifies identifiers at startup.

API & SDK/2026-06-23Advanced

An Unattended Agent That Wakes Up to a Blank Machine Every Time

A scheduled, unattended agent wakes up on a fresh disposable machine every run: paths it cannot write to, a filesystem that has not finished booting, a working directory that has vanished. Here is how to design state recovery into the first thirty seconds, drawn from real operational logs.

API & SDK/2026-06-23Advanced

When Claude API Prompt Caching Quietly Stops Hitting in Production — Field Notes on TTL and Measured Savings

Prompt caching works beautifully the day you ship it, then quietly stops hitting in production. The five things that break the prefix, how to choose between 5-minute and 1-hour TTL, and how to measure real savings from usage instead of guessing.

API & SDK/2026-06-22Advanced

Your Claude Files API Storage Is Quietly Filling Up — Dedup With a Content-Hash Ledger and Reap the Orphans

Use the Files API in an automated pipeline and the same file gets uploaded again and again while orphaned files pile up unnoticed. Here is a content-hash dedup ledger plus an orphan GC design, with working code.

API & SDK/2026-06-22Advanced

Drop Your Static Claude API Keys: Moving CI and Production to Keyless Auth with Workload Identity Federation

Workload Identity Federation is now generally available on the Claude Platform. This guide walks through replacing long-lived sk-ant- keys with short-lived OIDC tokens, including keyless GitHub Actions auth, the migration steps, and token refresh design.