change · Vendor change · sources checked 2026-11-02
Anthropic API version 2026-10-21 removes temperature, top_p and top_k
Anthropic’s model deprecations page, retrieved 2 November 2026, lists temperature, top_p and top_k as removed in API version 2026-10-21, where a request that sends them returns a 400 error. Earlier API versions return it when the parameter is set to a non-default value on Claude 4.7 and later models and Claude Mythos Preview.
Who is affected. Callers that send temperature, top_p or top_k to the Claude API.
What to check. Which API version your requests send, and whether any request sets temperature, top_p or top_k. The page recommends omitting them and using prompting to guide model behavior.
Status when retrieved: date already passed
Guide. Claude 4.5 moving to 5.5 costs less per token and counts more tokens
| Field | Value | Source | Retrieved |
|---|---|---|---|
| Removed parameters | temperature, top_p, top_k | Anthropic model deprecations | 2026-11-30 |
| Status | Removed in API version 2026-10-21 | Anthropic model deprecations | 2026-11-30 |
| Behavior | Returns a 400 error. Earlier API versions return it when set to a non-default value on Claude 4.7 and later models and Claude Mythos Preview. | Anthropic model deprecations | 2026-11-30 |
| Recommended replacement | Omit and use prompting to guide model behavior. | Anthropic model deprecations | 2026-11-02 |
What changed
- 2026-10-21: First record. The page gives the API version, which is dated 2026-10-21, and no announcement date. Status: removed in API version 2026-10-21. Source