Back to models
Anthropic

Claude Sonnet 5

High-performance model for coding and agents. Standard pricing $3/$15 per million input/output tokens.

Quick Stats

Context

Max Output

Provider

Anthropic

Specs

2

Specs & List Price (per 1M tokens)

Quality
Input $3Output $15Cache read $0.3Cache write $3.75
Value
Input $1.5Output $7.5Cache read $0.15Cache write $1.875

Recommended Plan

Claude Sonnet 5 Starter Plan

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

Buy Plan

API Endpoint

Model IDanthropic/claude-sonnet-5

cURL

curl https://intertoken.ai/v1/chat/completions \
  -H "Authorization: Bearer $TOKENPORTAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-sonnet-5",
    "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-sonnet-5",
    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 Sonnet 5 · TokenPortal