Join the next cohort of The Marketing Engineer: Vibe Coding for Marketing course on Maven →
Reference

AI API pricing

Prices per 1M tokens in USD. Canonical dataset curated from official provider pages.

Last updated: July 17, 2026 at 12:00 AM UTC

AI agent-verified against official provider pages on a nightly basis. Information may be inaccurate.

Anthropic

ModelInputOutput
Claude Fable 5(GA Jun 9 2026)$10.00$50.00
Claude Mythos 5(Limited availability)$10.00$50.00
Claude Opus 4.8$5.00$25.00
Claude Opus 4.7$5.00$25.00
Claude Opus 4.6$5.00$25.00
Claude Opus 4.5$5.00$25.00
Claude Opus 4.1(Deprecated)$15.00$75.00
Claude Sonnet 5(Intro pricing until Aug 31 2026)$2.00$10.00
Claude Sonnet 5 (from Sep 1 2026)(Standard after Aug 31 2026)$3.00$15.00
Claude Sonnet 4.6$3.00$15.00
Claude Sonnet 4.5$3.00$15.00
Claude Sonnet 4(Retired except Bedrock/GCP)$3.00$15.00
Claude Haiku 4.5$1.00$5.00
Claude Haiku 3.5(Retired except Bedrock/GCP)$0.80$4.00

OpenAI

ModelInputOutput
gpt-3.5-turbo(Legacy snapshot)$0.50$1.50
gpt-4(Legacy/deprecated)$30.00$60.00
gpt-4-turbo-preview(Legacy/deprecated)$60.00$120.00
gpt-4.1$2.00$8.00
gpt-4.1-mini$0.40$1.60
gpt-4.1-nano$0.10$0.40
gpt-4o(Latest snapshot)$2.50$10.00
gpt-4o-mini$0.15$0.60
gpt-5.4$2.50$15.00
gpt-5.4-mini$0.75$4.50
gpt-5.4-nano$0.20$1.25
gpt-5.4-pro$30.00$180.00
gpt-5.5(Short ctx)$5.00$30.00
gpt-5.5-pro(Short ctx)$30.00$180.00
gpt-5.6-luna(Standard ctx; cached input $0.10, cache writes $1.25)$1.00$6.00
gpt-5.6-luna(Long ctx; cached input $0.20, cache writes $2.50)$2.00$9.00
gpt-5.6-sol(Standard ctx; cached input $0.50, cache writes $6.25)$5.00$30.00
gpt-5.6-sol(Long ctx; cached input $1.00, cache writes $12.50)$10.00$45.00
gpt-5.6-terra(Standard ctx; cached input $0.25, cache writes $3.125)$2.50$15.00
gpt-5.6-terra(Long ctx; cached input $0.50, cache writes $6.25)$5.00$22.50
o4-mini-2025-04-16(Official docs pricing)$4.00$16.00

Google

ModelInputOutput
Gemini 3.5 Flash$1.50$9.00
Gemini 3.1 Pro Preview(≤200k ctx)$2.00$12.00
Gemini 3.1 Pro Preview(>200k ctx)$4.00$18.00
Gemini 2.5 Pro$2.70$16.20
Gemini 2.5 Flash(Note: not in official docs anymore)$1.50$9.00
Gemini 2.5 Flash-Lite$0.25$1.50
Gemini 2.5 Flash-Lite(Batch (50% off))$0.75$4.50
Gemini 2.0 Flash(Deprecated Jun 2026)$0.10$0.40

xAI

ModelInputOutput
grok-4.5(Short ctx)$2.00$6.00
grok-4.5(Long ctx)$4.00$12.00
grok-4.3(Short ctx)$1.25$2.50
grok-4.3(Long ctx)$2.50$5.00
grok-build-0.1(Short ctx)$1.00$2.00
grok-build-0.1(Long ctx)$2.00$4.00

DeepSeek

ModelInputOutput
V4 Pro(Cache miss)$0.14$0.87
V4 Pro(Cache hit)$0.00$0.87
V4 Flash(Cache miss)$0.14$0.43
V4 Flash(Cache hit)$0.00$0.43

Mistral

ModelInputOutput
Mistral Medium 3.5$1.50$7.50
Mistral Small 4$0.15$0.60
Mistral Nemo(Open, coding-focused)$0.15$0.15
Mixtral 8x7B$0.70$0.70
Mixtral 8x22B$2.00$6.00

Stepfun

ModelInputOutput
step-3.7-flash(Multimodal reasoning)$0.20$1.15
step-3.5-flash$0.10$0.30

GLM / Zhipu

ModelInputOutput
GLM-5.2$1.40$4.40
GLM-5.1$1.40$4.40
GLM-5$1.00$3.20
GLM-5-Turbo$1.20$4.00
GLM-4.7$0.60$2.20
GLM-4.7-FlashX(Budget)$0.07$0.40
GLM-4.6$0.60$2.20
GLM-4.5$0.60$2.20
GLM-4.5-X$2.20$8.90
GLM-4.5-Air$0.20$1.10
GLM-4.5-AirX$1.10$4.50
GLM-4-32B-0414-128K$0.10$0.10
GLM-4.7-FlashFreeFree
GLM-4.5-FlashFreeFree

Z.AI / GLM Vision

ModelInputOutput
GLM-5V-Turbo(Vision)$1.20$4.00
GLM-4.6V(Vision)$0.30$0.90
GLM-OCR(Vision)$0.03$0.03
GLM-4.6V-FlashX(Vision)$0.04$0.40
GLM-4.5V(Vision)$0.60$1.80
GLM-4.6V-Flash(Vision)FreeFree

Together AI / Groq

ModelInputOutput
Llama 3.3 70B (Groq)(Groq verified)$0.59$0.79
Llama 4 Scout (Together)(Together.ai)$0.18$0.59