Skip to content

[Feature]: Support Anthropic adaptive thinking and effort parameter for Opus 4.6 #9837

@shaharsha

Description

@shaharsha

Summary

Anthropic's Claude Opus 4.6 introduces adaptive thinking (thinking.type: "adaptive") as the recommended way to use extended thinking. The previous thinking.type: "enabled" + budget_tokens approach is deprecated on Opus 4.6 and will be removed in a future model release.

OpenClaw currently only supports the deprecated format. There is no way to use adaptive thinking or the new effort parameter (low | medium | high | max).

Why it matters

  • The deprecated thinking API will eventually break on newer Anthropic models.
  • Adaptive thinking lets the model decide when and how deeply to reason, which improves cost efficiency and enables automatic interleaved thinking between tool calls -- especially useful for agentic workflows.
  • The effort parameter gives users a cleaner control surface than fixed token budgets.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions