Back to models
Anthropic

Claude Opus 4.1

Claude Opus 4.1 is an updated version of Anthropic's flagship model, offering improved performance in coding, reasoning, and agentic tasks.

Quick Stats

Context

200K

Max Output

32K

Provider

Anthropic

Specs

2

Modalities

in imagein textin fileout text

Specs & List Price (per 1M tokens)

Quality
Input $15Output $75Cache read $1.5Cache write $18.75
Value
Input $7.5Output $37.5Cache read $0.75Cache write $9.375

Recommended Plan

Claude Opus 4.1 Starter Plan

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

Buy Plan

API Endpoint

Model IDanthropic/claude-opus-4.1

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.1",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Python (openai SDK)

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.1",
    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.1 · TokenPortal