anthropicVision

Anthropic: Claude Opus 4.8

Claude Opus 4.8 is Anthropic's most capable generally available model in the Opus family. It supports text, image, and file inputs with text output, with reasoning support and a 1M-token...

Context
1M tokens
Input / 1M tokens
$5
Output / 1M tokens
$25
Benchmark

Pricing

Input tokens$5 per 1M tokens
Output tokens$25 per 1M tokens
Cache read$0.50 per 1M tokens
Cache write$6.25 per 1M tokens

Technical details

Model IDanthropic/claude-opus-4.8
Context window1M tokens
Input modalitiestext, image, file, pdf
Output modalitiestext
TokenizerClaude
Max output tokens128,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.8',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Ready to use Anthropic: Claude Opus 4.8?

Get an API key and start making requests in minutes.

Get an API key
Anthropic: Claude Opus 4.8 — MegaBrain Gateway