temperature, top_p, top_k
Anthropic released v1.0 of the Python SDK. It requires Python 3.10 or later and removes long deprecated surface, including the legacy Text Completions API and the temperature, top_p and top_k parameters on Messages methods. Anthropic's deprecations page states that passing them on v1.0 and later raises a TypeError.
Source: Anthropic, Claude API release notes . verified 2026-09-22