Claude Opus 4.8
Anthropic logo

Claude Opus 4.8

claude-opus-4-8llms.txt
Anthropic
Claude Opus 4.8 is Anthropic’s newest and most powerful publicly available model. It is suitable for the most complex tasks. It is Anthropic’s strongest model for complex reasoning, long-horizon agent programming, and highly autonomous work.claude-opus-4-8 does not display thought content by default; you need to set the additional parameter "display": "summarized" to enable it

Pricing

PricingCache ReadWeb SearchCache WriteCache Write 5 MinutesCache Write 1 Hour
$5.000$25.000
$0.5/M tokens$0.01/request$6.25/M tokens$6.25/M tokens$10/M tokens

Input Modalities

  • Text
  • Vision
  • PDF

Output Modalities

  • Text

Context length

  • 1M tokens

Max output

  • 128K tokens

Capabilities

  • Thinking
  • Streaming
  • Tool calling
  • Web search
  • URL context
  • Code interpreter
  • Computer use
  • File search
  • Memory tool
  • Structured outputs
  • Citations
  • Prompt caching
  • Background mode
  • Server-side sessions

Providers

Azure claude-opus-4-8
Pricing$5.000$25.000
Cache Read$0.5/M tokens
Web Search$0.01/request
Cache Write$6.25/M tokens
Cache Write 5 Minutes$6.25/M tokens
Cache Write 1 Hour$10/M tokens
Context200K
Max output32K
Latency3.6S
Throughput52.4TPS
Uptime
99.88% uptime 2 days ago
99.23% uptime yesterday
100.00% uptime today
AWS claude-opus-4-8
Pricing$5.000$25.000
Cache Read$0.5/M tokens
Web Search$0.01/request
Cache Write$6.25/M tokens
Cache Write 5 Minutes$6.25/M tokens
Cache Write 1 Hour$10/M tokens
Context200K
Max output32K
Latency3.9S
Throughput55.6TPS
Uptime
99.99% uptime 2 days ago
99.77% uptime yesterday
100.00% uptime today
Anthropic claude-opus-4-8
Pricing$5.000$25.000
Cache Read$0.5/M tokens
Web Search$0.01/request
Cache Write$6.25/M tokens
Cache Write 5 Minutes$6.25/M tokens
Cache Write 1 Hour$10/M tokens
Context200K
Max output32K
Latency1.8S
Throughput48.0TPS
Uptime
100.00% uptime 2 days ago
100.00% uptime yesterday
100.00% uptime today
VertexAI claude-opus-4-8
Pricing$5.000$25.000
Cache Read$0.5/M tokens
Web Search$0.01/request
Cache Write$6.25/M tokens
Cache Write 5 Minutes$6.25/M tokens
Cache Write 1 Hour$10/M tokens
Context200K
Max output32K
Latency0.9S
Throughput180.2TPS
Uptime
0.00% uptime 2 days ago
0.00% uptime yesterday
0.00% uptime today

Performance for claude-opus-4-8

Uptime is the percentage of requests that succeeded over the past 72 hours. AIHubMix continuously monitors every provider and automatically retries with the next-best provider when one returns an error or responds too slowly; Latency is total round-trip time (lower is better); Throughput is how fast the model writes (tokens per second, higher is better).

Uptime
Loading...
Latency
Loading...
Throughput
Loading...

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="claude-opus-4-8",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is Claude Opus 4.8?

Claude Opus 4.8 is Anthropic’s newest and most powerful publicly available model. It is suitable for the most complex tasks. It is Anthropic’s strongest model for complex reasoning, long-horizon agent programming, and highly autonomous work.claude-opus-4-8 does not display thought content by default; you need to set the additional parameter "display": "summarized" to enable it