Skip to main content
Model Explorer

Claudeclaude-opus-4.8

2024-05

by Anthropic

StreamingChat

claude-opus-4.8 by Anthropic — a powerful language model optimized for chat and reasoning tasks.

Technical Specifications

Detailed technical parameters and capabilities

Context Window
1,000,000 tokens
Max Output
4,096 tokens
Training Cutoff
April 2024
Tokenizer
cl100k_base

Quick Integration

Get started with a single API call

quickstart.py
import openai
 
client = openai.OpenAI(
base_url="https://api.example.com/v1",
api_key="sk-ms-...",
)
 
response = client.chat.completions.create(
model="claude-opus-4.8",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)

Performance Benchmarks

How claude-opus-4.8 compares across industry benchmarks

MMLU
70%vs 86.4%
HumanEval
65%vs 67%
GSM8K
68%vs 92%
claude-opus-4.8
GPT-4o Reference

Pricing

Pay-as-you-go

Standard Pricing

No commitments, pay only for what you use

Input$5.00 per 1M tokens
Output$25.00 per 1M tokens

Indicative pricing — final cost is confirmed at request time.

Enterprise

Volume & Enterprise

Custom pricing for high-volume workloads

  • Volume discounts available
  • Dedicated throughput guarantees
  • Fine-tuning support