AnthropicClaude OpusdeepVisionTool use

Claude Opus 4

Claude Opus 4 is benchmarked as the world’s best coding model, at time of release, bringing sustained performance on complex, long-running tasks and agent workflows. It sets new benchmarks in software engineering, achieving leading results on SWE-bench (72.5%) and Terminal-bench (43.2%). Opus 4 supports extended, agentic workflows, handling thousands of task steps continuously for hours without degradation. Read more at the [blog post here](https://www.anthropic.com/news/claude-4)

410K context·~307K words·32K max output
Context window410Ktokens
Max output32Ktokens

Context window

This model accepts 410K tokens in one request (~307K words of text).

Context window size410K tokens
4K32K128K1M10M

What fits in one request

  • Short document
    About 1,500 words of text
    Fits
  • Long document
    About 37K words of text
    Fits
  • Small codebase
    About 150K words of text
    Fits
  • Full novel
    About 375K words of text
    Won't fit

Specifications

Context size, pricing, and release info in one place.

Context window
409,600 tokens (410K)
Max output tokens
32,000 tokens (32K)
Speed tier
deep
Provider
Anthropic
Model family
Claude Opus
Release date
May 2025
Input cost
$15.00/M / 1M tokens
Output cost
$75.00/M / 1M tokens
Cached input
$1.50/M / 1M tokens

Capabilities

See which features this model supports, such as vision, tools, and streaming.

Supported (7)
Vision
Supported
Tool use
Supported
Function calling
Supported
Extended thinking
Supported
Streaming
Supported
Batch API
Supported
Prompt caching
Supported
Not supported (1)
Web search
Not supported

Best for

Jump to a guide or ranking that matches each workload.

Compare Claude Opus 4

Open a side-by-side comparison with one click.

Frequently asked questions

Short answers about context size and how this model behaves.

Claude Opus 4 has a context window of 409K tokens (409,600 tokens). This large window is well-suited for long document analysis, extensive codebases, and multi-session agent workflows.

More from Anthropic

Other models by Anthropic in our catalog.

Powered by Mem0

Use a smaller model.
Get better results.

Mem0 gives your AI long-term memory so you stop re-sending context on every call. That means you can use a smaller, faster, cheaper model — and still get better answers.

Example: a multi-turn chat session

Without Mem0~128K tokens sent
Full history
Repeated info
Old context
With Mem0~20K tokens sent
Key memories
Current turn

80% less to send — works with any model