Claude Opus 4.8

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

Top Claude Opus tier for the hardest reasoning, coding, and long-horizon agents

Benchmark Pricing$5.00 / 1M in$25.00 / 1M out$0.50 cache read
Context: 1,000,000 tokens•Max Output: 128,000 tokens•Knowledge: 2026-01•Released: 2026-05-28

TECHNICAL SPECIFICATIONS

Context Window1,000,0001M tokens
Max Output128,000128K tokens
LicenseProprietaryCloud API only
Input Modalities
TextVisionPDF
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ Claude Opus 4.8 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 1,000,000 tokens, this model can handle extremely large MCP resource manifests, complete database schemas, and multiple active server tool definitions simultaneously without degradation.

STANDARDIZED BENCHMARKS & EVALS

SWE-Bench Proresolve rate
69.2
Terminal-Benchsuccess rate
74.6
SWE-Bench Verifiedresolved
88.6
Humanity's Last Examaccuracy
49.8
Humanity's Last Examaccuracy
57.9
OSWorld-Verifiedsuccess rate
83.4
FrontierCodepass rate
13.4

API CALL INVOCATION EXAMPLE

// Example: Calling Claude Opus 4.8 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-8",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

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

PRICING BY PROVIDER

15 providers
Anthropicclaude-opus-4-8
$5.00 / $25.00$0.50 cache
Cortecsclaude-opus4-8
$5.44 / $27.19$0.54 cache
NanoGPTanthropic/claude-opus-4.8
$5.00 / $25.00$0.50 cache
GitHub Copilotclaude-opus-4.8
$5.00 / $25.00$0.50 cache
CrossModelanthropic/claude-opus-4-8
$5.00 / $25.00$0.50 cache
Snowflake Cortexclaude-opus-4-8
$5.00 / $25.00$0.50 cache
302.AIclaude-opus-4-8
$5.00 / $25.00$0.50 cache
LLM Gatewayazure-anthropic/claude-opus-4-8
$5.00 / $25.00$0.50 cache
Tempr Gatewayanthropic/claude-opus-4-8
$5.00 / $25.00$0.50 cache
Cloudflare AI Gatewayanthropic/claude-opus-4.8
$5.00 / $25.00$0.50 cache
Modelisclaude-opus-4-8
$5.00 / $25.00
Venice AIclaude-opus-4-8-fast
$10.00 / $50.00$1.00 cache
AIHubMixclaude-opus-4-8
$5.00 / $25.00$0.50 cache
Abacusclaude-opus-4-8
$5.00 / $25.00
Vercel AI Gatewayanthropic/claude-opus-4.8
$5.00 / $25.00$0.50 cache

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

Prompt Caching Active

This model supports prompt caching at $0.50 / 1M tokens, saving up to 90% on repetitive MCP tool definitions and system instructions.

MODEL RESOURCES