Try Hanzo
Anthropic

Claude Sonnet Latest

This model always redirects to the latest model in the Claude Sonnet family.

Specifications

Context Window1M
Modalitiestext
Price…
Model ID~anthropic/claude-sonnet-latest
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-latest',
  messages: [{ role: 'user', content: 'Hello!' }]
})

console.log(response.choices[0].message.content)
…

More from Anthropic

Claude Fable 5anthropic/claude-fable-5
1M

Claude 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...

Claude Fable 5.1anthropic/claude-fable-5.1
1M

Claude 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...

Claude Fable 5.1 (batch)anthropic/claude-fable-5.1:batch
1M

Claude 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...

Claude Haiku 4.5anthropic/claude-haiku-4.5
200K

Claude 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...

Claude Haiku 5.5anthropic/claude-haiku-5.5
1M

Claude 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...

Claude Haiku 5.5 (batch)anthropic/claude-haiku-5.5:batch
1M

Claude 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...

Use Claude Sonnet Latest via Hanzo AI

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