anthropic logo
anthropic

Anthropic: Claude Sonnet 4

Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. $3 per million input tokens, $15 per million output tokens. 1,000,000 token context window, maximum output of 64,000 tokens. Higher uptime with 2 providers. Includes independent benchmarks from Artificial Analysis.

Panoramica

Specifiche del modello

Contesto
1.000.000 tokens
Output massimo
64.000 tokens
Architettura
text+image+file->text
Tokenizer
Claude
Limite di conoscenza
2025-01-31
Moderato
OPENROUTER

Prezzi completi

Tariffe sincronizzate da OpenRouter, per milione di token.

Input
$3
/M tokens
  • ≤200K$3
  • >200K$6
Output
$15
/M tokens
  • ≤200K$15
  • >200K$22.5
Lettura cache
$0.3
/M tokens
  • ≤200K$0.3
  • >200K$0.6
Scrittura cache
$3.75
/M tokens
  • ≤200K$3.75
  • >200K$7.5
Cache Write (1h)
$6
/M tokens
  • ≤200K$6
  • >200K$12
API

Configurazione del modello

Ragionamento

Moderato
No
Parametri predefiniti
No
API

Avvio rapido

Chiama questo modello tramite l’API compatibile OpenAI di OpenRouter.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-sonnet-4","messages":[{"role":"user","content":"Hello!"}]}'
Capacità e modalità

InputOutput

Input
imagetextfile
Output
text
Ragionamento

No

API

Parametri API supportati

include_reasoningmax_tokensreasoningstoptemperaturetool_choicetoolstop_ktop_p
Provider disponibili

5 provider

Provider live su OpenRouter

Disponibilità, latenza, throughput e routing cambiano continuamente. Consulta la fonte per i dati correnti.

OpenRouter

Google

unknown
Contesto
1M
Output massimo
64K
Input
$3.00
Output
$15.00
Lettura cache
$0.300
Scrittura cache
$3.75

Google

unknown
Contesto
1M
Output massimo
64K
Input
$3.00
Output
$15.00
Lettura cache
$0.300
Scrittura cache
$3.75

Amazon Bedrock

unknown
Contesto
200K
Output massimo
64K
Input
$3.00
Output
$15.00
Lettura cache
$0.300
Scrittura cache
$3.75

Google

unknown
Contesto
1M
Output massimo
64K
Input
$3.00
Output
$15.00
Lettura cache
$0.300
Scrittura cache
$3.75

Amazon Bedrock

unknown
Contesto
200K
Output massimo
64K
Input
$3.00
Output
$15.00
Lettura cache
$0.300
Scrittura cache
$3.75
anthropic

modelli

Tutti i modelli
anthropic logoanthropic

Claude Opus 5 (Fast)

Fast-mode variant of Opus 5 - identical capabilities with higher output speed at 2x pricing relative to regular Opus 5. Learn more in Anthropic's docs: https://platform.claude.com/docs/en/build-with-claude/fast-mode

Contesto
1M
Input
text · image · file
Output
text
Input: $10.00Output: $50.00per milione di token
Vedi i dettagli del modello
anthropic logoanthropic

Claude Opus 5

Claude Opus 5 is Anthropic’s flagship model for demanding reasoning, coding, and long-horizon agentic work. It is particularly strong at end-to-end software tasks, code review and bug finding, visual analysis...

Contesto
1M
Input
text · image · file
Output
text
Input: $5.00Output: $25.00per milione di token
Vedi i dettagli del modello
anthropic logoanthropic

Claude Opus 5 (batch)

Claude Opus 5 is Anthropic’s flagship model for demanding reasoning, coding, and long-horizon agentic work. It is particularly strong at end-to-end software tasks, code review and bug finding, visual analysis...

Contesto
1M
Input
text · image · file
Output
text
Input: $2.50Output: $12.50per milione di token
Vedi i dettagli del modello
anthropic logoanthropic

Anthropic: Claude Sonnet 5

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

Contesto
1M
Input
text · image · file
Output
text
Input: $2.00Output: $10.00per milione di token
Vedi i dettagli del modello