Claude Sonnet 5 vs DeepSeek V3 — Precios comparativos
Precios de API y detalles del tokenizador para Claude Sonnet 5 (Anthropic) y DeepSeek V3 (DeepSeek) uno al lado del otro.
Precios comparativos
Característica
Claude Sonnet 5
DeepSeek V3
Proveedor
Anthropic
DeepSeek
Entrada (por 1M tokens)
$2.00
$0.270
Salida (por 1M tokens)
$10.00
$1.10
Caché de contexto
Sí — 90% de descuento en tokens en caché
No
Descuento de API en lote
50% de descuento
No disponible
Ventana de contexto
1M tokens
128K tokens
Tokenizador
Anthropic tokenizer (Opus 4.7+)
SentencePiece (Llama)
ⓘ Claude Sonnet 5: Introductory pricing through Aug 31, 2026. Standard price: $3.00 / $15.00 per MTok after that date.
ⓘ DeepSeek V3: Retired from DeepSeek's own API on 2026-07-24. Figures reflect third-party hosts and are not vendor-published; verify before relying on them.
Ejemplo del mundo real
1000 solicitudes de API por mes, cada una con 500 tokens de entrada y 200 tokens de salida (500K entrada + 200K salida en total).
Claude Sonnet 5
$3.0000
Entrada: $1.0000 +Salida: $2.0000
DeepSeek V3
$0.3550
Entrada: $0.1350 +Salida: $0.2200
DeepSeek V3 es 88% más barato para esta carga de trabajo — ahorrando $2.6450 por mes con este volumen.
Preguntas frecuentes
No, DeepSeek V3 es más barato para la carga de trabajo típica anterior. Con $0.270/1M de entrada y $1.10/1M de tokens de salida, cuesta $0.3550 frente a $3.0000 para Claude Sonnet 5 — una diferencia del 88%.
Claude Sonnet 5 admite una ventana de contexto de 1M tokens. DeepSeek V3 admite una ventana de contexto de 128K tokens. Una ventana de contexto más grande te permite incluir más texto — documentos, historial de conversación o código — en una sola llamada de API.
Claude Sonnet 5 supports context caching (90% off repeated tokens). It offers a 50% Batch API discount. DeepSeek V3 does not support context caching. It does not offer a batch API discount.
No, they use different tokenizers. Claude Sonnet 5 uses the Anthropic tokenizer (Opus 4.7+), while DeepSeek V3 uses SentencePiece (Llama). Different tokenizers split text differently, so the same prompt will produce different token counts on each model — the effective cost difference may be larger or smaller than the per-token price difference alone suggests.
Claude Sonnet 5 (Anthropic): $2 input / $10 output per 1M tokens. DeepSeek V3 (DeepSeek): $0.27 input / $1.1 output per 1M tokens. Rates shown before caching or batch discounts.
For an 80% output / 20% input workload — typical for code generation or long-form writing — Claude Sonnet 5 costs $8.4000 per 1M total tokens and DeepSeek V3 costs $0.9340. DeepSeek V3 is 89% cheaper for this pattern. For your exact ratio, paste a real prompt into the calculator above.
Claude Sonnet 5 has a 1M-token context window — approximately 750K words or ~3K pages of standard text. DeepSeek V3 has a 128K-token context window — approximately 96K words or ~384 pages. (Estimates assume ~0.75 words per token.)
Calcula costos para tu prompt real
Pega tu prompt en la calculadora y obtén recuentos exactos de tokens usando el tokenizador real de cada modelo — todo en tu navegador.