Skip to content
Vercel AI Gateway

Anthropic/Claude Opus 4

Anthropic/Claude Opus 4 is available via Vercel AI Gateway with a 200K context window and up to 32,000 output tokens. Pricing: $15.00/1M input tokens, $75.00/1M output tokens.

Anthropic/Claude Opus 4 Pricing & Specifications

Input Price$15.00 per 1M tokens
Output Price$75.00 per 1M tokens
Context Window200,000 tokens (200K)
Max Output32,000 tokens
ProviderVercel AI Gateway

What is Anthropic/Claude Opus 4?

Anthropic/Claude Opus 4 is a large language model by Vercel AI Gateway with a 200K context window and up to 32,000 output tokens. It costs $15.00 per 1M input tokens and $75.00 per 1M output tokens. Anthropic/Claude Opus 4 is available via Vercel AI Gateway with a 200K context window and up to 32,000 output tokens. Pricing: $15.00/1M input tokens, $75.00/1M output tokens.

Capabilities

text vision function calling reasoning computer use json mode

Anthropic/Claude Opus 4 Cost Examples

Short prompt (500 tokens)

$0.007500

Medium prompt (2K tokens)

$0.03000

Long output (4K tokens)

$0.30000

Count tokens for Anthropic/Claude Opus 4

Paste your prompt to see exact token counts and API cost estimates.

Open Token Counter

Similar Models to Anthropic/Claude Opus 4

Vercel AI Gateway

Anthropic/Claude 3 Opus

$15.00/1M in 200K ctx

Vercel AI Gateway

Anthropic/Claude 4 Opus

$15.00/1M in 200K ctx

Vercel AI Gateway

Anthropic/Claude Opus 4.1

$15.00/1M in 200K ctx

Vercel AI Gateway

Openai/O1

$15.00/1M in 200K ctx

Frequently Asked Questions

How much does Anthropic/Claude Opus 4 cost per token? +
Anthropic/Claude Opus 4 costs $15.00 per 1M input tokens and $75.00 per 1M output tokens. For a typical 1,000-token request with a 500-token response, that works out to roughly $0.052500.
What is the context window for Anthropic/Claude Opus 4? +
Anthropic/Claude Opus 4 supports a context window of 200,000 tokens (200K). This determines the maximum combined length of your prompt and conversation history in a single API call.
What is the maximum output length for Anthropic/Claude Opus 4? +
Anthropic/Claude Opus 4 can generate up to 32,000 tokens in a single response. If you need longer outputs, you can make multiple API calls and concatenate the results.
Is Anthropic/Claude Opus 4 good for coding tasks? +
Yes, Anthropic/Claude Opus 4 supports capabilities well-suited for coding tasks including code generation, debugging, and refactoring.
Token Counter | Pricing Calculator | Model Comparison | All Vercel AI Gateway Models