anthropic logo
anthropic

Anthropic: 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. $15 per million input tokens, $75 per million output tokens. 200,000 token context window, maximum output of 32,000 tokens. Includes independent benchmarks from Artificial Analysis.

Overview

Model specifications

Context
200,000 tokens
Maximum output
32,000 tokens
Architecture
text+image+file->text
Tokenizer
Claude
Knowledge cutoff
2025-01-31
Moderated
No
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$15
/M tokens
Output
$75
/M tokens
Cache read
$1.5
/M tokens
Cache write
$18.75
/M tokens
Cache Write (1h)
$30
/M tokens
API

Model configuration

Reasoning

Moderated
No
Default parameters
No
API

Quick start

Call this exact model ID through OpenRouter’s OpenAI-compatible API.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-opus-4","messages":[{"role":"user","content":"Hello!"}]}'
Capabilities

InputOutput

Input
imagetextfile
Output
text
Reasoning

No

API

Supported API parameters

include_reasoningmax_tokensreasoningstoptemperaturetool_choicetoolstop_p
Available providers

1 Provider

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

Google

unknown
Context
200K
Maximum output
32K
Input
$15.00
Output
$75.00
Cache read
$1.50
Cache write
$18.75
anthropic

models

All models