Claude 4.7 Migration Guide
Migrate to Claude 4.7 Opus — sampling parameters removed, adaptive-only thinking, and new xhigh effort level
Migrate to Claude 4.7 Opus — sampling parameters removed, adaptive-only thinking, and new xhigh effort level
See Anthropic’s Migrating to Claude Opus 4.7 for a full overview of changes.
Claude 4.7 Opus introduces three major changes:
temperature, top_p, and top_k are no longer supported and will be ignoredthinking.budget_tokens is no longer supported and reasoning.effort / reasoning.max_tokens are ignored (adaptive is used instead)'xhigh' effort level — a new effort level between 'high' and 'max' via verbosity / output_config.effortClaude 4.7 Opus no longer accepts temperature, top_p, or top_k. If you pass these parameters, they will be silently ignored — your request will still succeed, but the parameters will have no effect.
Claude 4.7 Opus supports only adaptive thinking. On 4.6, reasoning could be controlled via a token budget (reasoning.max_tokens / thinking.budget_tokens) or left adaptive; on 4.7, budget-based thinking is removed and adaptive is the only remaining mode when reasoning is on.
Reasoning itself remains opt-in on all Anthropic models via reasoning.enabled=true — 4.7 does not change that.
Concretely on 4.7:
reasoning.max_tokens is accepted but ignoredreasoning.effort is accepted but ignoredthinking.budget_tokens is no longer supported upstreamTo influence overall response effort (not reasoning-specific), use verbosity. It maps to Anthropic’s output_config.effort and applies whether or not reasoning is enabled.
'xhigh' Effort LevelA new 'xhigh' effort level is available between 'high' and 'max' via the verbosity parameter. This maps to Anthropic’s output_config.effort.
The full effort scale is now: low → medium → high → xhigh → max.
'xhigh' is only supported on Claude 4.7 Opus. 'max' is supported on Claude 4.6+. For older models, both automatically fall back to 'high'.
With sampling parameters and reasoning budgets removed on 4.7, verbosity (→ output_config.effort) is the remaining lever for influencing overall response effort. It is not reasoning-specific and applies whether or not reasoning is enabled.