Dataset de referência
Preços de API de modelos de IA (2026).
Preço por token lado a lado de 58 modelos de IA de ponta e de faixa de valor em 2026: Claude, GPT-5, Gemini, Grok, DeepSeek, Llama e mais. Filtre por fornecedor ou faixa, confira na fonte e jogue na calculadora de custo. Os preços são verificados todo dia contra as fontes dos fornecedores, e o dataset é publicado como um arquivo JSON aberto (CC-BY-4.0) para você usar nas suas ferramentas. Para o detalhamento completo do que um agente de IA custa para construir e rodar, veja quanto custa construir um agente de IA.
Preços de API de IA em 2026 num relance.
Três faixas, escolhidas pela conta de custo por tarefa. O raciocínio de ponta custa $2-$10 por milhão de tokens de entrada; a faixa balanced ($1-$3 por milhão) dá conta de cerca de 90% do trabalho de agentes em produção; a faixa value ($0.10-$1 por milhão) cobre tarefas mecânicas de alto volume, como classificação e extração.
| Faixa | Caso de uso | Menor custo de entrada | Exemplo 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 custo de entrada entre todos os modelos acompanhados em cada faixa em 2026-11-22. Os tokens de saída são de 2 a 6× mais caros que os de entrada na maioria dos fornecedores. O detalhamento completo por modelo está na tabela filtrável abaixo.
Fornecedor
Faixa
Anthropic
Página de preços do fornecedor ↗| Modelo | Entradapor 1M de tokens | Saídapor 1M de tokens | Contexto | Faixa |
|---|---|---|---|---|
Claude Fable 5.2Lançamento 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 | $40 | 1M | frontier |
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 | $50 | 1M | frontier |
Claude Mythos 5 Limited-availability frontier model (Glasswing program). Same pricing as Fable 5. Not generally accessible — access via Anthropic's Glasswing program. | $10 | $50 | 1M | frontier |
Claude Opus 5.5Lançamento 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 | $20 | 1M | frontier |
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 | $25 | 1M | frontier |
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 | $50 | 1M | frontier |
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 | $25 | 1M | frontier |
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 | $50 | 1M | frontier |
Previous flagship — superseded by Opus 4.8 (2026-05-28) at the same price. Still accessible via API for backwards compatibility. | $5 | $25 | 1M | frontier |
Claude Sonnet 5.5Lançamento 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 | $10 | 1M | balanced |
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 | $10 | 1M | balanced |
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 | $15 | 1M | balanced |
Claude Haiku 5.5Lançamento 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.50 | 1M | value |
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 | $5 | 200k | value |
| Modelo | Entradapor 1M de tokens | Saídapor 1M de tokens | Contexto | Faixa |
|---|---|---|---|---|
GPT-6 AstraLançamento 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 | $50 | 1.05M | frontier |
GPT-6.1 SolLançamento 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 | $10 | 1.05M | balanced |
GPT-6.1 TerraLançamento 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 | $5 | 1.05M | balanced |
GPT-6 LunaLançamento 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.50 | 1.05M | value |
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 | $30 | 400k | frontier |
The full GPT-5.4 — not the mini. Comparable pricing to Claude Sonnet with OpenAI's tool-use and computer-use stack. | $2.5 | $15 | 1.05M | balanced |
OpenAI's value tier. Strong on coding, computer use, and subagent workloads. | $0.75 | $4.5 | 128k | value |
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.25 | 128k | value |
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 | $14 | 400k | balanced |
| Modelo | Entradapor 1M de tokens | Saídapor 1M de tokens | Contexto | Faixa |
|---|---|---|---|---|
Grok 4.7Lançamento 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 | $6 | 500k | frontier |
Grok 4.5Lançamento 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 | $6 | 500k | frontier |
Grok 4.3Lançamento 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.5 | 1M | frontier |
Grok Build 0.1Lançamento 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 | $2 | 256k | value |
| Modelo | Entradapor 1M de tokens | Saídapor 1M de tokens | Contexto | Faixa |
|---|---|---|---|---|
Gemini 4 CarbonLançamento 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 | $10 | 1M | frontier |
Gemini 4 ArgonLançamento 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 | $10 | 1M | balanced |
Gemini 4 HydrogenLançamento 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.5 | 1M | balanced |
Gemini 3.8 FlashLançamento 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.125 | 1M | balanced |
Largest context window on the list. Pricing shown is for prompts ≤200k tokens; rises to $2.50/$15 above that. | $1.25 | $10 | 2M | balanced |
Hybrid reasoning model with 1M context and tunable thinking budgets. | $0.30 | $2.5 | 1M | value |
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 | $9 | 1M | balanced |
Multimodal, agentic, strong on coding. Pricing shown is for prompts ≤200k tokens; rises to $4/$18 above that. | $2 | $12 | 2M | balanced |
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 | $3 | 1M | balanced |
Google's most cost-efficient model. Optimised for high-volume agentic tasks and simple data processing. | $0.25 | $1.5 | 1M | value |
Meta / Together AI
Página de preços do fornecedor ↗DeepSeek
Página de preços do fornecedor ↗| Modelo | Entradapor 1M de tokens | Saídapor 1M de tokens | Contexto | Faixa |
|---|---|---|---|---|
DeepSeek V4.1 Flash 1017Lançamento 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.60 | 1M | value |
DeepSeek V4.1 FlashLançamento 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.20 | 1M | value |
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.60 | 1M | value |
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.38 | 131k | value |
Moonshot AI
Página de preços do fornecedor ↗| Modelo | Entradapor 1M de tokens | Saídapor 1M de tokens | Contexto | Faixa |
|---|---|---|---|---|
Kimi K3.1 ProLançamento 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 | $10 | 1M | balanced |
Kimi K2.7 CodeLançamento 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 | $4 | 262k | value |
Kimi K2.6Lançamento 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 | $4 | 262k | balanced |
| Modelo | Entradapor 1M de tokens | Saídapor 1M de tokens | Contexto | Faixa |
|---|---|---|---|---|
GLM 5.3Lançamento 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.4 | 1M | balanced |
GLM 5.3 FlashLançamento 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.50 | 1M | value |
GLM 5.2Lançamento 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.4 | 1.048M | balanced |
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.4 | 202k | balanced |
| Modelo | Entradapor 1M de tokens | Saídapor 1M de tokens | Contexto | Faixa |
|---|---|---|---|---|
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.1 | 1M | balanced |
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 | $6 | 128k | balanced |
Tencent
| Modelo | Entradapor 1M de tokens | Saídapor 1M de tokens | Contexto | Faixa |
|---|---|---|---|---|
Hy4Lançamento 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.2505 | 1M | balanced |
StepFun
| Modelo | Entradapor 1M de tokens | Saídapor 1M de tokens | Contexto | Faixa |
|---|---|---|---|---|
Step 5 PreviewLançamento 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.7 | 1M | balanced |
| Modelo | Entradapor 1M de tokens | Saídapor 1M de tokens | Contexto | Faixa |
|---|---|---|---|---|
MiMo-V2.6-ProLançamento 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.87 | 1M | balanced |
MiMo-V2.6-FlashLançamento 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.28 | 1.05M | value |
MiniMax
| Modelo | Entradapor 1M de tokens | Saídapor 1M de tokens | Contexto | Faixa |
|---|---|---|---|---|
MiniMax M3.1 FlashLançamento MiniMax's cheap tier at $0.075/$0.30, a quarter of the price of MiniMax M3, with a 1M context. | $0.07 | $0.30 | 1M | value |
| Modelo | Entradapor 1M de tokens | Saídapor 1M de tokens | Contexto | Faixa |
|---|---|---|---|---|
Qwen3.8 MaxLançamento 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 | $6 | 1M | frontier |
Qwen3.8 FlashLançamento 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.47 | 1M | value |
Além dos modelos de chat
APIs de voz e mídia.
Agentes de voz, text-to-speech, transcrição, geração de imagem e de vídeo: APIs que cobram por hora, caractere, imagem ou segundo, e não por token. Começamos esta seção com fornecedores que verificamos na fonte. Mais fornecedores conforme confirmarmos as páginas de preço deles.
xAI
8 produtos| Produto | Categoria | Preço |
|---|---|---|
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 |
Viu alguma imprecisão ou quer um fornecedor adicionado? APIs de voz e mídia não têm um agregador único como os modelos de chat, então a verificação é feita fornecedor por fornecedor. Abra uma issue no repositório ai-agent-pricing com um print da página de preços do fornecedor e nós adicionamos.
Faça a sua própria conta
O preço é só o começo. A pergunta real é quanto o seu fluxo de trabalho custa de verdade.
A calculadora de custo combina estes dados de preço com estimativas realistas de tokens por tarefa em dez fluxos de quem constrói, de classificação de tickets a revisão de código, para você ver a fatura mensal no seu volume real, e não só a tarifa de vitrine.
Abrir a calculadora de custo →Dataset aberto
Use estes dados de preço no seu próprio produto.
O dataset completo é publicado como pricing.json num repositório público do GitHub. CC-BY-4.0. Sem chave de API, sem limite de requisições, sem autenticação. Atualizado automaticamente quando os preços mudam.
GitHub
lucaspowell8020/ai-agent-pricing ↗
README, metodologia, JSON Schema, exemplos em JavaScript e Python.
JSON bruto
raw.githubusercontent.com/.../pricing.json ↗
Arquivo único, sem autenticação. Busque direto do seu código ou do CI.
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"])Perguntas comuns
O que quem constrói pergunta antes de escolher um modelo.
Quanto custa a API do Claude?
O preço da API do Claude depende do modelo. O Claude Opus 4.8 custa $5 por milhão de tokens de entrada e $25 por milhão de tokens de saída. O Claude Sonnet 4.6 custa $3 de entrada e $15 de saída. O Claude Haiku 4.5 custa $1 de entrada e $5 de saída. A Anthropic cortou o preço do Opus em 66% no início de 2026, tornando o raciocínio de nível de ponta muito mais acessível. O prompt caching pode reduzir o custo de entrada em mais 50–90% em consultas repetidas.
Quanto custa o GPT-5?
O GPT-5 custa $1.25 por milhão de tokens de entrada e $10 por milhão de tokens de saída. O GPT-5 mini custa $0.25 de entrada e $2 de saída, cerca de 5× mais barato. A linha de ponta da OpenAI passou de GPT-4 para GPT-5 em 2025. O preço de entrada em cache é cerca de 50% da entrada padrão.
Qual é a API de LLM mais barata?
O DeepSeek V4 Flash é hoje o modelo confiável mais barato, a $0.14 por milhão de tokens de entrada e $0.28 por milhão de tokens de saída, cerca de 35× mais barato que o Claude Sonnet 4.6 na entrada. Gemini 2.5 Flash e Claude Haiku 4.5 são as opções mais baratas entre os grandes fornecedores dos EUA. Entre os modelos de pesos abertos, o Llama 3.3 70B via Together AI é competitivo na faixa de valor. O modelo barato certo depende da sua tarefa: os modelos da faixa de valor vão bem em classificação e respostas curtas, mas sofrem em raciocínio complexo.
Como vocês mantêm esses dados de preço corretos?
Uma auditoria automatizada roda todo dia. Variações pequenas (abaixo de 25% na entrada e na saída) são aplicadas automaticamente e publicadas no mesmo dia. Mudanças maiores, como reprecificações, descontinuação de modelos e consolidação de faixas, passam por revisão editorial humana contra a página de preços ao vivo do fornecedor antes de serem publicadas. As páginas dos fornecedores continuam sendo a fonte canônica da verdade; este dataset é um espelho limpo e legível por máquina, não um substituto. A data exata de verificação aparece nesta página e vai embutida no JSON do dataset público.
Posso usar estes dados de preço no meu próprio produto?
Pode. O dataset completo é publicado como pricing.json num repositório público do GitHub (lucaspowell8020/ai-agent-pricing) sob CC-BY-4.0. Você busca direto pela URL raw do GitHub, sem chave de API. Use em produtos comerciais, ferramentas de comparação, calculadoras ou posts de blog. A atribuição a agentshortlist.com é bem-vinda, mas a licença não exige.
Por que não consultar direto as páginas de preço dos fornecedores?
Pode e deve, antes de comprometer orçamento. O motivo de este dataset existir: as páginas de preço dos fornecedores não concordam nas unidades (uns cotam por token, outros por mil, outros por milhão), usam preços antigos riscados por causa de SEO e mudam de formato com frequência. Reunir tudo num arquivo normalizado torna possível comparar lado a lado e usar via código. Tratamos as páginas dos fornecedores como autoridade; este dataset é um espelho limpo e legível por máquina.
Como funciona, na prática, o preço de API de IA?
Quase toda API de LLM cobra por token, os pedacinhos de texto que o modelo lê (entrada) e escreve (saída). Um token equivale a mais ou menos 3/4 de uma palavra em inglês. O preço costuma ser cotado por milhão de tokens, com tarifas separadas para entrada e saída. Os tokens de saída são de 2 a 6× mais caros que os de entrada na maioria dos fornecedores. Um turno simples de chat (1,000 tokens de entrada + 200 de saída) no Claude Sonnet custa cerca de $0.006. Planos por assinatura (Claude Pro, ChatGPT Plus) embutem uma quantidade fixa de uso numa mensalidade fixa. Servem para uso individual, não para o tráfego de agentes em produção, onde o preço direto da API é o dimensionamento correto.
Quais são as faixas típicas de preço de API?
A maioria dos fornecedores de ponta oferece três faixas: frontier (o melhor raciocínio: Claude Opus 4.8, GPT-5.5, Gemini 3 Pro), balanced (o ponto ideal para a maior parte do trabalho em produção: Claude Sonnet 4.6, GPT-5.4, Gemini Flash) e value (barato e rápido para trabalho mecânico de alto volume: Claude Haiku 4.5, GPT-5.4 mini, Gemini Flash-Lite). A diferença de preço entre faixas é grande: a balanced costuma ser de 5 a 10× mais barata que a frontier; a value é de 3 a 5× mais barata que a balanced. A maioria das equipes superdimensiona ao usar frontier por padrão. Escolher a faixa certa é a maior alavanca de custo nos fluxos de agentes em produção.
Isto é um rastreador de preços de API de IA?
É. Esta página é atualizada todo dia contra as fontes dos fornecedores, com os preços conferidos num catálogo do setor antes de publicar. Variações pequenas (abaixo de 25% na entrada e na saída) são aplicadas automaticamente no mesmo dia; mudanças maiores passam por revisão editorial humana. O dataset também é publicado como um arquivo JSON aberto que você pode buscar via código (veja a seção 'Dataset aberto' abaixo). Se você está montando uma ferramenta de comparação ou uma calculadora, o caminho é o JSON bruto; se só quer conferir preços para planejar orçamento, o caminho é esta página.
Qual é a diferença entre o preço na nuvem e o preço direto da API?
O preço direto da API é o que você paga ao fornecedor do modelo (Anthropic, OpenAI, Google) por token. O preço na nuvem é o que você paga a um provedor de nuvem (AWS Bedrock, Azure OpenAI, Vertex AI) pelos mesmos modelos, normalmente com um acréscimo de 10–30% em troca de cobrança unificada, gestão de identidade e certificações de compliance. Para a maioria de quem constrói, a API direta é mais barata e mais simples. Para empresas com exigências rígidas de compras, identidade ou compliance, o acréscimo da nuvem é o custo de fazer negócio. As tarifas por faixa que publicamos nesta página são tarifas da API direta.
Relacionados
Ferramenta
Calculadora de custo
Escolha um fluxo, defina o volume e veja a fatura mensal em todos os modelos deste dataset.
Ferramenta
Seletor de agente
Cinco perguntas, uma recomendação de plataforma. O preço é só parte da escolha.
Avaliações
A Shortlist de 2026
Plataformas testadas em fluxos reais de quem constrói. Veredictos, notas e matriz de decisão.
Resumo semanal
Receba as mudanças de preço no dia em que acontecem.
Todo corte de preço, todo modelo novo, toda descontinuação, num e-mail curto. Sem painel para checar, sem Discord para entrar.