Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add support for Claude Opus 4.6 #11223

@hannesrudolph

Description

@hannesrudolph

Anthropic released Claude Opus 4.6 today (February 5, 2026). We need to add this model to all necessary providers in Roo Code.

Announcement: https://www.anthropic.com/news/claude-opus-4-6

Model Details

Spec Value
Model ID claude-opus-4-6
Context Window 200K tokens (1M tokens in beta)
Max Output 128K tokens (up from 64K)
Input Pricing $5 / MTok
Output Pricing $25 / MTok
1M Context Pricing $10 / $37.50 per MTok (input/output) for requests exceeding 200K
Training Data Cutoff TBD

Key New Features & Changes

  • Adaptive thinking (thinking: {type: "adaptive"}) is the recommended thinking mode for Opus 4.6, replacing thinking: {type: "enabled", budget_tokens: N} which is deprecated
  • Effort parameter GA -- now generally available (no beta header required), with a new max effort level. Default is high.
  • 128K max output tokens (doubled from 64K on previous Opus models)
  • Compaction API (beta) -- server-side context compaction for long-running agentic tasks
  • Data residency controls -- new inference_geo parameter for US-only inference (1.1x pricing)
  • Fine-grained tool streaming (GA)

Breaking Changes on Opus 4.6

  • Prefill removal -- Opus 4.6 does NOT support assistant message prefill
  • Tool parameter quoting -- changes to how tool parameters are quoted
  • budget_tokens deprecated -- thinking: {type: "enabled", budget_tokens: N} still works but will be removed in a future release
  • interleaved-thinking-2025-05-14 beta header deprecated -- safely ignored if included, no longer required (adaptive thinking enables interleaved thinking automatically)
  • output_format deprecated

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions