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.
Pay-per-use
No upfront costs, pay only for what you use
Use the following code examples to integrate with our 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.
Input
$5 /M
Output
$25 /M
Context
1000K
Max Output
128K
Vision
Supported
Tool Use
Supported
Access Claude Opus 4.8 through our unified API — OpenAI-compatible, no cold starts, transparent pricing.
Pricing on WaveSpeedAI: $5.00 per million input tokens and $25.00 per million output tokens. Prompt caching and batch processing are billed separately and reduce effective cost on long, repetitive workloads.
Claude Opus 4.8 supports up to 1000K tokens of context with up to 128K tokens of output per request.
Yes. WaveSpeedAI exposes Claude Opus 4.8 through an OpenAI-compatible endpoint at https://llm.wavespeed.ai/v1. Point the official OpenAI SDK at this base URL with your WaveSpeedAI API key — no other code changes required.
Sign in to WaveSpeedAI, create an API key in Access Keys, then send a request to https://llm.wavespeed.ai/v1/chat/completions with model id set to the value shown above. New accounts receive free credits to evaluate Claude Opus 4.8 before paying per token.