الانتقال إلى المحتوى الرئيسي
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 128 text models
Pricecheaper than 27%$4.00
Context windowlarger than 43%1M
Max outputlarger than 32%64K

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

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

Capabilities

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

InTextImage
OutText

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

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.

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

ModelInputOutputContextMax output
Claude Sonnet 5$2.00$10.001M64K
Qwen 3.7 Max$2.70$8.051M64K
Qwen 3.8 Max$2.50$7.501M128K
GPT-6 Sol$2.00$10.001.05M128K
Qwen 3.8 2.4T$2.50$7.50256K64K

Other versions

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