Conjunto de datos de referencia

Precios de APIs de modelos de IA (2026).

Precios por token lado a lado de 58 modelos de IA frontier y de nivel económico en 2026: Claude, GPT-5, Gemini, Grok, DeepSeek, Llama y más. Filtra por proveedor o nivel, verifica contra la fuente y conéctalo a la calculadora de costos. Los precios se verifican a diario contra las fuentes de los proveedores, y el conjunto de datos se publica como un archivo JSON abierto (CC-BY-4.0) que puedes usar en tus propias herramientas. Para el desglose completo de lo que cuesta construir y operar un agente de IA, lee cuánto cuesta construir un agente de IA.

Verificado: 2026-11-22·58 modelos·14 proveedores·Conjunto de datos abierto en GitHub ↗
Verifica siempre los precios directamente con el proveedor antes de comprometer presupuesto. Los proveedores cambian precios, lanzan niveles nuevos y aplican descuentos por cuenta que un conjunto de datos público no puede seguir. Cada bloque de proveedor de abajo enlaza a su página oficial de precios.
Sobre las fechas de lanzamiento: una fecha con enlace (↗) apunta al anuncio del proveedor donde aparece. Una fecha en texto plano significa que el proveedor no publica una fecha de lanzamiento explícita, así que usamos la fecha en que el modelo apareció por primera vez en los marketplaces públicos de APIs o, cuando varios informes creíbles de terceros coinciden, la fecha de consenso.

Precios de APIs de IA en 2026 de un vistazo.

Tres niveles, elegidos según la cuenta de costo por tarea. El razonamiento de nivel frontier cuesta $2-$10 por millón de tokens de entrada; el nivel equilibrado ($1-$3 por millón) resuelve ~90% del trabajo de agentes en producción; el nivel económico ($0.10-$1 por millón) cubre tareas mecánicas de alto volumen como la clasificación y la extracción.

Precios de API por nivel
NivelCaso de usoMenor costo de entradaEjemplo frontier

Frontier

Hardest reasoning, ambiguous decisions, long-context synthesis$1.25/M (Grok 4.3)$10/M (Claude Fable 5)

Balanced

Most production agent work — drafting, planning, multi-step workflows$0.417/M (Hy4)$3/M (Claude Sonnet 4.6)

Value

Classification, extraction, routing, high-volume mechanical work$0.0507/M (DeepSeek V4.1 Flash)$1/M (Claude Haiku 4.5)

Menor costo de entrada entre todos los modelos rastreados de cada nivel al 2026-11-22. Los tokens de salida cuestan de 2 a 6× más que los de entrada en la mayoría de los proveedores. El desglose completo por modelo está en la tabla filtrable de abajo.

Proveedor

Nivel

Mostrando58de58modelos
Precios de Anthropic
ModeloEntradapor 1M de tokensSalidapor 1M de tokensContextoNivel
Claude Fable 5.2Lanzamiento

Anthropic's top generally available model, positioned for demanding reasoning and long-running agent work. $8/$40 is 20% cheaper than Fable 5 and 5.1 at $10/$50, and still double Opus 5.5. Pay for it when a wrong decision costs more than the tokens; route everything else to Opus or Sonnet.

$8$401Mfrontier
Claude Fable 5Lanzamiento

Superseded by Fable 5.2 (2026-11-09) at a lower $8/$40. Anthropic's premium creative-writing and roleplay model. Priced 2x above Opus 5. Different design target than Opus — reach for it when character consistency, prose quality, or long-form fiction matters more than raw reasoning throughput.

$10$501Mfrontier
Claude Mythos 5

Limited-availability frontier model (Glasswing program). Same pricing as Fable 5. Not generally accessible — access via Anthropic's Glasswing program.

$10$501Mfrontier
Claude Opus 5.5Lanzamiento

Anthropic's current Opus, built for long-running coding and knowledge work. $4/$20 is 20% under the $5/$25 that every Opus from 4.5 to 5 cost. The default pick for hard agent decisions and multi-file code changes.

$4$201Mfrontier
Claude Opus 5

Previous flagship. Superseded by Opus 5.5 (2026-09-22) at a lower $4/$20. Same $5/$25 pricing as the entire Opus 4.x line. No reason to pick it over Opus 5.5 unless you've pinned to this version.

$5$251Mfrontier
Claude Opus 5 Fast

Low-latency variant of Opus 5 — 2x the price for guaranteed throughput and faster time-to-first-token. Right pick for production agentic loops where latency matters more than cost.

$10$501Mfrontier
Claude Opus 4.8Lanzamiento

Previous flagship — superseded by Opus 5 at the same $5/$25 price. Still accessible via API for backwards compatibility. No reason to pick over Opus 5 unless you've pinned to this version.

$5$251Mfrontier
Claude Opus 4.8 FastLanzamiento

Deprecated by Anthropic. Fast mode for Opus 4.8 is still sold at $10/$50, double the standard Opus 4.8 rate, but Anthropic lists it as deprecated. Superseded by Opus 5 Fast at the same price. Don't start a new build on it.

$10$501Mfrontier
Claude Opus 4.7Lanzamiento

Previous flagship — superseded by Opus 4.8 (2026-05-28) at the same price. Still accessible via API for backwards compatibility.

$5$251Mfrontier
Claude Sonnet 5.5Lanzamiento

Anthropic's current balanced-tier model, at the same $2/$10 as Sonnet 5. Half the price of Opus 5.5 and the right default for the bulk of production agent work: drafting, planning, multi-step workflows.

$2$101Mbalanced
Claude Sonnet 5

Previous balanced-tier model. Superseded by Sonnet 5.5 (2026-09-28) at the same $2/$10. The $2/$10 rate launched as introductory pricing and was still Anthropic's listed price in November 2026. Still accessible via API for backwards compatibility.

$2$101Mbalanced
Claude Sonnet 4.6Lanzamiento

Older balanced-tier model. Superseded by Sonnet 5.5 (2026-09-28), which costs a third less at $2/$10. Still fully accessible via API for backwards compatibility.

$3$151Mbalanced
Claude Haiku 5.5Lanzamiento

Anthropic's current small model for classification, extraction, and routing. $0.10/$0.50 is a tenth of Haiku 4.5's price, with a 1M context instead of 200k. Pricing shown is for prompts up to 100k tokens; it rises to $0.50/$2.50 above that.

$0.10$0.501Mvalue
Claude Haiku 4.5Lanzamiento

Previous small model. Superseded by Haiku 5.5 (2026-10-07) at a tenth of the price. Still accessible via API if you've pinned to it.

$1$5200kvalue
Precios de OpenAI
ModeloEntradapor 1M de tokensSalidapor 1M de tokensContextoNivel
GPT-6 AstraLanzamiento

The top of OpenAI's GPT-6 line, tied for the most expensive model on this list. At $10/$50 it costs 5x GPT-6.1 Sol, so reserve it for the hardest reasoning steps rather than whole workflows.

$10$501.05Mfrontier
GPT-6.1 SolLanzamiento

OpenAI's workhorse in the GPT-6 line, priced level with Claude Sonnet 5.5 at $2/$10. The OpenAI default for production agent work. Follows GPT-6 Sol (2026-09-22) at the same price.

$2$101.05Mbalanced
GPT-6.1 TerraLanzamiento

The mid-priced GPT-6 model: half the cost of GPT-6.1 Sol at $1/$5. Worth testing first on any step where Sol feels like overkill.

$1$51.05Mbalanced
GPT-6 LunaLanzamiento

OpenAI's cheapest GPT-6 model, priced level with Claude Haiku 5.5 at $0.10/$0.50. Half the input price of GPT-5.4 nano. The OpenAI pick for classification, extraction, and routing at volume.

$0.10$0.501.05Mvalue
GPT-5.5Lanzamiento

OpenAI's frontier model before the GPT-6 line shipped in September 2026. At $5/$30 it now costs more than GPT-6.1 Sol at $2/$10. Marketed for coding and professional work.

$5$30400kfrontier
GPT-5.4Lanzamiento

The full GPT-5.4 — not the mini. Comparable pricing to Claude Sonnet with OpenAI's tool-use and computer-use stack.

$2.5$151.05Mbalanced
GPT-5.4 miniLanzamiento

OpenAI's value tier. Strong on coding, computer use, and subagent workloads.

$0.75$4.5128kvalue
GPT-5.4 nanoLanzamiento

OpenAI's cheapest model. ~4x cheaper than GPT-5.4 mini. Best for high-volume mechanical work — classification, extraction, format conversion — where Haiku-tier output is sufficient.

$0.20$1.25128kvalue
GPT-5.3 Codex

OpenAI's coding-specific model — powers the Codex CLI and ChatGPT cloud-runner agent. Tuned for software engineering tasks; competitive with Claude Sonnet on coding-only benchmarks at lower input cost.

$1.75$14400kbalanced
Precios de xAI
ModeloEntradapor 1M de tokensSalidapor 1M de tokensContextoNivel
Grok 4.7Lanzamiento

xAI's newest Grok, at the same $2/$6 and 500k context as Grok 4.5 and 4.6. Output is 40% cheaper than Claude Sonnet 5.5 or GPT-6.1 Sol, which matters for long-output work. Grok 4.3 is still the pick when you need a 1M window.

$2$6500kfrontier
Grok 4.5Lanzamiento

Superseded by Grok 4.7 (2026-09-21) at the same price. xAI's flagship as of July 2026 — the model xAI then pointed everyone to for everything, including code. It costs more than Grok 4.3 ($2/$6 vs $1.25/$2.50) and drops to a 500k context (half of 4.3's 1M), the trade for what xAI bills as its most intelligent and fastest model. Reach for 4.3 instead when you need the 1M window or the lower price, and for cheap agentic coding, Grok Build 0.1 is still the value pick. xAI also ships separately-priced Voice and Imagine APIs — see the Voice & Media APIs section below.

$2$6500kfrontier
Grok 4.3Lanzamiento

The previous xAI flagship, still worth it: a 1M context — double Grok 4.5's 500k — at half the price ($1.25/$2.50), which makes it the better call for long-document or high-volume work where 4.5's extra reasoning isn't worth 2–3× the token cost. Live web access via X integration, agentic tool calling, non-reasoning mode by default. xAI also lists dated Grok 4.20 reasoning, non-reasoning, and multi-agent snapshots at this same price; we track the headline models here.

$1.25$2.51Mfrontier
Grok Build 0.1Lanzamiento

xAI's coding-specific model — trained for agentic coding workflows. xAI now steers general users to Grok 4.5 for code, but Build 0.1 stays the cheaper, faster option: a fraction of 4.5's output price with a 256k context (enough for most repo work). Direct competitor to GPT-5 mini and Claude Haiku at the value tier for coding tasks.

$1$2256kvalue
Precios de Google
ModeloEntradapor 1M de tokensSalidapor 1M de tokensContextoNivel
Gemini 4 CarbonLanzamiento

Google's most capable reasoning model, aimed at complex software engineering and multi-step agents. $2/$10 puts a top-tier Google model at Claude Sonnet 5.5 pricing. Not available on Google's free tier, and thinking tokens are billed.

$2$101Mfrontier
Gemini 4 ArgonLanzamiento

The efficiency-tuned Gemini 4 model: Google pitches faster responses and fewer tokens per turn than Carbon. Listed at the same $2/$10 per million, so any saving comes from using fewer tokens, not a lower rate.

$2$101Mbalanced
Gemini 4 HydrogenLanzamiento

The everyday Gemini 4 model for coding and agent workflows, 25% cheaper than Carbon at $1.50/$7.50 with the same 1M context.

$1.5$7.51Mbalanced
Gemini 3.8 FlashLanzamiento

Google's current Flash model, at roughly half the price of Gemini 3.5 Flash. The Google pick for high-volume agent steps that need more than a lite model.

$0.82$4.1251Mbalanced
Gemini 2.5 ProLanzamiento

Largest context window on the list. Pricing shown is for prompts ≤200k tokens; rises to $2.50/$15 above that.

$1.25$102Mbalanced
Gemini 2.5 FlashLanzamiento

Hybrid reasoning model with 1M context and tunable thinking budgets.

$0.30$2.51Mvalue
Gemini 3.5 FlashLanzamiento

Superseded by Gemini 3.8 Flash (2026-09-02) at about half the price. Launched as Google's Flash flagship — 'most intelligent model built for speed' per their docs. Combines frontier intelligence with native Google Search and Maps grounding (5k free prompts/month, then $14 per 1k queries). Context caching at $0.15/M.

$1.5$91Mbalanced
Gemini 3.1 Pro PreviewLanzamiento

Multimodal, agentic, strong on coding. Pricing shown is for prompts ≤200k tokens; rises to $4/$18 above that.

$2$122Mbalanced
Gemini 3 Flash PreviewLanzamiento

Google's high-speed thinking model for agentic workflows. Strong on coding and multi-turn chat. Top 5 on public model marketplaces this week.

$0.50$31Mbalanced
Gemini 3.1 Flash-Lite PreviewLanzamiento

Google's most cost-efficient model. Optimised for high-volume agentic tasks and simple data processing.

$0.25$1.51Mvalue
Precios de Meta / Together AI
ModeloEntradapor 1M de tokensSalidapor 1M de tokensContextoNivel
Llama 3.3 70B (Together AI)Lanzamiento

Open weights. The price shown reflects Together AI; other inference providers host the same weights at different rates.

$0.88$0.88128kvalue
Precios de DeepSeek
ModeloEntradapor 1M de tokensSalidapor 1M de tokensContextoNivel
DeepSeek V4.1 Flash 1017Lanzamiento

DeepSeek's current Flash model, sold as deepseek-flash. The most-used model by token volume on public model marketplaces in mid-November 2026. Pricing shown is DeepSeek's off-peak rate; it doubles to $0.30/$1.20 during peak hours, 01:00-04:00 and 06:00-10:00 UTC on weekdays. Cache hits drop input to $0.003/M off-peak. Third-party hosts often undercut these rates.

$0.15$0.601Mvalue
DeepSeek V4.1 FlashLanzamiento

The September release of V4.1 Flash. DeepSeek's own API has moved on to the 1017 snapshot, so this one is only available from third-party hosts; the price shown is the public marketplace rate, not a DeepSeek list price.

$0.05$0.201Mvalue
DeepSeek V4 FlashLanzamiento

Retired by DeepSeek. Superseded by DeepSeek V4.1 Flash 1017 (2026-10-17): requests to the legacy deepseek-v4-flash name are now served by that model and billed at its price, shown here at the off-peak rate.

$0.15$0.601Mvalue
DeepSeek V3.2Lanzamiento

DeepSeek's capable open-weight model. Extraordinary value — frontier-class performance at $0.25/M input. Top 3 on public model marketplaces this week.

$0.26$0.38131kvalue
Precios de Moonshot AI
ModeloEntradapor 1M de tokensSalidapor 1M de tokensContextoNivel
Kimi K3.1 ProLanzamiento

Moonshot AI's newest model. $2/$10 matches Claude Sonnet 5.5 and GPT-6.1 Sol and is about double the K2 line. 1M context, up from 262k on K2. Judge it against those two on your own task, not on price.

$2$101Mbalanced
Kimi K2.7 CodeLanzamiento

Moonshot AI's coding-specific model — trained for agentic coding workflows. 262k context, direct competitor to Grok Build 0.1. Moonshot plans to retire the whole K2 series by the end of December 2026 and closed it to new accounts on October 31, so don't start a new build on it.

$0.95$4262kvalue
Kimi K2.6Lanzamiento

Moonshot AI's general-purpose model from the K2 line; the K3 line (July 2026) is newer. Moonshot plans to retire the K2 series by the end of December 2026 and closed it to new accounts on October 31. Plan a move to Kimi K3.1 Pro or another vendor.

$0.95$4262kbalanced
Precios de z.ai
ModeloEntradapor 1M de tokensSalidapor 1M de tokensContextoNivel
GLM 5.3Lanzamiento

z.ai's current mainline model, at the same $1.40/$4.40 list price as GLM 5.2 and 5.1. Cached input is $0.26/M. About 30% under Claude Sonnet 5.5 on input and less than half its output price.

$1.4$4.41Mbalanced
GLM 5.3 FlashLanzamiento

z.ai's cheap, fast tier at $0.15/$0.50 with a 1M context. Level with DeepSeek's off-peak Flash rate on input and a little cheaper on output, with no peak-hour surcharge.

$0.15$0.501Mvalue
GLM 5.2Lanzamiento

Previous z.ai flagship. Superseded by GLM 5.3 (2026-08-18). Successor to GLM 5.1 with 5x the context (1M tokens). z.ai lists 5.1, 5.2 and 5.3 at the same $1.40/$4.40, so there is no price reason to stay on it.

$1.4$4.41.048Mbalanced
GLM 5.1Lanzamiento

Previous z.ai flagship — superseded by GLM 5.2 (2026-06-13). Still available at the same $1.40/$4.40 as the newer models, with a 200k context.

$1.4$4.4202kbalanced
Precios de Mistral
ModeloEntradapor 1M de tokensSalidapor 1M de tokensContextoNivel
Mistral Large 4Lanzamiento

Mistral's current general-purpose model, with open weights per Mistral. $0.70/$2.10 is 65% under Mistral Large 2.1 and about half of GLM 5.3, with a 1M context instead of 128k. Cached input is $0.07/M. The Mistral pick for any new build.

$0.70$2.11Mbalanced
Mistral Large 2.1Lanzamiento

Superseded by Mistral Large 4 (2026-11-05), which costs 65% less at $0.70/$2.10. European frontier model. Stronger data residency story than US providers — useful for EU compliance-heavy workflows.

$2$6128kbalanced

Tencent

Precios de Tencent
ModeloEntradapor 1M de tokensSalidapor 1M de tokensContextoNivel
Hy4Lanzamiento

Tencent's current general model. Second by token volume on public model marketplaces in mid-November 2026, within two weeks of release. $0.42/$1.25 with a 1M context is about a fifth of Claude Sonnet 5.5's input price.

$0.42$1.25051Mbalanced

StepFun

Precios de StepFun
ModeloEntradapor 1M de tokensSalidapor 1M de tokensContextoNivel
Step 5 PreviewLanzamiento

StepFun's preview of its next flagship. $1/$2.70 with a 1M context. Preview models change price and behaviour without much notice, so don't build a production workflow on it yet.

$1$2.71Mbalanced
Precios de Xiaomi
ModeloEntradapor 1M de tokensSalidapor 1M de tokensContextoNivel
MiMo-V2.6-ProLanzamiento

Xiaomi's top general model at $0.435/$0.87 with a 1M context. About 3x the price of MiMo-V2.6-Flash. Within 5% of Tencent Hy4 on input and 30% cheaper on output. Cache hits drop input to $0.0036/M. Worth testing for high-volume agent steps where a $2/$10 model is overkill.

$0.43$0.871Mbalanced
MiMo-V2.6-FlashLanzamiento

Xiaomi's fast, cheap tier at $0.14/$0.28 with a 1M context. Roughly level with DeepSeek V4.1 Flash and GLM 5.3 Flash on input and about half their output price. The rate shown is the public marketplace price, not yet checked against Xiaomi's own price list.

$0.14$0.281.05Mvalue

MiniMax

Precios de MiniMax
ModeloEntradapor 1M de tokensSalidapor 1M de tokensContextoNivel
MiniMax M3.1 FlashLanzamiento

MiniMax's cheap tier at $0.075/$0.30, a quarter of the price of MiniMax M3, with a 1M context.

$0.07$0.301Mvalue
Precios de Alibaba
ModeloEntradapor 1M de tokensSalidapor 1M de tokensContextoNivel
Qwen3.8 MaxLanzamiento

Alibaba's high-end Qwen model, priced level with Grok 4.7 at $2/$6. Output is 40% cheaper than Claude Sonnet 5.5 or GPT-6.1 Sol. The price tracks the 0902 snapshot.

$2$61Mfrontier
Qwen3.8 FlashLanzamiento

Alibaba's cheap Qwen tier at $0.15/$0.47 with a 1M context, about a thirteenth of Qwen3.8 Max. Level with GLM 5.3 Flash on input and slightly cheaper on output. One flat rate up to 1M input tokens. The Qwen pick for classification, extraction, and routing.

$0.15$0.471Mvalue

Más allá de los modelos de chat

APIs de voz y medios.

Agentes de voz, texto a voz, transcripción, generación de imágenes y de video: APIs que cobran por hora, carácter, imagen o segundo en lugar de por token. Esta sección parte con proveedores que hemos verificado contra la fuente. Iremos sumando más a medida que confirmemos sus páginas de precios.

xAI

8 productos
Precios de APIs de voz y medios: xAI
ProductoCategoríaPrecio

xAI Voice Agent

Real-time conversational voice agent. Bundled speech-to-text, LLM, and TTS in one priced unit.

Voice agent$3.00 / hour

xAI TTS

Standalone text-to-speech endpoint. Pricing is per character of input text, not per second of audio output.

Text-to-speech$15.00 / 1M chars

xAI STT (batch)

Asynchronous transcription — submit audio, poll for the result. Cheapest of xAI's STT options.

Speech-to-text$0.10 / hour

xAI STT (streaming)

Real-time streaming transcription. 2x the batch rate; the right pick for live captioning or voice agent backends.

Speech-to-text$0.20 / hour

xAI Imagine — Image

Image generation and editing at 1K or 2K resolution. Industry-leading speed per xAI's marketing. The standard tier — the higher-fidelity quality tier is 2.5× the price.

Image generation$0.02 / image

xAI Imagine — Image (quality)

The higher-fidelity image tier, 2.5× the standard $0.02 rate. Worth it when output quality matters more than per-image cost.

Image generation$0.05 / image

xAI Imagine — Video

Video generation at 480p or 720p. Priced per second of output video, not per second of compute. The 1.5 model costs more per second for higher quality.

Video generation$0.05 / second

xAI Imagine — Video 1.5

The newer, higher-quality video model at $0.08/second — 60% more than the base Imagine video rate. Priced per second of output video.

Video generation$0.08 / second

¿Ves un error o quieres que sumemos un proveedor? Las APIs de voz y medios no tienen un agregador único como los modelos de chat, así que la verificación se hace proveedor por proveedor. Abre un issue en el repositorio ai-agent-pricing con una captura de la página de precios del proveedor y lo agregamos.

Haz tus propias cuentas

El precio es solo el comienzo. La pregunta real es cuánto cuesta tu flujo de trabajo.

La calculadora de costos combina estos datos de precios con estimaciones realistas de tokens por tarea en diez flujos de trabajo de quienes construyen, desde la clasificación de tickets hasta la revisión de código, para que veas la factura mensual con tu volumen real y no solo la tarifa de portada.

Abrir la calculadora de costos →

Conjunto de datos abierto

Usa estos datos de precios en tu propio producto.

El conjunto de datos completo se publica como pricing.json en un repositorio público de GitHub. CC-BY-4.0. Sin API key, sin límite de peticiones, sin autenticación. Se actualiza automáticamente cuando cambian los precios.

curl

curl -O https://raw.githubusercontent.com/lucaspowell8020/ai-agent-pricing/main/pricing.json

JavaScript

const data = await fetch(
  "https://raw.githubusercontent.com/lucaspowell8020/ai-agent-pricing/main/pricing.json"
).then((r) => r.json());

const opus = data.models.find((m) => m.slug === "claude-opus-4-8");
console.log(opus.inputPricePerMillion, opus.outputPricePerMillion);

Python

import json, urllib.request

data = json.loads(urllib.request.urlopen(
    "https://raw.githubusercontent.com/lucaspowell8020/ai-agent-pricing/main/pricing.json"
).read())

opus = next(m for m in data["models"] if m["slug"] == "claude-opus-4-8")
print(opus["inputPricePerMillion"], opus["outputPricePerMillion"])

Preguntas frecuentes

Lo que se pregunta quien construye antes de elegir un modelo.

¿Cuánto cuesta la API de Claude?

El precio de la API de Claude depende del modelo. Claude Opus 4.8 cuesta $5 por millón de tokens de entrada y $25 por millón de tokens de salida. Claude Sonnet 4.6 cuesta $3 de entrada y $15 de salida. Claude Haiku 4.5 cuesta $1 de entrada y $5 de salida. Anthropic recortó el precio de Opus un 66% a principios de 2026, y el razonamiento de nivel frontier quedó mucho más accesible. El prompt caching puede reducir el costo de entrada otro 50–90% en consultas repetidas.

¿Cuánto cuesta GPT-5?

GPT-5 cuesta $1.25 por millón de tokens de entrada y $10 por millón de tokens de salida. GPT-5 mini cuesta $0.25 de entrada y $2 de salida, unas 5× menos. La línea frontier de OpenAI pasó de llamarse GPT-4 a GPT-5 en 2025. La entrada en caché cuesta aproximadamente un 50% de la entrada estándar.

¿Cuál es la API de LLM más barata?

DeepSeek V4 Flash es hoy el modelo creíble más barato, con $0.14 por millón de tokens de entrada y $0.28 por millón de tokens de salida: unas 35× menos que Claude Sonnet 4.6 en entrada. Gemini 2.5 Flash y Claude Haiku 4.5 son las opciones más baratas de los grandes proveedores de EE. UU. Entre los modelos de pesos abiertos, Llama 3.3 70B vía Together AI es competitivo en el nivel económico. El modelo barato adecuado depende de tu tarea: los modelos de nivel económico resuelven bien la clasificación y las respuestas cortas, pero les cuesta el razonamiento complejo.

¿Cómo mantienen la exactitud de estos datos de precios?

Una auditoría automatizada se ejecuta a diario. Las variaciones pequeñas (menos del 25% tanto en entrada como en salida) se aplican automáticamente y se publican el mismo día. Los cambios mayores (nuevos precios, modelos descontinuados, fusiones de niveles) pasan por revisión editorial humana contra la página de precios en vivo del proveedor antes de publicarse. Las páginas de los proveedores siguen siendo la fuente de verdad; este conjunto de datos es un espejo limpio y legible por máquinas, no un sustituto. La fecha exacta de verificación aparece en esta página y va incrustada en el JSON del conjunto de datos público.

¿Puedo usar estos datos de precios en mi propio producto?

Sí. El conjunto de datos completo se publica como pricing.json en un repositorio público de GitHub (lucaspowell8020/ai-agent-pricing) bajo CC-BY-4.0. Puedes descargarlo directamente desde la URL raw de GitHub, sin API key. Úsalo en productos comerciales, herramientas de comparación, calculadoras o artículos de blog. Se agradece citar a agentshortlist.com, pero la licencia no lo exige.

¿Por qué no consultar directamente las páginas de precios de los proveedores?

Puedes, y deberías verificar antes de comprometer presupuesto. Este conjunto de datos existe porque las páginas de precios de los proveedores no coinciden en las unidades (algunas cotizan por token, otras por mil, otras por millón), usan precios antiguos tachados por SEO y cambian de formato con frecuencia. Reunirlos en un solo archivo normalizado permite comparar lado a lado y usarlos por programa. Tratamos las páginas de los proveedores como la fuente autorizada; este conjunto de datos es un espejo limpio y legible por máquinas.

¿Cómo funciona realmente el precio de las APIs de IA?

Casi todas las APIs de LLM cobran por token: pequeños fragmentos de texto que el modelo lee (entrada) y escribe (salida). Un token equivale más o menos a 3/4 de una palabra en inglés. El precio se cotiza normalmente por millón de tokens, con tarifas separadas para entrada y salida. Los tokens de salida cuestan de 2 a 6× más que los de entrada en la mayoría de los proveedores. Un turno de chat sencillo (1,000 tokens de entrada + 200 de salida) en Claude Sonnet cuesta unos $0.006. Los planes de suscripción (Claude Pro, ChatGPT Plus) incluyen una cantidad fija de uso por una cuota mensual fija: sirven para uso individual, no para el tráfico de agentes en producción, donde el precio directo de la API es el que se ajusta bien.

¿Cuáles son los niveles de precio típicos de las APIs?

La mayoría de los proveedores frontier ofrecen tres niveles: frontier (el mejor razonamiento: Claude Opus 4.8, GPT-5.5, Gemini 3 Pro), equilibrado (el punto ideal para la mayor parte del trabajo en producción: Claude Sonnet 4.6, GPT-5.4, Gemini Flash) y económico (barato y rápido para trabajo mecánico de alto volumen: Claude Haiku 4.5, GPT-5.4 mini, Gemini Flash-Lite). Las diferencias de precio entre niveles son grandes: el equilibrado suele ser de 5 a 10× más barato que el frontier, y el económico es otras 3 a 5× más barato que el equilibrado. La mayoría de los equipos sobredimensiona porque usa frontier por defecto; elegir el nivel correcto es la mayor palanca de costo en los flujos de agentes en producción.

¿Esto es un rastreador de precios de APIs de IA?

Sí. Esta página se actualiza a diario contra las fuentes de los proveedores, y los precios se contrastan con un catálogo del sector antes de publicarse. Las variaciones pequeñas (menos del 25% en entrada y salida) se aplican automáticamente el mismo día; los cambios mayores pasan por revisión editorial humana. El conjunto de datos también se publica como un archivo JSON abierto que puedes descargar por programa: consulta la sección 'Conjunto de datos abierto' más abajo. Si estás construyendo una herramienta de comparación o una calculadora, el camino es el JSON sin procesar; si solo revisas precios para planificar presupuesto, el camino es esta página.

¿Cuál es la diferencia entre el precio en la nube y el precio directo de la API?

El precio directo de la API es lo que le pagas al proveedor del modelo (Anthropic, OpenAI, Google) por token. El precio en la nube es lo que le pagas a un proveedor cloud (AWS Bedrock, Azure OpenAI, Vertex AI) por los mismos modelos, normalmente con un recargo del 10–30% a cambio de facturación unificada, gestión de identidades y certificaciones de cumplimiento. Para la mayoría de quienes construyen, la API directa es más barata y más simple. Para empresas con requisitos estrictos de compras, identidad o cumplimiento, el recargo de la nube es el costo de hacer negocios. Las tarifas por nivel que publicamos en esta página son tarifas de API directa.

Relacionado

Resumen semanal

Recibe los cambios de precios el día que ocurren.

Cada recorte de precio, cada modelo nuevo, cada descontinuación, en un solo correo breve. Sin panel que revisar, sin Discord al que unirte.