◉CLAUDE LABJP
●SONNET 4.5 — Sonnet 4.5 was retired from the Claude API on 11/30. Calls now return an error. Move to Sonnet 5.5●PROJECTS — The Enterprise Analytics API now reports daily usage for the new projects experience (beta)●OPUS 4.5 — claude-opus-4-5 retires on 2027/1/22, 52 days from now. The replacement is claude-opus-5-5●LANGUAGE — Some users say Claude switches to another language mid-session while they write in English●NEW — New: Weekly usage looks like it jumped right after a plan upgrade? Check this first●COWORK — Handing Cowork a folder for the first time? Start with a task that only reads files●SONNET 4.5 — Sonnet 4.5 was retired from the Claude API on 11/30. Calls now return an error. Move to Sonnet 5.5●PROJECTS — The Enterprise Analytics API now reports daily usage for the new projects experience (beta)●OPUS 4.5 — claude-opus-4-5 retires on 2027/1/22, 52 days from now. The replacement is claude-opus-5-5●LANGUAGE — Some users say Claude switches to another language mid-session while they write in English●NEW — New: Weekly usage looks like it jumped right after a plan upgrade? Check this first●COWORK — Handing Cowork a folder for the first time? Start with a task that only reads files
TAG

Claude API

151 articles
← Back to all tags
Related:
TypeScript18production14Production12SaaS11Python11automation9monetization9troubleshooting7Tool Use7cost optimization7Stripe7MCP7
⬡ API & SDK/2026-11-30Intermediate

The unit price drops 20%, yet the bill may rise: estimating the Opus 4.5 to 5.5 switch before January 22

claude-opus-4-5-20251101 retires on January 22, 2027, and the official replacement is claude-opus-5-5. Prices fall by a fifth, but the tokenizer changes and thinking can no longer be turned off. You will be able to count the cost per 1,000 of your own requests and pick a replacement and an effort level.

⬡ API & SDK/2026-11-25Intermediate

After Sonnet 4.5 Retired: Checking the Three Things That Change Without an Error, Even When the Old Model No Longer Answers

claude-sonnet-4-5 retired from the Claude API on November 30, 2026, and calls now return a 404. Switching to claude-sonnet-5-5 raises no 400, yet thinking runs by default, max_tokens covers more than the answer, and stop_reason shifts. Three ways to fill the 'before' column after retirement (old logs, Bedrock, thinking on vs. off), a troubleshooting table, and how to get ahead of the Opus 4.5 deadline.

⬡ API & SDK/2026-11-18Intermediate

Before Your Customers Pay Through Linked Billing: Reading a 402 or 403 to Find Whose Wallet Is Empty

Linked billing, released in beta on November 17, lets you choose who pays on every Claude API request through billing_policy. When a request billed to a customer comes back as a 402 or 403, here is how I work out which wallet is the cause, when to pay for it myself, and a small Python wrapper that keeps that decision in one place.

⬡ API & SDK/2026-11-17Beginner

If You Rely on Claude's Text Watermark, Check temperature in the Request Body, Not Your Code

Since November 16, text from Opus 4.6, Opus 4.5, Sonnet 4.5, and Haiku 4.5 carries Anthropic's text watermark, but non-default temperature, top_p, or top_k may drop it. Here is how I log the request body once and decide.

⬡ API & SDK/2026-11-09Beginner

Does an Undated claude-sonnet-4-5 Escape the November 30 Retirement?

The retirement table lists only the dated Sonnet 4.5 ID. How I read the docs on the undated alias, found the lines that really send requests, chose between Sonnet 4.6 and 5.5, and sorted out the 400s after the swap.

⬡ API & SDK/2026-11-07Intermediate

Your Key Is Valid but You Get a 400 or 401 — Check the Workspace Header and Browser Calls Before Reissuing

When a Claude API key is valid but requests still fail with 400 or 401, two causes are worth ruling out before you create a new key: a missing workspace ID header and a direct call from the browser. A triage table and a small script you can run are included.

⬡ API & SDK/2026-11-05Intermediate

Three Changes I Made Before Moving to Message Threads, So My Own Copy of the Conversation Stays Mine

What changes when a loop that resends the full history every turn moves to message threads, which entered beta on November 2. How create and continue differ, how to triage a 404 or 400, and where I would not migrate, all based on the official docs.

⬡ API & SDK/2026-11-02Intermediate

You Can't Put a Monthly Spend Limit on the Default Workspace — Splitting Workspaces to Cap a Solo Developer's API Bill

Monthly spend limits can't be set on the Default Workspace. Here is how I split workspaces by purpose, verify with a response header that requests land where I intend, and watch daily usage per workspace.

⬡ API & SDK/2026-10-31Intermediate

Days Vanished From My Daily Table After Moving to the Usage and Cost Analytics API — Why Empty Days Don't Come Back, and How to Zero-Fill

The Usage and Cost Analytics API (beta since 10/29) returns no rows for days with no usage. Here is why a drop-in swap from the legacy report leaves gaps, the order I'd check things in, and a small Python zero-fill, tested against mock data.

◉ Claude AI/2026-10-30Intermediate

The Limit Rose to 128MB, but 176 Images at 17.5MB Still Stop: Count the Wall That Hits Before Bytes

The day the Messages API request limit became 128MB, I checked 176 images on my own disk. Bytes had plenty of room; the image-count cap hit first. Here is a pre-send gate and a chunking function.

⬡ API & SDK/2026-10-30Intermediate

The Messages API Limit Is Now 128MB, but Bedrock Still Stops at 20MB — Splitting Your Preflight Constants by Route

On 10/28 the Messages API maximum request size went from 32MB to 128MB, but only on the first-party API. Here is a small Python preflight checker that keeps per-route limits in one place and judges a base64 image bundle before you send it, with the output I got.

⬡ API & SDK/2026-10-28Intermediate

When web fetch fails, a 400 and a 200 point to different places

Does adding web fetch to tools return a 400, or a 200 with an error_code inside the result block? A two-layer triage across org settings, domain rules, and where a URL came from, plus a small Python helper whose branches I checked.