Follow Discord
Sweep 08 Oct 2026 · 18:53Z Build v2.1.295 516 read Stable v2.1.286 Latest v2.1.295 Next v2.1.295 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.295 ·

Gateway guide: send x-should-retry: false with a 501 not supported response

The bundled gateway guide now says a 501 not supported response should send x-should-retry: false, or Claude Code retries once first

Use it now Improvements
JSON All of v2.1.295
Use it nowTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
LLM GatewayArea: what it touches
ImprovementsKind: in v2.1.295,
What probably matters to youSection of the release
What

An LLM gateway is a server you put between Claude Code and the model provider. Claude Code's bundled guidance for gateways now says that when a gateway replies with a 501 not_supported error, it should also send the header x-should-retry: false. Without that header, Claude Code tries the request once more, about half a second later, before it falls back.

Why

If you run a gateway, sending this header saves a pointless retry and a short delay whenever an endpoint is not available.

Read from
Names in the bundlex-should-retry
What the documentation says
Documented inapi/api/beta/dreams

See this entry in the whole of v2.1.295 →

Feedback