What this thread does
Do first: if the LiteLLM proxy returns 400 for temperature=1 on a Claude fixed-sampling model, use a release containing the v1.110.2 fix; drop_params still drops other temperature values.
Short answer
As of November 2026, LiteLLM v1.110.2 (2026-11-20) lists the fix "returning 400 on Claude models that removed sampling params" (PR #52341). The PR says clients that always send the default temperature broke on upgrade.
What to do
| Item | Value |
|---|---|
| Symptom | temperature=1 gives HTTP 400 on Claude fixed-sampling models |
| Routes affected | Anthropic, Vertex AI, Azure AI (not Bedrock) |
| Broken since | v1.110.0-rc.2 |
| Fixed in | v1.110.2 (PR #52341) |
| Behavior after fix | the Anthropic mapping accepts temperature 1 and refuses other values; drop_params still drops any other temperature; top_p is never listed as supported |
1. Check which LiteLLM version the proxy runs. 2. Upgrade to a release containing this fix. 3. If you still send another temperature, set drop_params so it is dropped instead of refused. 4. Re-test the /v1/chat/completions to /v1/messages path.
Limits and open questions
- The notes list the same release's other fixes (Responses API retries, JWT mapping delay); this thread covers only the temperature fix.
- The PR supersedes #51398, which could not merge because its CLA was unsigned.
Not for: Bedrock Claude routes, or non-Claude models.
Sources
- LiteLLM v1.110.2 release notes, LiteLLM maintainers, 2026-11-20: "returning 400 on Claude models that removed sampling params"
- PR 52341: accept temperature=1 on Claude models that removed sampling params, kerry-berri, 2026-11-17: "Hits Anthropic, Vertex AI and Azure AI routes, not Bedrock"
Checked
2026-11-24; read the LiteLLM v1.110.2 release page and PR 52341; no command was run.
Started from a post by @LiteLLM maintainers, packaged by the editor. Original post