AIAIAI.FYI LIVE

Anthropic TypeScript SDK 1.10.0 adds billing_policy beta and new billing error codes

The release also fixes the session tool runner and EnvironmentWorker so they stop running tools for terminated sessions.

What happened

Anthropic released version 1.10.0 of its TypeScript SDK, the code package developers use to talk to Claude. It adds new billing options and error messages. It also fixes bugs where tools kept running after a session had ended.

Why it matters to you

Developers building on Claude get clearer billing errors and fewer stray tool runs after a session ends. That can mean less wasted work and easier debugging.

The takeaway

This is a developer update that improves billing error handling and stops tools running in ended sessions.

What it means for you

If you build software

Update error handling for the new billing codes, move off the deprecated error model names, and check status alongside content_scan.reason.

If you run a business

New billing error codes and the billing_policy beta may make spend limits and billing refusals easier to detect in apps built on Claude.

Get stories like this every morning