Back to models
Anthropic

Claude Opus 4.8

Claude Opus 4.8 is Anthropic's most capable generally available model in the Opus family. It supports text, image, and file inputs with text output, with reasoning support and a 1M-token context window. Built for complex reasoning, long-horizon agentic coding, and high-autonomy professional work.

Quick Stats

Context

1000K

Max Output

128K

Provider

Anthropic

Specs

1

Modalities

in textin imagein fileout text

Specs & List Price (per 1M tokens)

Quality
Input $5Output $25Cache read $0.5Cache write $6.25

Recommended Plan

Claude Opus 4.8 Starter Plan

Pay-as-you-go after top-up; $1 free credit for new users.

Buy Plan

API Endpoint

Model IDanthropic/claude-opus-4.8

cURL

curl https://intertoken.ai/v1/chat/completions \
  -H "Authorization: Bearer $TOKENPORTAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-opus-4.8",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Python

from openai import OpenAI

client = OpenAI(
    base_url="https://intertoken.ai/v1",
    api_key="$TOKENPORTAL_API_KEY",
)

resp = client.chat.completions.create(
    model="anthropic/claude-opus-4.8",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)

Start using this model

Sign up free, get an API key, and make your first call in 30 seconds.

Claude Opus 4.8 · TokenPortal