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)
Claude Code/2026-07-02Advanced

Which Model Ran Last Night's Unattended Session? Building Model Attribution and Default-Drift Detection After the Sonnet 5 Switch

Claude Code's default model switched to Sonnet 5, and unpinned headless runs changed models silently. Here is a working design for extracting the actual model from run output, appending an atomic run record, and deciding per task lineage whether to pin or follow the default.

API & SDK/2026-07-02Intermediate

Introductory Pricing Has an End Date — Effective-Dated Cost Forecasts for the Sonnet 5 Price Step

Claude Sonnet 5's introductory $2/$10 pricing ends on 2026-08-31 and reverts to $3/$15. A static price map will quietly understate your September forecast by a third. Here is an effective-dated price table and forecast design that absorbs the step.

API & SDK/2026-07-02Advanced

When 41 of 20,000 Message Batches Requests Quietly Vanished — Field Notes on Reconciling and Requeuing Partial Failures

processing_status: ended does not mean every request succeeded. How errored and expired results hide inside a finished batch, and how a custom_id ledger catches every gap and requeues safely — with real cost and timing numbers.

API & SDK/2026-07-02Advanced

Your Cache Hit Rate Resets to Zero the Morning You Switch Models — Prompt Cache Rewarm Design for the Opus 4.8 to Sonnet 5 Cutover

Prompt caches are scoped per model, so day one of a model migration starts at a 0% hit rate. Why percentage-based rollouts break cache economics twice over, and how cohort cutover by task family preserves them — with working measurement code.

Cowork/2026-07-02Advanced

How Many Tasks Fire in the Same Minute — Flattening Cowork Scheduled-Task Collisions from Cron

When Cowork scheduled tasks bunch up at the same time and fight over shared resources, you can expand every cron expression into fire times, count collisions and true concurrency, and shave the peak with a greedy offset that never moves your premium slots. With working code and measured before/after numbers.

Cowork/2026-07-01Advanced

Let the Downstream Task Verify the Upstream Actually Ran Today: A Completion Ledger and Dependency Barrier for Unattended Schedulers

Unattended schedulers have no notion of dependencies, so when a morning data-refresh task fails silently, the noon generation task keeps running on yesterday's leftovers. This is a design for recording upstream completion atomically and having downstream assert its preconditions before running, with working TypeScript and lessons from my own operations.

Claude Code/2026-07-01Advanced

Don't Accept an Agent's Numbers and Citations As-Is — A Verification Gate Built on a Dedicated Auditor Subagent

A design that verifies every number and citation in an agent-generated summary using a separate subagent before accepting it — with working TypeScript for deterministic recomputation and fail-closed source matching.

API & SDK/2026-07-01Advanced

When the Model Survives but One Parameter Expires: A Dated Deprecation Calendar for Claude API Requests

Your model ID can stay valid while a parameter you pinned quietly reaches its sunset date and takes the batch down with it. Here is a design that breaks a request into parts, gives each part its own expiry date, and catches the problem before the call goes out — with working TypeScript and real operational numbers.

Claude Code/2026-07-01Intermediate

My Claude Code Hooks Stopped Firing After an Update — the Hyphenated Matcher Exact-Match Change in v2.1.195

In Claude Code v2.1.195, hook matchers containing a hyphen switched from partial match to exact match, silently disabling an existing PreToolUse hook. Here is how I isolated the cause and how to write matchers that won't break.

API & SDK/2026-07-01Advanced

When Claude API Document Extraction Is Confidently Wrong — Field Notes on Catching Silent Errors with Invariants

In structured extraction from invoices and contracts, the real danger isn't a crash — it's a value that's silently wrong while the schema validates and confidence reads high. Field notes on invariants, two-pass extraction, and tracking field-level error rates.

API & SDK/2026-07-01Intermediate

A Fail-Closed Model Pricing Registry So New Models Don't Quietly Break Your Cost Math

When Opus 4.8 and Haiku 4.5 landed in the Messages API, rates scattered across my code silently skewed the cost rollup. Here is how to centralize per-model rates and fail closed on unknown models, with complete working code.

API & SDK/2026-06-30Advanced

The Same 429 Wears a Different Face on Each Route: Running Claude Safely over Anthropic Direct and Azure Foundry

With Claude now generally available on Microsoft Foundry, a two-route setup is realistic even for solo developers. Here is how to fold the route-by-route differences in 429s and retry-after into one normalized error type and a single backoff policy.