claude-opus-4-8
Anthropic logo

Claude Opus 4.8

claude-opus-4-8
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

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