Skip to content

New: DeepSeek V4.1 Flash Derisked. In chat and on the API.

See modelsWhat's newReport a bug
Open chat

Claude Sonnet 5

The previous Sonnet: steady writing and coding.

Claude Sonnet 5 is an Anthropic model with a 1M-token context window. It reads images and lets you choose how hard it thinks.

Anthropic

10 models

Claude Sonnet 5 in the Anthropic constellation, with Claude Opus 5.5, Claude Sonnet 5.5, Claude Haiku 5.5, Claude Fable 5.1, Claude Fable 5, Claude Opus 5, Claude Opus 4.8, Claude Opus 4.7 and Claude Opus 4.6.

A star's size and colour follow its API output price. Anthropic in the model list

Facts

Context window
1M tokens
Input
Text and images
Thinking effort
Adjustable, up to High
Speed
Standard
Available on
Plus and above
Intelligence rank at Vani
#17

Based on data from Artificial Analysis (artificialanalysis.ai). The ranking is Vani's ordering of the models it offers and is not endorsed by Artificial Analysis. Source (opens in a new tab)

Guide

Best for

  • Writing
  • Coding

Claude Sonnet 5 API price

Use this model on the Vani API with the OpenAI- or Anthropic-compatible endpoints. Prepaid API prices per 1M tokens.

Model id

anthropic/claude-sonnet-5

30% below the official price

Claude Sonnet 5: prepaid API price per 1M tokens on Vani, beside the official price
Per 1M tokensOfficialOn Vani
Input$2.00
Output$10.00
Cached input$0.20

Official prices checked 1 Oct 2026. Source of the official prices (opens in a new tab)

In Vani Chat it uses your plan's allowance: tokens per plan.

Claude Sonnet 5 API quickstart

OpenAI-compatible: point any OpenAI SDK at https://api.vani.ai/v1 and send anthropic/claude-sonnet-5 as the model. The Anthropic-compatible /v1/messages endpoint works too.

curl https://api.vani.ai/v1/chat/completions \
  -H "Authorization: Bearer $VANI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-sonnet-5","messages":[{"role":"user","content":"Hello"}]}'

Compare with

Claude Sonnet 5: questions

What is Claude Sonnet 5?
Claude Sonnet 5 is an Anthropic model with a 1M-token context window. It reads images and lets you choose how hard it thinks.
How large is Claude Sonnet 5's context window?
Claude Sonnet 5 has a context window of 1M tokens: that is how much it can read at once. It reads images as well as text.
How much does the Claude Sonnet 5 API cost?
On the prepaid Vani API, Claude Sonnet 5 costs $1.40 per 1M input tokens and $7.00 per 1M output tokens ($0.14 per 1M cached input tokens). In Vani Chat it uses your plan's allowance.
Which Vani plan includes Claude Sonnet 5?
Claude Sonnet 5 is on Vani Chat's Plus plan and above.

Put a question to Claude Sonnet 5.

Claude Sonnet 5 is on Vani Chat's Plus plan and above.