Skip to main content
AnthropicJun 29, 2026

Claude Sonnet 5

claude-sonnet-5Anonymized

Claude Sonnet 5 follows Sonnet 4.6, substantially improving on it in coding and agentic work and reaching near-Opus quality on many tasks. It features a 1M token context window, adaptive thinking, and strong document and vision understanding.

$2.00/$10.00
per 1M in / out
1M
context window
64K
max output
How it comparesamong 143 text models
GPQA Diamondhigher than 55%85.9%
Blended pricecheaper than 27%$4.00
Context windowlarger than 42%1M
Max outputlarger than 35%64K

Further right is better. Hover a dot for its model.

Time to first token— 
Output speed— 
Uptime— 

Last 24 hours of Venice traffic.How it’s measured

Capabilities

What the model takes in, returns and supports through the API.

InTextImage
OutText

Not supportedvideo input, audio input, X search and log probabilities

Benchmarks

GPQA Diamond
85.9%63rd of 139 · 29 score higher for less, including Gemini 3.8 Flash, Gemini 3.7 Flash and Gemini 4 Hydrogen

Specs

Model ID
claude-sonnet-5
Endpoint
POST /api/v1/chat/completions
Context window
1,000,000 tokens
Max output
64,000 tokens
Reasoning
low · medium · high · xhigh · max · default medium
Precision
Set by the provider
Privacy
Anonymized
Weights
Closed
Added
Jun 29, 2026

Compare

ModelInputOutputGPQA DiamondContextMax outputFirst tokenSpeed
Claude Sonnet 5$2.00$10.0085.9%1M64K——
Qwen 3.7 Max$2.70$8.0585.4%1M64K——
Qwen 3.8 Max$2.50$7.5065.2%1M128K——
GPT-6 Sol$2.00$10.0092.9%1.05M128K——
Qwen 3.8 2.4T$2.50$7.5065.2%256K64K——

Other versions

  1. Claude Sonnet 4.6Feb 2026
  2. Claude Sonnet 5Jun 2026
  3. Claude Sonnet 5.5Sep 2026

Pricing

Billed per token in USD. Reasoning tokens bill as output.

Input$2.00per 1M tokens
Cached input$0.2090% off input
Output$10.00per 1M tokens

Estimate a workload

$0.009per request
$90.00for 10,000 requests

Blended price against similar models

Claude Sonnet 5$4.00

Per 1M tokens at three input tokens for each output token.

Quickstart

OpenAI-compatible: point any OpenAI SDK at the Venice base URL with a Venice API key.

curl https://api.venice.ai/api/v1/chat/completions \
-H "Authorization: Bearer $VENICE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-5",
"messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }],
"reasoning_effort": "medium"
}'
Base URL https://api.venice.ai/api/v1

Parameters

ParameterValuesNotes
modelclaude-sonnet-5Required
messagestext · image_urlContent parts the model reads
max_completion_tokensUp to 64,000Counts reasoning tokens
reasoning_effortlow | medium | high | xhigh | maxDefault medium
toolsFunction definitionsWith tool_choice
response_format{ type: "json_schema" }Output that matches a schema
streamtrue | falseServer-sent events
venice_parameters.enable_web_searchauto | on | offWeb results and citations