Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.261 ·

Bedrock count_tokens fallback no longer uses Haiku probe

Bedrock token counting fallback now uses your own model instead of a Haiku probe.

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

When a Bedrock-style proxy returns 501 for count_tokens, the client no longer falls back to a Haiku max_tokens:1 probe. It instead counts tokens with a one-token request using the session's own model, unless ANTHROPIC_SMALL_FAST_MODEL or ANTHROPIC_DEFAULT_HAIKU_MODEL is set.

Read from
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.

Confirmed since Anthropic's documentation has since written up ANTHROPIC_SMALL_FAST_MODEL, on How Claude Code uses prompt caching. The variable also covers a background model you set with the deprecated `ANTHROPIC_SMALL_FAST_MODEL` variable, when that model differs from your main model. prompt-caching see the edit
Confirmed since Anthropic's documentation has since written up ANTHROPIC_DEFAULT_HAIKU_MODEL, on Connect Claude Code to an LLM gateway. * **Model versions**: pin `ANTHROPIC_DEFAULT_OPUS_MODEL`, `ANTHROPIC_DEFAULT_SONNET_MODEL`, and `ANTHROPIC_DEFAULT_HAIKU_MODEL` as in [Pin model versions](/docs/en/google-vertex-ai#5-pin-model-versions). Setting `ANTHROPIC_DEFAULT_HAIKU_MO… llm-gateway-connect see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up ANTHROPIC_DEFAULT_HAIKU_MODEL, on Connect Claude Code to an LLM gateway.

See this entry in the whole of v2.1.261 →

Feedback