# Claude Sonnet 4.5 — Use via Hanzo AI API

> Claude Sonnet 4.5 is Anthropic’s most advanced Sonnet model to date, optimi... Call via Hanzo's OpenAI-compatible API. Context: 1M.

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

[Get API key](https://platform.hanzo.ai/api-keys)[Try in Chat](https://hanzo.ai/chat)

Context Window

**1M**

In

**$3.34**per million tokens

Out

**$16.70**per million tokens

Anthropic

Model ID`anthropic/claude-sonnet-4.5`

### Specifications

In_$3.34_

Out_$16.70_

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 →](https://platform.hanzo.ai/api-keys)

## More from Anthropic

[View all Anthropic models →](https://hanzo.ai/models/anthropic)

_200K__1M__$1.00__$10.00_

**$66.80**Bill a month

The same bill for this mix.

Input a month**10M**Output a month**2M**

Claude Sonnet 4.5**$66.80**1M

Claude Sonnet 4.6**$66.80**1M

- [Claude Haiku 4.5 anthropic/claude-haiku-4.5Claude Haiku 4.5 is Anthropic’s fastest and most efficient model, delivering near-frontier intelligence at a fraction of the cost and latency of larger Claude models. Matching Claude Sonnet 4’s performance...200K$1.11 → $5.57](https://hanzo.ai/models/anthropic/claude-haiku-4.5)
- [Claude Haiku 5.5 anthropic/claude-haiku-5.5Claude Haiku 5.5 is Anthropic's small, fast model for high-volume, cost-sensitive work such as summarization, subagents, and browser use. It succeeds Claude Haiku 4.5 with stronger coding, computer use, and...1M$0.111 → $0.557](https://hanzo.ai/models/anthropic/claude-haiku-5.5)
- [Claude Sonnet 4.6 anthropic/claude-sonnet-4.6Sonnet 4.6 is Anthropic's most capable Sonnet-class model yet, with frontier performance across coding, agents, and professional work. It excels at iterative development, complex codebase navigation, end-to-end project management with...1M$3.34 → $16.70](https://hanzo.ai/models/anthropic/claude-sonnet-4.6)
- [Claude Opus 5.5 anthropic/claude-opus-5.5Claude Opus 5.5 is Anthropic's flagship model for demanding reasoning, coding, and long-horizon agentic work, succeeding Claude Opus 5. It is particularly strong at multi-step changes in large codebases, code...1M$4.45 → $22.26](https://hanzo.ai/models/anthropic/claude-opus-5.5)
- [Claude Opus Latest ~anthropic/claude-opus-latestThis model always redirects to the latest model in the Claude Opus family.1M$4.45 → $22.26](https://hanzo.ai/models/anthropic/claude-opus-latest)
- [Claude Sonnet 5 anthropic/claude-sonnet-5Sonnet 5 is Anthropic's most capable Sonnet-class model, with frontier performance across coding, agents, and professional work. It supports adaptive thinking with selectable reasoning effort levels (low, medium, high, max,...1M$2.23 → $11.13](https://hanzo.ai/models/anthropic/claude-sonnet-5)

- [**Claude Fable 5 (opens in a new tab)**anthropic/claude-fable-51MClaude Fable 5 is a Mythos-class model from Anthropic, built for autonomous knowledge work and coding. It supports text, image, and file inputs with text output, with reasoning support and...](https://hanzo.app/models/anthropic/claude-fable-5)
- [**Claude Fable 5.1 (opens in a new tab)**anthropic/claude-fable-5.11MClaude Fable 5.1 improves on Claude Fable 5 across the board, with the biggest gains in agentic coding, long-running agentic workflows, and knowledge work: long code refactors, front-end and visual...](https://hanzo.app/models/anthropic/claude-fable-5.1)
- [**Claude Fable 5.1 (batch) (opens in a new tab)**anthropic/claude-fable-5.1:batch1MClaude Fable 5.1 improves on Claude Fable 5 across the board, with the biggest gains in agentic coding, long-running agentic workflows, and knowledge work: long code refactors, front-end and visual...](https://hanzo.app/models/anthropic/claude-fable-5.1:batch)
- [**Claude Haiku 5.5 (batch) (opens in a new tab)**anthropic/claude-haiku-5.5:batch1MClaude Haiku 5.5 is Anthropic's small, fast model for high-volume, cost-sensitive work such as summarization, subagents, and browser use. It succeeds Claude Haiku 4.5 with stronger coding, computer use, and...](https://hanzo.app/models/anthropic/claude-haiku-5.5:batch)

## Use Claude Sonnet 4.5 via Hanzo AI

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

[Get an API key](https://platform.hanzo.ai/api-keys)[Browse All Models](https://hanzo.ai/models)
