anthropic logo
anthropic

Anthropic: Claude Sonnet 4

Descrizione della fonte (inglese)

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. Achieving state-of-the-art performance on SWE-bench (72.7%),...

Panoramica

Specifiche del modello

Contesto
200.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
per milione di token
  • ≤200K$3
  • >200K$6
Output
$15
per milione di token
  • ≤200K$15
  • >200K$22.5
Lettura cache
$0.3
per milione di token
  • ≤200K$0.3
  • >200K$0.6
Scrittura cache
$3.75
per milione di token
  • ≤200K$3.75
  • >200K$7.5
Scrittura cache (1h)
$6
per milione di token
  • ≤200K$6
  • >200K$12
API

Configurazione del modello

Ragionamento

Ragionamento obbligatorio
No
Parametri predefiniti
No
API

Avvio rapido

Imposta OPENROUTER_API_KEY localmente. Python richiede requests; JavaScript viene eseguito in Node.js. Conserva la chiave sul server.

Documentazione API

curl --fail-with-body 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

2 provider

Verificato: 21 settembre 2026

Provider live su OpenRouter

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

OpenRouter

Amazon Bedrock

Non indicato
Contesto
200K
Output massimo
64K
Input
$3
Output
$15
Lettura cache
$0.3
Scrittura cache
$3.75

Amazon Bedrock

Non indicato
Contesto
200K
Output massimo
64K
Input
$3
Output
$15
Lettura cache
$0.3
Scrittura cache
$3.75
anthropic

4 modelli

Tutti i modelli
anthropic logoanthropic

Anthropic: Claude Opus 5.5

Claude Opus 5.5 is Anthropic's flagship model for demanding reasoning, coding, and long-horizon agentic work, succeeding Claude Opus 5. It is particularly strong at multi-step changes in large codebases, code...

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

Anthropic: Claude Opus 5.5 (batch)

Claude Opus 5.5 is Anthropic's flagship model for demanding reasoning, coding, and long-horizon agentic work, succeeding Claude Opus 5. It is particularly strong at multi-step changes in large codebases, code...

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

Anthropic: Claude Fable 5.1

Claude Fable 5.1 improves on Claude Fable 5 across the board, with the biggest gains in agentic coding, long-running agentic workflows, and knowledge work: long code refactors, front-end and visual...

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

Anthropic: Claude Fable 5.1 (batch)

Claude Fable 5.1 improves on Claude Fable 5 across the board, with the biggest gains in agentic coding, long-running agentic workflows, and knowledge work: long code refactors, front-end and visual...

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