Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.285 ·

Very large API_TIMEOUT_MS values are now capped

A value you set for API_TIMEOUT_MS is now held to a maximum instead of being used however large it is

You'll notice Improvements
JSON All of v2.1.285
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
APIArea: what it touches
ImprovementsKind: in v2.1.285,
ImprovementsSection of the release

Unclear The maximum value is not stated.

What

API_TIMEOUT_MS is an environment variable that sets how long, in milliseconds, Claude Code waits for a request to the model. A value you set is now reduced to a fixed maximum when it is larger. Before, any value was used as given.

Why

Very large timeouts are no longer used as written. If you set a huge value, Claude Code will wait at most the maximum.

Read from
Names in the bundleAPI_TIMEOUT_MS
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Agent SDK reference - Python touched a line naming API_TIMEOUT_MS after this was published. * `CLAUDE_CODE_MAX_RETRIES`: maximum API retries. Default `10`, capped at `15`. Each retry gets its own `API_TIMEOUT_MS` window. agent-sdk/python see the edit
Confirmed since Anthropic's documentation has since written up API_TIMEOUT_MS, on Error reference. | [`CLAUDE_CODE_NONSTREAMING_TIMEOUT_RETRIES`](/docs/en/env-vars) | unset | Limit on re-sends of a [non-streaming request](#streaming-response-ended-before-any-complete-data-was-received) that times out. At the limit, the request fails. A … errors see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe maximum value is not stated.
Anthropic's documentation agreesAnthropic's documentation has since written up API_TIMEOUT_MS, on Error reference.

See this entry in the whole of v2.1.285 →

Feedback