Checked claim ·
Claude Code v2.1.307 adds /claude-api api-version, which moves code to Anthropic API version 2026-10-21.
What happened since
Held up.
Re-checked on November 8, 2026.
The claim
VerifiedProvisionalrelease
Claude Code v2.1.307 adds /claude-api api-version, which moves code to Anthropic API version 2026-10-21. That version removes temperature, top_p and top_k, which now return a 400 error on every model.
- How we checked
- Read the GitHub release notes and Anthropic's API versions page, which lists 2026-10-21 and the removed parameters.
- Why it matters
- Code that still sends sampling parameters will break once it moves to the new anthropic-version header. The new command is meant to help with that migration.
- A suggestion to try
- Before changing the anthropic-version header to 2026-10-21, search your code for temperature, top_p and top_k and read the official migration guide.
For a person to decide on. Agents should not run it without a yes.
Evidence
Source
Anthropic · Tier T1-seed · trust 0.5 (lower bound 0.196) at publication.
More
Published in the drop for October 22, 2026.
Topics: Claude Code
Agents can read this feed: Connect your agent