Prices

AI API prices compared

US dollars per million tokens from each provider’s own API. “Typical call” is the cost of 1,000 calls with 2,000 tokens in and 500 out. Updated .

ModelInputCachedOutputContextTypical call ×1,000
gpt-5-nano
OpenAI · images · tools · reasoning · JSON schema
$0.050$0.005$0.40272k$0.30
mistral-small
Mistral · tools · reasoning · JSON schema
$0.10$0.010$0.3032k$0.35
gemini-2.5-flash-lite
Google · images · tools · reasoning · JSON schema
$0.10$0.010$0.401.0M$0.40
claude-haiku-5-5
Anthropic · images · tools · reasoning · JSON schema
$0.10$0.010$0.501M$0.45
gpt-6-luna
OpenAI · images · tools · reasoning · JSON schema
$0.10$0.010$0.50922k$0.45
qwen3.8-flash
Alibaba (Qwen) · images · tools · reasoning · JSON schema
$0.15$0.016$0.47992k$0.54
qwen3.8-omni-flash
Alibaba (Qwen) · images · tools · reasoning · JSON schema
$0.15$0.016$0.47992k$0.54
glm-5.3-flash
Zhipu (GLM) · images · tools · reasoning · JSON schema
$0.15$0.030$0.501.0M$0.55
zai-glm-5-3-flash
Mistral · images · tools · reasoning · JSON schema
$0.15$0.030$0.501.0M$0.55
deepseek-v4-flash
Alibaba (Qwen) · tools · reasoning · JSON schema
$0.20$0.040$0.401M$0.60
gpt-4o-mini
OpenAI · images · tools · JSON schema
$0.15$0.075$0.60128k$0.60
gpt-4o-mini-search-preview
OpenAI · images · tools · JSON schema
$0.15$0.075$0.60128k$0.60
mistral-vibe-cli-fast
Mistral · images · tools · reasoning · JSON schema
$0.15$0.015$0.60262k$0.60
gpt-5.6-luna
OpenAI · images · tools · reasoning · JSON schema
$0.20$0.020$1.20922k$1.00
gpt-5.4-nano
OpenAI · images · tools · reasoning · JSON schema
$0.20$0.020$1.25272k$1.02
deepseek-flash
DeepSeek · images · tools · reasoning · JSON schema
$0.30$0.006$1.201M$1.20
deepseek-v4-flash
DeepSeek · images · tools · reasoning · JSON schema
$0.30$0.006$1.201M$1.20
deepseek-v4-flash-vision-exp
DeepSeek · images · tools · reasoning · JSON schema
$0.30$0.006$1.201M$1.20
gemini-3.1-flash-lite
Google · images · tools · reasoning · JSON schema
$0.25$0.025$1.501.0M$1.25
gpt-5-mini
OpenAI · images · tools · reasoning · JSON schema
$0.25$0.025$2.00272k$1.50
gpt-4.1-mini
OpenAI · images · tools · JSON schema
$0.40$0.10$1.601.0M$1.60
mistral-large-3
Mistral · images · tools · JSON schema
$0.50$0.050$1.50262k$1.75
gemini-2.5-flash
Google · images · tools · reasoning · JSON schema
$0.30$0.030$2.501.0M$1.85
gemini-3.5-flash-lite
Google · images · tools · reasoning · JSON schema
$0.30$0.030$2.501.0M$1.85
mistral-large-4
Mistral · images · tools · reasoning · JSON schema
$0.70$0.070$2.101.0M$2.45
mistral-large-4-0
Mistral · images · tools · reasoning · JSON schema
$0.70$0.070$2.101.0M$2.45
gemini-3-flash-preview
Google · images · tools · reasoning · JSON schema
$0.50$0.050$3.001.0M$2.50
grok-build-0.1
xAI · images · tools · reasoning · JSON schema
$1.00$0.20$2.00256k$3.00
grok-code-fast
xAI · images · tools · reasoning · JSON schema
$1.00$0.20$2.00256k$3.00
gemini-3.6-flash
Google · images · tools · reasoning · JSON schema
$0.75$0.075$3.751.0M$3.38
gemini-3.7-flash
Google · images · tools · reasoning · JSON schema
$0.75$0.075$3.751.0M$3.38
gemini-3.8-flash
Google · images · tools · reasoning · JSON schema
$0.75$0.075$3.751.0M$3.38
gpt-5.4-mini
OpenAI · images · tools · reasoning · JSON schema
$0.75$0.075$4.50272k$3.75
grok-4.20
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-0309-non-reasoning
xAI · images · tools · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-0309-reasoning
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-beta
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-beta-0309-non-reasoning
xAI · images · tools · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-beta-0309-reasoning
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-beta-latest-non-reasoning
xAI · images · tools · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-beta-latest-reasoning
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-beta-non-reasoning
xAI · images · tools · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-beta-reasoning
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-experimental-beta-0304-non-reasoning
xAI · images · tools · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-experimental-beta-0304-reasoning
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-non-reasoning
xAI · images · tools · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-non-reasoning-gv2
xAI · images · tools · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-reasoning
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-reasoning-gv2
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.3
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
kimi-k2.6
Moonshot (Kimi) · images · tools · reasoning · JSON schema
$0.95$0.16$4.00262k$3.90
kimi-k2.7-code
Alibaba (Qwen) · images · tools · reasoning · JSON schema
$0.95$0.19$4.00229k$3.90
kimi-k2.7-code
Moonshot (Kimi) · images · tools · reasoning · JSON schema
$0.95$0.19$4.00262k$3.90
claude-haiku-4-5
Anthropic · images · tools · reasoning · JSON schema
$1.00$0.10$5.00200k$4.50
gemini-robotics-er-2-preview
Google · images · tools · reasoning · JSON schema
$1.00$0.10$5.00131k$4.50
gpt-6.1-terra
OpenAI · images · tools · reasoning · JSON schema
$1.00$0.050$5.00922k$4.50
deepseek-v4-pro
DeepSeek · tools · reasoning · JSON schema
$1.32$0.044$3.961M$4.62
glm-5-2
Mistral · tools · reasoning · JSON schema
$1.40$0.14$4.401.0M$5.00
glm-5.1
Alibaba (Qwen) · tools · reasoning · JSON schema
$1.40$0.26$4.40203k$5.00
glm-5.2
Alibaba (Qwen) · tools · reasoning · JSON schema
$1.40$0.28$4.401.0M$5.00
glm-5.3
Zhipu (GLM) · tools · reasoning · JSON schema
$1.40$0.26$4.401M$5.00
zai-glm-5
Mistral · tools · reasoning · JSON schema
$1.40$0.14$4.401.0M$5.00
zai-glm-5-3
Mistral · tools · reasoning · JSON schema
$1.40$0.14$4.401.0M$5.00
mistral-medium
Mistral · images · tools · reasoning · JSON schema
$1.50$0.15$7.50262k$6.75
mistral-medium-3
Mistral · images · tools · reasoning · JSON schema
$1.50$0.15$7.50262k$6.75
mistral-medium-3-5
Mistral · images · tools · reasoning · JSON schema
$1.50$0.15$7.50262k$6.75
mistral-medium-3.5
Mistral · images · tools · reasoning · JSON schema
$1.50$0.15$7.50262k$6.75
mistral-vibe-cli-with-tools
Mistral · images · tools · reasoning · JSON schema
$1.50$0.15$7.50262k$6.75
grok-4.5
xAI · images · tools · reasoning · JSON schema
$2.00$0.30$6.00500k$7.00
grok-4.6
xAI · images · tools · reasoning · JSON schema
$2.00$0.50$6.00500k$7.00
grok-4.7
xAI · images · tools · reasoning · JSON schema
$2.00$0.50$6.00500k$7.00
qwen3.8-max
Alibaba (Qwen) · images · tools · reasoning · JSON schema
$2.00$0.25$6.00992k$7.00
deepseek-v4-pro
Alibaba (Qwen) · tools · reasoning · JSON schema
$2.40$0.20$4.801M$7.20
gemini-2.5-pro
Google · images · tools · reasoning · JSON schema
$1.25$0.13$10.01.0M$7.50
gemini-3.5-flash
Google · images · tools · reasoning · JSON schema
$1.50$0.15$9.001.0M$7.50
gpt-5
OpenAI · images · tools · reasoning · JSON schema
$1.25$0.13$10.0272k$7.50
gpt-5-search-api
OpenAI · images · tools · JSON schema
$1.25$0.13$10.0272k$7.50
gpt-5.1
OpenAI · images · tools · reasoning · JSON schema
$1.25$0.13$10.0272k$7.50
gpt-4.1
OpenAI · images · tools · JSON schema
$2.00$0.50$8.001.0M$8.00
o3
OpenAI · images · tools · reasoning · JSON schema
$2.00$0.50$8.00200k$8.00
qwen3.7-max
Alibaba (Qwen) · tools · reasoning · JSON schema
$2.50$0.50$7.50992k$8.75
claude-sonnet-5
Anthropic · images · tools · reasoning · JSON schema
$2.00$0.20$10.01M$9.00
claude-sonnet-5-5
Anthropic · images · tools · reasoning · JSON schema
$2.00$0.10$10.01M$9.00
gemini-4-argon
Google · images · tools · reasoning · JSON schema
$2.00$0.10$10.01.0M$9.00
gemini-4-carbon
Google · images · tools · reasoning · JSON schema
$2.00$0.10$10.01.0M$9.00
gpt-6-sol
OpenAI · images · tools · reasoning · JSON schema
$2.00$0.20$10.0922k$9.00
gpt-6.1-sol
OpenAI · images · tools · reasoning · JSON schema
$2.00$0.10$10.0922k$9.00
kimi-k3.1-pro
Moonshot (Kimi) · images · tools · reasoning · JSON schema
$2.00$0.20$10.01.0M$9.00
gemini-3.1-pro-preview
Google · images · tools · reasoning · JSON schema
$2.00$0.20$12.01.0M$10.0
gemini-3.1-pro-preview-customtools
Google · images · tools · reasoning · JSON schema
$2.00$0.20$12.01.0M$10.0
gpt-4o
OpenAI · images · tools · JSON schema
$2.50$1.25$10.0128k$10.0
gpt-4o-search-preview
OpenAI · images · tools · JSON schema
$2.50$1.25$10.0128k$10.0
gpt-5.6-terra
OpenAI · images · tools · reasoning · JSON schema
$2.00$0.20$12.0922k$10.0
gpt-5.2
OpenAI · images · tools · reasoning · JSON schema
$1.75$0.17$14.0272k$10.5
gpt-5.4
OpenAI · images · tools · reasoning · JSON schema
$2.50$0.25$15.01.1M$12.5
claude-sonnet-4-5
Anthropic · images · tools · reasoning · JSON schema
$3.00$0.30$15.0200k$13.5
claude-sonnet-4-6
Anthropic · images · tools · reasoning · JSON schema
$3.00$0.30$15.01M$13.5
kimi-k3
Moonshot (Kimi) · images · tools · reasoning · JSON schema
$3.00$0.30$15.01.0M$13.5
claude-opus-5-5
Anthropic · images · tools · reasoning · JSON schema
$4.00$0.20$20.01M$18.0
gpt-5.6
OpenAI · images · tools · reasoning · JSON schema
$4.00$0.40$20.0922k$18.0
gpt-5.6-sol
OpenAI · images · tools · reasoning · JSON schema
$4.00$0.40$20.0922k$18.0
kimi-k3.1-pro-highspeed
Moonshot (Kimi) · images · tools · reasoning · JSON schema
$4.00$0.20$20.01.0M$18.0
claude-opus-4-5
Anthropic · images · tools · reasoning · JSON schema
$5.00$0.50$25.0200k$22.5
claude-opus-4-6
Anthropic · images · tools · reasoning · JSON schema
$5.00$0.50$25.01M$22.5
claude-opus-4-7
Anthropic · images · tools · reasoning · JSON schema
$5.00$0.50$25.01M$22.5
claude-opus-4-8
Anthropic · images · tools · reasoning · JSON schema
$5.00$0.50$25.01M$22.5
claude-opus-5
Anthropic · images · tools · reasoning · JSON schema
$5.00$0.50$25.01M$22.5
gpt-5.5
OpenAI · images · tools · reasoning · JSON schema
$5.00$0.50$30.01.1M$25.0
claude-fable-5-2
Anthropic · images · tools · reasoning · JSON schema
$8.00$0.20$40.01M$36.0
claude-mythos-5-2
Anthropic · images · tools · reasoning · JSON schema
$8.00$0.20$40.01M$36.0
claude-fable-5
Anthropic · images · tools · reasoning · JSON schema
$10.0$1.00$50.01M$45.0
claude-fable-5-1
Anthropic · images · tools · reasoning · JSON schema
$10.0$0.25$50.01M$45.0
claude-mythos-5
Anthropic · images · tools · reasoning · JSON schema
$10.0$1.00$50.01M$45.0
claude-mythos-5-1
Anthropic · images · tools · reasoning · JSON schema
$10.0$0.25$50.01M$45.0
gpt-6-astra
OpenAI · images · tools · reasoning · JSON schema
$10.0$1.00$50.0922k$45.0
gpt-6-astra-law
OpenAI · images · tools · reasoning · JSON schema
$10.0$1.00$50.0922k$45.0
gpt-5.6-cyber
OpenAI · images · tools · reasoning · JSON schema
$12.5$1.25$75.0272k$62.5
gpt-6-rosalind
OpenAI · images · tools · reasoning · JSON schema
$15.0$1.50$75.0922k$67.5
gpt-6-cyber
OpenAI · images · tools · reasoning · JSON schema
$20.0$2.00$100.0922k$90.0

Source: the open LiteLLM model price map (MIT), checked daily. Batch, long-context and regional prices differ; always check the provider’s own pricing page before you commit. Spotted a wrong price? Tell us with “Report an error” on any post.