Free reference · Verified 28 November 2026

LLM API pricing in 2026

What Claude, GPT and Gemini cost per million tokens, checked against each provider's pricing page. The last column shows what 1,000 typical agent steps cost on each model (about 3,000 tokens in and 500 out per step), so you can compare models in money rather than tokens.

Anthropic (Claude)

ModelInput / 1MOutput / 1M1,000 agent steps
Claude Fable 5.2Hardest reasoning, long agentic tasks$8$40$44
Claude Opus 5.5Complex reasoning, coding, orchestration$4$20$22
Claude Sonnet 5.5Best speed/quality balance$2$10$11
Claude Haiku 5.5$0.50 / $2.50 above 100K input tokens$0.10$0.50$0.55

Source: platform.claude.com

OpenAI (GPT)

ModelInput / 1MOutput / 1M1,000 agent steps
GPT-6.2 AstraFrontier tasks where quality beats cost$8$40$44
GPT-6.2 SolGeneral-purpose default$2$10$11
GPT-6.1 TerraMid-tier, cost-sensitive$1$5$5.50
GPT-6 LunaRouting, classification, extraction$0.10$0.50$0.55

Source: developers.openai.com

Google (Gemini)

ModelInput / 1MOutput / 1M1,000 agent steps
Gemini 3.1 Pro (preview)$4 / $18 above 200K input tokens$2$12$12
Gemini 3.8 FlashPromo price to 31 Dec 2026, then $1.50 / $7.50$0.75$3.75$4.13
Gemini 3.5 Flash-LiteHigh volume, low cost$0.30$2.50$2.15

Source: aistudio.google.com

What this means for an AI agent

What would your agent cost in total?

API prices are one line of the budget. The full cost breakdown covers development, hosting and monitoring, and the cost calculator gives you a figure for your own use case.