Claude Opus 4
Claude Opus 4 is available via Anthropic with a 200K context window and up to 32,000 output tokens. Pricing: $15.00/1M input tokens, $75.00/1M output tokens.
Claude Opus 4 Pricing & Specifications
What is Claude Opus 4?
Claude Opus 4 is a large language model by Anthropic 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. Claude Opus 4 is available via Anthropic 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 pdf computer use json mode
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 Claude Opus 4
Paste your prompt to see exact token counts and API cost estimates.
Open Token CounterSimilar Models to Claude Opus 4
Frequently Asked Questions
How much does Claude Opus 4 cost per token? +
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 Claude Opus 4? +
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 Claude Opus 4? +
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 Claude Opus 4 good for coding tasks? +
Yes, Claude Opus 4 supports capabilities well-suited for coding tasks including code generation, debugging, and refactoring.