anthropic/claude-opus-4.8
1,000,000 context · $5.00/M input tokens · $25.00/M output tokens
Claude Opus 4.8 is Anthropic’s most capable generally available Opus model, built for complex reasoning, long-horizon agentic coding, and high-autonomy professional workflows. It supports text, image, and file inputs with text output, a 1M-token context window, up to 128K output tokens, adaptive thinking, tool use, and structured outputs. It is especially strong for advanced coding, browser and computer-use agents, enterprise knowledge work, financial and legal analysis, and multi-step tasks that require sustained judgment and reliability.
Paiement à l'usage
Aucun coût initial, payez uniquement ce que vous utilisez
Utilisez les exemples de code suivants pour intégrer notre API :
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://llm.wavespeed.ai/v1"
)
response = client.chat.completions.create(
model="anthropic/claude-opus-4.8",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)Claude Opus 4.8 is Anthropic’s most capable generally available Opus model, built for complex reasoning, long-horizon agentic coding, and high-autonomy professional workflows. It supports text, image, and file inputs with text output, adaptive thinking, tool use, and a 1M-token context window.
| Specification | Value |
|---|---|
| Provider | anthropic |
| Model Type | Chat Completions model |
| Architecture | text+image+file->text |
| Context Window | 1,000,000 tokens |
| Max Input | 872,000 tokens |
| Max Output | 128,000 tokens |
| Input | Text, Image, File |
| Output | Text |
| Vision | Supported |
| File Input | Supported |
| Function Calling | Supported |
| Structured Outputs | Supported |
| Adaptive Thinking | Supported |
| Release | May 28, 2026 |
Base URL: https://llm.wavespeed.ai/v1
API Endpoint: chat/completions
Model ID: anthropic/claude-opus-4.8
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://llm.wavespeed.ai/v1"
)
response = client.chat.completions.create(
model="anthropic/claude-opus-4.8",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
curl https://llm.wavespeed.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "anthropic/claude-opus-4.8",
"messages": [{"role": "user", "content": "Hello!"}]
}'
anthropic/claude-opus-4.8
Claude Opus 4.8 is Anthropic’s most capable generally available Opus model, built for complex reasoning, long-horizon agentic coding, and high-autonomy professional workflows. It supports text, image, and file inputs with text output, a 1M-token context window, up to 128K output tokens, adaptive thinking, tool use, and structured outputs. It is especially strong for advanced coding, browser and computer-use agents, enterprise knowledge work, financial and legal analysis, and multi-step tasks that require sustained judgment and reliability.
Entrée
$5 /M
Sortie
$25 /M
Contexte
1000K
Sortie max.
128K
Vision
Pris en charge
Utilisation d'outils
Pris en charge
Accédez à Claude Opus 4.8 via notre API unifiée — compatible OpenAI, sans démarrages à froid, prix transparents.
Tarification sur WaveSpeedAI : $5.00 par million de tokens d'entrée et $25.00 par million de tokens de sortie. Le prompt caching et le traitement par batch sont facturés séparément et réduisent le coût effectif sur les charges longues et répétitives.
Claude Opus 4.8 prend en charge jusqu'à 1000K tokens de contexte et jusqu'à 128K tokens de sortie par requête.
Oui. WaveSpeedAI expose Claude Opus 4.8 via un endpoint compatible OpenAI à https://llm.wavespeed.ai/v1. Pointez le SDK officiel d'OpenAI vers cette base URL avec votre clé API WaveSpeedAI — aucune autre modification de code requise.
Connectez-vous à WaveSpeedAI, créez une clé API dans Access Keys, puis envoyez une requête à https://llm.wavespeed.ai/v1/chat/completions avec l'id du modèle affiché ci-dessus. Les nouveaux comptes reçoivent des crédits gratuits pour évaluer Claude Opus 4.8.