Anthropic

Claude Sonnet 5 (batch)

by Anthropictext+image+file->text1 endpoint

Overview

Sonnet 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, and x-high), a 1M-token context window, and text, image, and file inputs. Sonnet 5 uses an updated tokenizer and includes real-time cyber safeguards that block certain high-risk dual-use activities.

Capabilities

Text generation
Image understanding
Tool use / Function calling
Structured output
Extended reasoning
Prompt caching
Long context
File input
Stop sequences

Modalities

Input
TextImageFile
Output
Text

Technical Specifications

Context Window
1M tokens
Max Output
128K tokens
Tokenizer
Claude
Content Moderation
Enabled

Supported Parameters

include_reasoningmax_tokensreasoningreasoning_effortresponse_formatstopstructured_outputstool_choicetoolsverbosity

Pricing

Per 1M tokens
Input$1.00
Output$5.00
Cache read$0.10
Cache write$1.25
Added
June 30, 2026
Last synced 9/19/2026