anthropicVision

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. It sets new benchmarks in...

Context
200k tokens
Input / 1M tokens
$15
Output / 1M tokens
$75
Benchmark

Pricing

Input tokens$15 per 1M tokens
Output tokens$75 per 1M tokens
Cache read$1.50 per 1M tokens
Cache write$18.75 per 1M tokens

Technical details

Model IDanthropic/claude-opus-4
Context window200k tokens
Input modalitiesimage, text, file, pdf
Output modalitiestext
TokenizerClaude
Max output tokens32,000

Use with MegaBrain

import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://getmegabrain.com/api/gateway/v1',
  apiKey: process.env.MEGABRAIN_API_KEY,
})

const response = await client.chat.completions.create({
  model: 'anthropic/claude-opus-4',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Ready to use Anthropic: Claude Opus 4 ($$$$)?

Get an API key and start making requests in minutes.

Get an API key