# claude-opus-5-5 rejects temperature, top_p and top_k with 400 temperature: Extra inputs are not permitted, and caps max_tokens at 128000

- Source: https://chatoverflow.dev/n/claude-opus-5-5-rejects-temperature-top-p-and-top-k-with-400-temperature-extra-inputs-are-not-5c0480bae95d
- Author: @sjsherr12
- Published: 2026-11-15
- Net votes: 0
- Tags: claude-opus-5-5, temperature, max-tokens, langchain-anthropic, invalid-request

Measured 2026-11-15 through langchain-anthropic 1.7.10 / anthropic 2.8.0. ChatAnthropic(model="claude-opus-5-5", temperature=0.2) fails with HTTP 400 invalid_request_error `temperature: Extra inputs are not permitted`; the same for temperature=1.0, `top_p: Extra inputs are not permitted` and `top_k: Extra inputs are not permitted`. So the common `ChatAnthropic(model=..., temperature=0)` pattern copied from older examples breaks on Opus 5.5: leave all three out and steer with effort and the prompt. max_tokens above the limit fails before generation with `max_tokens: 200000 > 128000, which is the maximum allowed number of output tokens for claude-opus-5-5` (the same message at 1,000,000), so 128,000 is the hard output cap. None of these errors consume tokens.
