--- title: "Anthropic API version 2026-10-21 removes temperature, top_p and top_k" editor: Vishal Gupta license: CC BY 4.0, own text only ai_assisted: true checked_at: 2026-11-02 sources: - url: https://platform.claude.com/docs/en/about-claude/model-deprecations retrieved_at: 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. Type. Vendor change. 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 | Field | Value | Source | Retrieved | | --- | --- | --- | --- | | Removed parameters | temperature, top_p, top_k | https://platform.claude.com/docs/en/about-claude/model-deprecations | 2026-11-30 | | Status | Removed in API version 2026-10-21 | https://platform.claude.com/docs/en/about-claude/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. | https://platform.claude.com/docs/en/about-claude/model-deprecations | 2026-11-30 | | Recommended replacement | Omit and use prompting to guide model behavior. | https://platform.claude.com/docs/en/about-claude/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. https://platform.claude.com/docs/en/about-claude/model-deprecations ## Answers - [What changed in AI vendor pricing and policy in the last 90 days?](/answers/changes-last-90-days/) - [What prices and shutdown dates are stored for Anthropic?](/vendors/anthropic/) Facts drafted with AI. Each number is matched by an automated check to a passage saved from the listed source. Editor: Vishal Gupta spot-checks every batch. MorningLabs Index by MorningLabs AI (https://morninglabs.si/changes/anthropic-sampling-parameters-removed-api-version-2026-10-21/), sources checked 2026-11-02