◉CLAUDE LABJP
●2.1.334 — Claude Code 2.1.334: /model now has a search box once the list passes 25 models, matching names and model IDs●FAST — Fast mode for Claude Opus 4.8 ended on 11/30. Drop speed: "fast" and Opus 4.8 keeps working●OPUS 4.5 — claude-opus-4-5 retires on 2027/1/22, 50 days from now. The replacement is claude-opus-5-5●IME — On the Windows desktop app, pressing Enter to confirm Japanese IME input can send the message early●NEW — New: Compare tool-use requests across three routes before moving to Bedrock●MCP — More setups now share one local MCP server across Claude Code, Cursor and Antigravity●2.1.334 — Claude Code 2.1.334: /model now has a search box once the list passes 25 models, matching names and model IDs●FAST — Fast mode for Claude Opus 4.8 ended on 11/30. Drop speed: "fast" and Opus 4.8 keeps working●OPUS 4.5 — claude-opus-4-5 retires on 2027/1/22, 50 days from now. The replacement is claude-opus-5-5●IME — On the Windows desktop app, pressing Enter to confirm Japanese IME input can send the message early●NEW — New: Compare tool-use requests across three routes before moving to Bedrock●MCP — More setups now share one local MCP server across Claude Code, Cursor and Antigravity
ARTICLES

All Articles

All (995)◉ Claude AI (167)⟐ Claude Code (406)◈ Cowork (95)⬡ API & SDK (327)
⬡ API & SDK/2026-12-02Intermediate

Before Moving Tool Use to Bedrock, I Lined Up the Request on Three Routes — mantle Matches, runtime Does Not

Claude on Bedrock now has two entry points, bedrock-mantle and bedrock-runtime. I captured what the Python SDK actually sends for a tool-use request on each, next to the first-party API, and sorted out what needs rewriting and what is unavailable.

⬡ 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-23Beginner

How Many Input Tokens Does One More Tool Add? Separate the Fixed Overhead From Each Tool's Weight With count_tokens

Passing tools adds a fixed, model-specific block of tokens on top of the definitions themselves. A leave-one-out script for count_tokens, what to check when the fixed part doesn't match the docs, and how to read the shift from Opus 4.5 or Sonnet 4.6 to the 5.5 models in both tokens and dollars: the fixed part shrinks while the definitions grow.

⬡ API & SDK/2026-11-20Intermediate

When the Claude API Only Says “Connection error.”, Follow the Exception Three Levels Down and Sort It Into Four Causes

The Python SDK raises the same APIConnectionError message for DNS, proxy, certificate, and timeout failures. Here is a script that walks __cause__, the real output from reproducing all four, and the order I fix them in.

⬡ 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.