Models

Claude Sonnet 5

Model id: anthropic/claude-sonnet-5

  • Agentic
  • Coding
  • Reasoning
  • Vision
  • Long context
  • Tools
  • Writing
  • Legal
  • Government

Anthropic’s Claude Sonnet 5, the practical default combining speed and strong intelligence.

Best for

most coding, agents, analysis, and knowledge work in production.

Provider
Anthropic
Context window
1,000,000
Release date
2026-05-01
Reasoning effort
lowmediumhighmaxDefault: high

Pricing

Input
$3.0864 / 1M
Output
$15.4319 / 1M
Cached input
$0.3086 / 1M
Cache write
$3.858 / 1M
Cache write (1h)
$6.1728 / 1M

Web search

Per successful search
$0.0154 / search

Billed on top of tokens when the model uses web search.

Amounts in Canadian dollars, converted at the Bank of Canada indicative rate (2026-07-31).

Performance

Milliseconds

Last 7 days

Time to first byte (p95)
2,551 ms
Output speed (p95)
161.7 tok/s
Samples
24 over 7 days

Measured on real traffic at Pass egress — not a synthetic benchmark.

Activity

Tokens

Top 5 tools · last 7 days

Tool activity appears only when at least 2 organizations have used this model recently.

Availability

Availability (%)

Last 7 days

Operational probes
99.85% over 7 days
Samples
8,614

View service status

Quick start

Call the API with a tonia_ key and the exact model id below.

curl

curl https://pass.tonia.ca:8443/v1/chat/completions \
  -H "Authorization: Bearer $TONIA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-sonnet-5",
    "messages": [{"role":"user","content":"Bonjour"}]
  }'

Python (OpenAI SDK)

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://pass.tonia.ca:8443/v1",
    api_key=os.environ["TONIA_API_KEY"],
)
response = client.chat.completions.create(
    model="anthropic/claude-sonnet-5",
    messages=[{"role": "user", "content": "Bonjour"}],
)

TypeScript (OpenAI SDK)

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://pass.tonia.ca:8443/v1",
  apiKey: process.env.TONIA_API_KEY,
});

const response = await client.chat.completions.create({
  model: "anthropic/claude-sonnet-5",
  messages: [{ role: "user", content: "Bonjour" }],
});

With the Anthropic API (/v1/messages), Claude models are used without the anthropic/ prefix.

Create a key in the portal