Skip to content
Try Hanzo
Language: English (United States)

Claude Sonnet 4.5

Claude Sonnet 4.5 is Anthropic’s most advanced Sonnet model to date, optimized for real-world agents and coding workflows.

Context Window
1M
In
$3.34per million tokens
Out
$16.70per million tokens

Anthropic

Model IDanthropic/claude-sonnet-4.5

Specifications

Context Window
1M
Modalities
text
Price
$3.34 in · $16.70 out, per million tokens
Model ID
anthropic/claude-sonnet-4.5

Quick start

anthropic/claude-sonnet-4.5

$3.34 in · $16.70 out, per million tokens

TypeScript
import OpenAI from 'openai'
 
const client = new OpenAI({
  apiKey: process.env.HANZO_API_KEY,
  baseURL: 'https://api.hanzo.ai/v1'
})
 
const response = await client.chat.completions.create({
  model: 'anthropic/claude-sonnet-4.5',
  messages: [{ role: 'user', content: 'Hello!' }]
})
 
console.log(response.choices[0].message.content)
Get an API key →
200K1M$1.00$10.00

$66.80Bill a month

The same bill for this mix.

Claude Sonnet 4.5$66.801M
Claude Sonnet 4.6$66.801M

Use Claude Sonnet 4.5 via Hanzo AI

One API key. Every major model. OpenAI-compatible. Start free.