temperature, top_p, top_k: removed in API version 2026-10-21
Removed in API version 2026-10-21. 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.
platform.claude.comquote checked
- Omit and use prompting to guide model behavior.
- 2026-10-2116 days ago
- Your code3 things to find
Nemotron fixes
In its own wordsmatches the page ✓
| `temperature`, `top_p`, `top_k` | Removed in [API version `2026-10-21`](https://platform.claude.com/docs/en/api/migration-2026-10-21#sampling-parameters) | 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://anthropic.com/glasswing). | Omit and use [prompting](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices) to guide model 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.
What Teire looks for in your code
- argument temperature of messages.create, messages.stream, messages.parse…
- argument top_p of messages.create, messages.stream, messages.parse…
- argument top_k of messages.create, messages.stream, messages.parse…
Does it reach your code?