Anthropic API 2026-10-21 removes temperature, top_p and top_k, silently changing output sampling
Anthropic's API version 2026-10-21 removes the temperature, top_p and top_k parameters from the Messages API, and requests including them return a 400 error even at default values. Developers who fix the error by deleting the parameter silently move their requests to the default temperature of 1.0. For models such as Claude Sonnet 4.6, this removes the consistency effect that lower temperature settings provided, with no replacement setting available. The author argues that standard shape-and-value tests miss this change, and recommends repeated-run stability tests. The migration guide notes that developers can instead pin requests to the 2023-06-01 API version.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in