anthropic

Anthropic: Claude Sonnet 4

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

Prices updated: 7/28/2026

Input
600
credits / 1M tokens
Output
3,000
credits / 1M tokens
Context
1000k
tokens
Messages per $1 USD
≈ 48
typical message: 1k tokens in + 500 out

Prices in credits per million tokens. 1 credit = $0.01 USD. Final price, billed in MXN at the exchange rate on payment day + VAT (CFDI). Subject to change without notice.

Additional prices

Cache (read): 60 /1M
Cache (write): 750 /1M
Web search: 2,000,000 /1M

Spec sheet

Inputs
image, text, file
Outputs
text
Max output tokens
64,000
Knowledge cutoff
2025-01-31
Tokenizer
Claude
Capabilities
Text / LLM
Vision / OCR
Tools
Reasoning

Use it in your code

One OpenAI-compatible endpoint. Switch models by changing one line.

curl https://api.deployalo.com/ai/gateway/v1/chat/completions \
  -H "Authorization: Bearer $DEPLOYALO_AI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-sonnet-4","messages":[{"role":"user","content":"Hola"}]}'

Ready to use it?

Top up a credit pack, create your API key with a spend cap and start in minutes.