← Back to API models

Claude Opus 4.7

by Anthropic · flagship · released Apr 2026

Anthropic's most capable model. Vision, code, and careful reasoning at the top of the family.

Input $5 / 1M
Output $25 / 1M
Context 200K tokens
Released Apr 2026
Anthropic Console ↗ Updated May 20, 2026
§ API pricing

Per-token rates.

Input
$5/1M tokens
Prompt tokens
  • Matches GPT-5.5 on input
  • Vision inputs billed as tokens
  • Prompt caching reduces re-sent inputs
Output
$25/1M tokens
Completion tokens
  • $5 cheaper per 1M than GPT-5.5 output
  • Includes extended thinking tokens
  • Highest output rate in the Claude family
Context
200Ktokens
Window
  • Same window as Sonnet & Haiku
  • ~150K words of practical input
  • No 1M beta for Opus yet
Caching
~90%discount on cache hits
Prompt caching
  • Cached input billed at fraction of rate
  • Best when re-sending long system prompts
  • 5-minute and 1-hour TTLs supported

Why Opus 4.7 exists

Anthropic ships Opus when they want to push the quality ceiling without worrying about cost. Opus 4.7, released in April 2026, is the model that goes into Claude Pro and Max for the harder tasks Sonnet 4.6 cannot consistently nail: nuanced legal and policy reading, novel research synthesis, multi-file code refactors with subtle dependencies, and any domain where the wrong answer is more expensive than another $5 of API spend.

At $5 input and $25 output per 1M tokens, Opus 4.7 lands cheaper on output than GPT-5.5 ($30) while matching it on input. The trade is context: 200K against GPT-5.5's 1M. If you can fit the work in 200K tokens, Opus is the better value at the top of the market right now.

Capabilities

Opus 4.7 is strongest at deliberate, multi-step reasoning. It writes prose with fewer tics and more structural coherence than the GPT or Gemini families, which is why it dominates serious editorial and research workflows. Coding has improved measurably over Opus 4.5 — it now handles whole-feature implementations across a small repo without losing the plot — and it's a strong vision model for diagrams, charts, and screenshots.

The honest weakness: no image, video, or audio generation. Anthropic stays focused on text and analysis. If you need multimodal output, pair Opus 4.7 with another model for that step.

Typical use cases

  • Long-document analysis: contracts, papers, filings, 200-page PDFs
  • Software engineering: multi-file refactors, code review, architecture critique
  • Editorial and research writing where tone and structure matter
  • Agent loops where one wrong step costs more than a careful one
  • Vision tasks on technical diagrams, charts, and product screenshots

Sibling and rival comparison

ModelInput / 1MOutput / 1MContext
Claude Opus 4.7$5$25200K
Claude Sonnet 4.6$3$15200K (1M β)
Claude Haiku 4.5$1$5200K
GPT-5.5$5$301M

Within the Claude family, Sonnet 4.6 gets you most of the way at 60% the price — switch to Opus 4.7 only when Sonnet's mistakes are unacceptable. Versus GPT-5.5, Opus is cheaper on output but limited to a 200K window. Choose Opus for quality-critical short-to-medium context; choose GPT-5.5 when you need the full 1M.

← See all Anthropic / Claude plans