Key capabilities
- 1M context window — 1M tokens by default, with 128K max output tokens
- Adaptive thinking — On by default; control depth with
output_config.effort - Five effort levels — Choose
low,medium,high,xhigh, ormax; the default ishigh - Agentic coding — Handles multi-file features, large refactors, code review, and long-running tool workflows
- Vision and long context — Understands images, charts, documents, and diagrams across long inputs
- Tools and streaming — Supports tool use and real-time SSE responses through the Messages API
- Model ID — Use
claude-opus-5
Quick example
Parameters
Claude Opus 5 uses adaptive thinking by default.
max_tokens limits thinking and visible response tokens together, so use a sufficiently large value for xhigh and max workloads.API Reference
View the interactive API playground for Claude Opus 5.