Claude Opus 4

AnthropicMCP Tool CallReasoning
anthropic/claude-opus-4-20250514Closed API

Flagship Claude model for deep reasoning, coding, and long-horizon agents

Benchmark Pricing$15.00 / 1M in$75.00 / 1M out
Context: 200,000 tokens•Max Output: 32,000 tokens•Knowledge: 2025-03-31•Released: 2025-05-22

TECHNICAL SPECIFICATIONS

Context Window200,000200K tokens
Max Output32,00032K tokens
LicenseProprietaryCloud API only
Input Modalities
TextVisionPDF
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ Claude Opus 4 natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

With a context capacity of 200,000 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

STANDARDIZED BENCHMARKS & EVALS

Aider Polyglotpercent correct
72

API CALL INVOCATION EXAMPLE

// Example: Calling Claude Opus 4 via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.ANTHROPIC_API_KEY,
});

const response = await client.chat.completions.create({
  model: "anthropic/claude-opus-4-20250514",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

7 providers
Abacusclaude-opus-4-20250514
$15.00 / $75.00
Merge Gatewayanthropic/claude-opus-4-20250514
$15.00 / $75.00$1.50 cache
Vertexclaude-opus-4@20250514
$15.00 / $75.00$1.50 cache
ZenMuxanthropic/claude-opus-4
$15.00 / $75.00$1.50 cache
Vertex (Anthropic)claude-opus-4@20250514
$15.00 / $75.00$1.50 cache
Jiekou.AIclaude-opus-4-20250514
$13.50 / $67.50
DigitalOceananthropic-claude-opus-4
$15.00 / $75.00$1.50 cache

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.

MODEL RESOURCES