LLM PRICING COMPARISON

API token prices for every major AI model.

Input and output cost per 1 million tokens, context windows, and tokenizer accuracy for 54 models, refreshed from official provider pricing pages. Last checked 2026-08-11. Click any model for a dedicated token counter.

ModelProviderInput / 1M tokOutput / 1M tokContext windowCount accuracy
Qwen3.5 PlusAlibaba$0.40$2.401,000,000Estimated
Qwen3 MaxAlibaba$1.20$6.00252,000Exact
Qwen3.7 MaxAlibaba$2.50$7.501,000,000Estimated
Claude Haiku 4.5Anthropic$1.00$5.00200,000Estimated
Claude Sonnet 5Anthropic$2.00$10.001,000,000Estimated
Claude Sonnet 4.6Anthropic$3.00$15.001,000,000Estimated
Claude Sonnet 4.5Anthropic$3.00$15.00200,000Estimated
Claude Opus 5Anthropic$5.00$25.001,000,000Estimated
Claude Opus 4.8Anthropic$5.00$25.001,000,000Estimated
Claude Fable 5Anthropic$10.00$50.001,000,000Estimated
DeepSeek V4 FlashDeepSeek$0.14$0.281,000,000Estimated
DeepSeek V4 ProDeepSeek$0.435$0.871,000,000Estimated
Gemini 2.5 Flash-LiteGoogle$0.10$0.401,048,576Estimated
Gemini 3.1 Flash-LiteGoogle$0.25$1.501,048,576Estimated
Gemini 3.5 Flash-LiteGoogle$0.30$2.501,048,576Estimated
Gemini 2.5 FlashGoogle$0.30$2.501,048,576Estimated
Gemini 2.5 ProGoogle$1.25$10.001,048,576Estimated
Gemini 3.6 FlashGoogle$1.50$7.501,048,576Estimated
Gemini 3.5 FlashGoogle$1.50$9.001,048,576Estimated
Gemini 3.1 Pro PreviewGoogle$2.00$12.001,048,576Estimated
Llama 4 ScoutMetaSelf-hostedSelf-hosted10,000,000Estimated
Llama 4 MaverickMetaSelf-hostedSelf-hosted1,000,000Estimated
Mistral Large 3Mistral$0.50$1.50262,144Estimated
Mistral Medium 3.5Mistral$1.50$7.50262,144Estimated
Magistral MediumMistral$2.00$5.00128,000Estimated
Kimi K2 ThinkingMoonshot AI$0.60$2.50262,144Estimated
Kimi K2.6Moonshot AI$0.95$4.00262,144Estimated
GPT-5 nanoOpenAI$0.05$0.40400,000Exact
GPT-4.1 nanoOpenAI$0.10$0.401,047,576Exact
GPT-4o miniOpenAI$0.15$0.60128,000Exact
GPT-5.6 LunaOpenAI$0.20$1.201,047,576Exact
GPT-5.4 nanoOpenAI$0.20$1.25400,000Exact
GPT-5 miniOpenAI$0.25$2.00400,000Exact
GPT-4.1 miniOpenAI$0.40$1.601,047,576Exact
GPT-5.4 miniOpenAI$0.75$4.50400,000Exact
o4-miniOpenAI$1.10$4.40200,000Exact
GPT-5.1OpenAI$1.25$10.00400,000Exact
GPT-5OpenAI$1.25$10.00400,000Exact
GPT-5.2OpenAI$1.75$14.00400,000Exact
GPT-5.6 TerraOpenAI$2.00$12.001,047,576Exact
GPT-4.1OpenAI$2.00$8.001,047,576Exact
o3OpenAI$2.00$8.00200,000Exact
GPT-5.4OpenAI$2.50$15.001,047,576Exact
GPT-4oOpenAI$2.50$10.00128,000Exact
GPT-5.6 SolOpenAI$5.00$30.001,047,576Exact
GPT-5.5OpenAI$5.00$30.001,047,576Exact
GPT-5 ProOpenAI$15.00$120.00400,000Exact
GPT-5.2 ProOpenAI$21.00$168.00400,000Exact
GPT-5.5 ProOpenAI$30.00$180.001,047,576Exact
GPT-5.4 ProOpenAI$30.00$180.001,047,576Exact
Grok Code Fast 1xAI$0.20$1.50256,000Estimated
Grok Build 0.1xAI$1.00$2.00256,000Estimated
Grok 4.3xAI$1.25$2.501,000,000Estimated
Grok 4.5xAI$2.00$6.00500,000Estimated

Extended catalog: 617 more models

Pricing from the community-maintained LiteLLM dataset, refreshed 2026-08-11. Community-tracked rates can lag provider changes — the table above is verified against official pricing pages; this one favors coverage.

ModelProviderInput / 1M tokOutput / 1M tokContext window
jamba-1.5AI21 Labs$0.20$0.40256,000
jamba-1.5-miniAI21 Labs$0.20$0.40256,000
jamba-1.5-mini@001AI21 Labs$0.20$0.40256,000
jamba-mini-1.6AI21 Labs$0.20$0.40256,000
jamba-mini-1.7AI21 Labs$0.20$0.40256,000
jamba-1.5-largeAI21 Labs$2.00$8.00256,000
jamba-1.5-large@001AI21 Labs$2.00$8.00256,000
jamba-large-1.6AI21 Labs$2.00$8.00256,000
jamba-large-1.7AI21 Labs$2.00$8.00256,000
qwen-turboAlibaba$0.05$0.20129,024
qwen-turbo-2024-11-01Alibaba$0.05$0.201,000,000
qwen-turbo-2025-04-28Alibaba$0.05$0.201,000,000
qwen-turbo-latestAlibaba$0.05$0.201,000,000
qwen3-next-80b-a3b-instructAlibaba$0.15$1.20262,144
qwen3-next-80b-a3b-thinkingAlibaba$0.15$1.20262,144
qwen3-vl-32b-instructAlibaba$0.16$0.64131,072
qwen3-vl-32b-thinkingAlibaba$0.16$2.87131,072
qwen-coderAlibaba$0.30$1.501,000,000
qwen-plusAlibaba$0.40$1.20129,024
qwen-plus-2025-01-25Alibaba$0.40$1.20129,024
qwen-plus-2025-04-28Alibaba$0.40$1.20129,024
qwen-plus-2025-07-14Alibaba$0.40$1.20129,024
qwen3-vl-235b-a22b-instructAlibaba$0.40$1.60131,072
qwen3-vl-235b-a22b-thinkingAlibaba$0.40$4.00131,072
qwq-plusAlibaba$0.80$2.4098,304
qwen-maxAlibaba$1.60$6.4030,720
claude-3-haiku-20240307Anthropic$0.25$1.25200,000
claude-haiku-4-5-20251001Anthropic$1.00$5.00200,000
claude-3-7-sonnet-20250219Anthropic$3.00$15.00200,000
claude-4-sonnet-20250514Anthropic$3.00$15.001,000,000
claude-sonnet-4-20250514Anthropic$3.00$15.001,000,000
claude-sonnet-4-5-20250929Anthropic$3.00$15.00200,000
claude-opus-4-5Anthropic$5.00$25.00200,000
claude-opus-4-5-20251101Anthropic$5.00$25.00200,000
claude-opus-4-6Anthropic$5.00$25.001,000,000
claude-opus-4-6-20260205Anthropic$5.00$25.001,000,000
claude-opus-4-7Anthropic$5.00$25.001,000,000
claude-opus-4-7-20260416Anthropic$5.00$25.001,000,000
claude-3-opus-20240229Anthropic$15.00$75.00200,000
claude-4-opus-20250514Anthropic$15.00$75.00200,000
claude-opus-4-1Anthropic$15.00$75.00200,000
claude-opus-4-1-20250805Anthropic$15.00$75.00200,000
claude-opus-4-20250514Anthropic$15.00$75.00200,000
llama3.1-8bCerebras$0.10$0.10128,000
llama3.1-70bCerebras$0.60$0.60128,000
llama-3.3-70bCerebras$0.85$1.20128,000
zai-glm-4.6Cerebras$2.25$2.75128,000
zai-glm-4.7Cerebras$2.25$2.75128,000
Llama-3.2-3B-InstructDeepInfra$0.02$0.02131,072
Meta-Llama-3.1-8B-Instruct-TurboDeepInfra$0.02$0.03131,072
Meta-Llama-3-8B-InstructDeepInfra$0.03$0.068,192
gemma-3-4b-itDeepInfra$0.04$0.08131,072
L3-8B-Lunaris-v1-TurboDeepInfra$0.04$0.058,192
Qwen2.5-7B-InstructDeepInfra$0.04$0.1032,768
Llama-3.2-11B-Vision-InstructDeepInfra$0.049$0.049131,072
gemma-3-12b-itDeepInfra$0.05$0.10131,072
phi-4DeepInfra$0.07$0.1416,384
Mistral-Small-3.2-24B-Instruct-2506DeepInfra$0.075$0.20128,000
Llama-3.3-Nemotron-Super-49B-v1.5DeepInfra$0.10$0.40131,072
Meta-Llama-3.1-70B-Instruct-TurboDeepInfra$0.10$0.28131,072
Qwen2.5-72B-InstructDeepInfra$0.12$0.3932,768
Llama-3.3-70B-Instruct-TurboDeepInfra$0.13$0.39131,072
Llama-4-Maverick-17B-128E-Instruct-FP8DeepInfra$0.15$0.601,048,576
Qwen2.5-VL-32B-InstructDeepInfra$0.20$0.60128,000
Llama-3.3-70B-InstructDeepInfra$0.23$0.40131,072
DeepSeek-V3.1-TerminusDeepInfra$0.27$1.00163,840
olmOCR-7B-0725-FP8DeepInfra$0.27$1.5016,384
Qwen3-Coder-480B-A35B-Instruct-TurboDeepInfra$0.29$1.20262,144
Hermes-3-Llama-3.1-70BDeepInfra$0.30$0.30131,072
GLM-4.5DeepInfra$0.40$1.60131,072
Meta-Llama-3.1-70B-InstructDeepInfra$0.40$0.40131,072
Mixtral-8x7B-Instruct-v0.1DeepInfra$0.40$0.4032,768
WizardLM-2-8x22BDeepInfra$0.48$0.4865,536
Llama-3.1-Nemotron-70B-InstructDeepInfra$0.60$0.60131,072
L3.1-70B-Euryale-v2.2DeepInfra$0.65$0.75131,072
L3.3-70B-Euryale-v2.3DeepInfra$0.65$0.75131,072
DeepSeek-R1-0528-TurboDeepInfra$1.00$3.0032,768
DeepSeek-R1-TurboDeepInfra$1.00$3.0040,960
Hermes-3-Llama-3.1-405BDeepInfra$1.00$1.00131,072
claude-3-7-sonnet-latestDeepInfra$3.30$16.50200,000
claude-4-sonnetDeepInfra$3.30$16.50200,000
claude-4-opusDeepInfra$16.50$82.50200,000
deepseek-coderDeepSeek$0.14$0.28128,000
deepseek-v3DeepSeek$0.27$1.1065,536
deepseek-chatDeepSeek$0.28$0.42131,072
deepseek-reasonerDeepSeek$0.28$0.42131,072
deepseek-v3.2DeepSeek$0.28$0.40163,840
deepseek-r1DeepSeek$0.55$2.1965,536
flux-1-dev-controlnet-unionFireworks AI$0.001$0.0014,096
codegemma-2bFireworks AI$0.10$0.108,192
cogito-v1-preview-llama-3bFireworks AI$0.10$0.10131,072
deepseek-coder-1b-baseFireworks AI$0.10$0.1016,384
deepseek-r1-distill-qwen-1p5bFireworks AI$0.10$0.10131,072
ernie-4p5-21b-a3b-ptFireworks AI$0.10$0.104,096
ernie-4p5-300b-a47b-ptFireworks AI$0.10$0.104,096
flux-1-devFireworks AI$0.10$0.104,096
flux-1-schnellFireworks AI$0.10$0.104,096
gemma-2b-itFireworks AI$0.10$0.108,192
llama-guard-3-1bFireworks AI$0.10$0.10131,072
llama-v2-70bFireworks AI$0.10$0.104,096
llama-v3p1-405b-instruct-longFireworks AI$0.10$0.104,096
llama-v3p1-70b-instruct-1bFireworks AI$0.10$0.104,096
llama-v3p1-8b-instructFireworks AI$0.10$0.1016,384
llama-v3p2-1bFireworks AI$0.10$0.10131,072
llama-v3p2-1b-instructFireworks AI$0.10$0.1016,384
llama-v3p2-3bFireworks AI$0.10$0.10131,072
llama-v3p2-3b-instructFireworks AI$0.10$0.1016,384
minimax-m1-80kFireworks AI$0.10$0.104,096
ministral-3-3b-instruct-2512Fireworks AI$0.10$0.10256,000
nemotron-nano-v2-12b-vlFireworks AI$0.10$0.104,096
phi-2-3bFireworks AI$0.10$0.102,048
phi-3-mini-128k-instructFireworks AI$0.10$0.10131,072
qwen2-vl-2b-instructFireworks AI$0.10$0.1032,768
qwen2p5-0p5b-instructFireworks AI$0.10$0.1032,768
qwen2p5-1p5b-instructFireworks AI$0.10$0.1032,768
qwen2p5-coder-0p5bFireworks AI$0.10$0.1032,768
qwen2p5-coder-0p5b-instructFireworks AI$0.10$0.1032,768
qwen2p5-coder-1p5bFireworks AI$0.10$0.1032,768
qwen2p5-coder-1p5b-instructFireworks AI$0.10$0.1032,768
qwen2p5-coder-3bFireworks AI$0.10$0.1032,768
qwen2p5-coder-3b-instructFireworks AI$0.10$0.1032,768
qwen3-0p6bFireworks AI$0.10$0.1040,960
qwen3-1p7bFireworks AI$0.10$0.10131,072
qwen3-1p7b-fp8-draftFireworks AI$0.10$0.10262,144
qwen3-1p7b-fp8-draft-131072Fireworks AI$0.10$0.10131,072
qwen3-1p7b-fp8-draft-40960Fireworks AI$0.10$0.1040,960
stablecode-3bFireworks AI$0.10$0.104,096
starcoder2-3bFireworks AI$0.10$0.1016,384
llama4-scout-instruct-basicFireworks AI$0.15$0.60131,072
qwen3-30b-a3bFireworks AI$0.15$0.60131,072
qwen3-coder-30b-a3b-instructFireworks AI$0.15$0.60262,144
qwen3-vl-30b-a3b-instructFireworks AI$0.15$0.60262,144
qwen3-vl-30b-a3b-thinkingFireworks AI$0.15$0.60262,144
chronos-hermes-13b-v2Fireworks AI$0.20$0.204,096
code-llama-13bFireworks AI$0.20$0.2016,384
code-llama-13b-instructFireworks AI$0.20$0.2016,384
code-llama-13b-pythonFireworks AI$0.20$0.2016,384
code-llama-7bFireworks AI$0.20$0.2016,384
code-llama-7b-instructFireworks AI$0.20$0.2016,384
code-llama-7b-pythonFireworks AI$0.20$0.2016,384
code-qwen-1p5-7bFireworks AI$0.20$0.2065,536
codegemma-7bFireworks AI$0.20$0.208,192
cogito-v1-preview-llama-8bFireworks AI$0.20$0.20131,072
cogito-v1-preview-qwen-14bFireworks AI$0.20$0.20131,072
deepseek-coder-7b-baseFireworks AI$0.20$0.204,096
deepseek-coder-7b-base-v1p5Fireworks AI$0.20$0.204,096
deepseek-coder-7b-instruct-v1p5Fireworks AI$0.20$0.204,096
deepseek-r1-0528-distill-qwen3-8bFireworks AI$0.20$0.20131,072
deepseek-r1-distill-llama-8bFireworks AI$0.20$0.20131,072
deepseek-r1-distill-qwen-14bFireworks AI$0.20$0.20131,072
deepseek-r1-distill-qwen-7bFireworks AI$0.20$0.20131,072
dobby-mini-unhinged-plus-llama-3-1-8bFireworks AI$0.20$0.20131,072
firellava-13bFireworks AI$0.20$0.204,096
firesearch-ocr-v6Fireworks AI$0.20$0.208,192
gemma-7bFireworks AI$0.20$0.208,192
gemma2-9b-itFireworks AI$0.20$0.208,192
hermes-2-pro-mistral-7bFireworks AI$0.20$0.2032,768
internvl3-8bFireworks AI$0.20$0.2016,384
llama-guard-2-8bFireworks AI$0.20$0.208,192
llama-guard-3-8bFireworks AI$0.20$0.20131,072
llama-v2-13bFireworks AI$0.20$0.204,096
llama-v2-13b-chatFireworks AI$0.20$0.204,096
llama-v2-7bFireworks AI$0.20$0.204,096
llama-v2-7b-chatFireworks AI$0.20$0.204,096
llama-v3-8bFireworks AI$0.20$0.208,192
llama-v3-8b-instruct-hfFireworks AI$0.20$0.208,192
llama-v3p2-11b-vision-instructFireworks AI$0.20$0.2016,384
llamaguard-7bFireworks AI$0.20$0.204,096
ministral-3-14b-instruct-2512Fireworks AI$0.20$0.20256,000
ministral-3-8b-instruct-2512Fireworks AI$0.20$0.20256,000
mistral-7bFireworks AI$0.20$0.2032,768
mistral-7b-instruct-4kFireworks AI$0.20$0.2032,768
mistral-7b-instruct-v0p2Fireworks AI$0.20$0.2032,768
mistral-7b-instruct-v3Fireworks AI$0.20$0.2032,768
mistral-7b-v0p2Fireworks AI$0.20$0.2032,768
mistral-nemo-base-2407Fireworks AI$0.20$0.20128,000
mistral-nemo-instruct-2407Fireworks AI$0.20$0.20128,000
mythomax-l2-13bFireworks AI$0.20$0.204,096
nous-capybara-7b-v1p9Fireworks AI$0.20$0.2032,768
nous-hermes-llama2-13bFireworks AI$0.20$0.204,096
nous-hermes-llama2-7bFireworks AI$0.20$0.204,096
nvidia-nemotron-nano-12b-v2Fireworks AI$0.20$0.20131,072
nvidia-nemotron-nano-9b-v2Fireworks AI$0.20$0.20131,072
openchat-3p5-0106-7bFireworks AI$0.20$0.208,192
openhermes-2-mistral-7bFireworks AI$0.20$0.2032,768
openhermes-2p5-mistral-7bFireworks AI$0.20$0.2032,768
openorca-7bFireworks AI$0.20$0.2032,768
phi-3-vision-128k-instructFireworks AI$0.20$0.2032,064
pythia-12bFireworks AI$0.20$0.202,048
qwen-v2p5-14b-instructFireworks AI$0.20$0.2032,768
qwen-v2p5-7bFireworks AI$0.20$0.20131,072
qwen2-7b-instructFireworks AI$0.20$0.2032,768
qwen2-vl-7b-instructFireworks AI$0.20$0.2032,768
qwen2p5-14bFireworks AI$0.20$0.20131,072
qwen2p5-7b-instructFireworks AI$0.20$0.2032,768
qwen2p5-coder-14bFireworks AI$0.20$0.2032,768
qwen2p5-coder-14b-instructFireworks AI$0.20$0.2032,768
qwen2p5-coder-7bFireworks AI$0.20$0.2032,768
qwen2p5-coder-7b-instructFireworks AI$0.20$0.2032,768
qwen2p5-vl-3b-instructFireworks AI$0.20$0.20128,000
qwen2p5-vl-7b-instructFireworks AI$0.20$0.20128,000
qwen3-14bFireworks AI$0.20$0.2040,960
qwen3-4bFireworks AI$0.20$0.2040,960
qwen3-4b-instruct-2507Fireworks AI$0.20$0.20262,144
qwen3-8bFireworks AI$0.20$0.2040,960
qwen3-vl-8b-instructFireworks AI$0.20$0.204,096
rolm-ocrFireworks AI$0.20$0.20128,000
snorkel-mistral-7b-pairrm-dpoFireworks AI$0.20$0.2032,768
starcoder-16bFireworks AI$0.20$0.208,192
starcoder-7bFireworks AI$0.20$0.208,192
starcoder2-15bFireworks AI$0.20$0.2016,384
starcoder2-7bFireworks AI$0.20$0.2016,384
toppy-m-7bFireworks AI$0.20$0.2032,768
yi-6bFireworks AI$0.20$0.204,096
zephyr-7b-betaFireworks AI$0.20$0.2032,768
glm-4p5-airFireworks AI$0.22$0.88128,000
llama4-maverick-instruct-basicFireworks AI$0.22$0.88131,072
qwen3-235b-a22bFireworks AI$0.22$0.88131,072
qwen3-235b-a22b-instruct-2507Fireworks AI$0.22$0.88262,144
minimax-m2Fireworks AI$0.30$1.204,096
minimax-m2p1Fireworks AI$0.30$1.20204,800
minimax-m2p7Fireworks AI$0.30$1.20196,608
minimax-m3Fireworks AI$0.30$1.20512,000
qwen3p7-plusFireworks AI$0.40$1.60262,144
qwen3-coder-480b-a35b-instructFireworks AI$0.45$1.80262,144
deepseek-coder-v2-lite-baseFireworks AI$0.50$0.50163,840
deepseek-coder-v2-lite-instructFireworks AI$0.50$0.50163,840
deepseek-v2-lite-chatFireworks AI$0.50$0.50163,840
dolphin-2p6-mixtral-8x7bFireworks AI$0.50$0.5032,768
firefunction-v1Fireworks AI$0.50$0.5032,768
mixtral-8x7bFireworks AI$0.50$0.5032,768
mixtral-8x7b-instruct-hfFireworks AI$0.50$0.5032,768
nous-hermes-2-mixtral-8x7b-dpoFireworks AI$0.50$0.5032,768
qwen3-30b-a3b-instruct-2507Fireworks AI$0.50$0.50262,144
deepseek-r1-basicFireworks AI$0.55$2.19128,000
glm-4p5Fireworks AI$0.55$2.19128,000
glm-4p6Fireworks AI$0.55$2.19202,800
deepseek-v3p1Fireworks AI$0.56$1.68128,000
deepseek-v3p1-terminusFireworks AI$0.56$1.68128,000
deepseek-v3p2Fireworks AI$0.56$1.68163,840
glm-4p7Fireworks AI$0.60$2.20202,800
kimi-k2-instructFireworks AI$0.60$2.50131,072
kimi-k2p5Fireworks AI$0.60$3.00262,144
code-llama-34bFireworks AI$0.90$0.9016,384
code-llama-34b-pythonFireworks AI$0.90$0.9016,384
code-llama-70bFireworks AI$0.90$0.904,096
code-llama-70b-pythonFireworks AI$0.90$0.904,096
cogito-v1-preview-llama-70bFireworks AI$0.90$0.90131,072
cogito-v1-preview-qwen-32bFireworks AI$0.90$0.90131,072
deepseek-coder-33b-instructFireworks AI$0.90$0.9016,384
deepseek-r1-distill-qwen-32bFireworks AI$0.90$0.90131,072
dobby-unhinged-llama-3-3-70b-newFireworks AI$0.90$0.90131,072
dolphin-2-9-2-qwen2-72bFireworks AI$0.90$0.90131,072
fare-20bFireworks AI$0.90$0.90131,072
firefunction-v2Fireworks AI$0.90$0.908,192
internvl3-38bFireworks AI$0.90$0.9016,384
internvl3-78bFireworks AI$0.90$0.9016,384
kat-coderFireworks AI$0.90$0.90262,144
kat-dev-32bFireworks AI$0.90$0.90131,072
kat-dev-72b-expFireworks AI$0.90$0.90131,072
llama-v2-70b-chatFireworks AI$0.90$0.902,048
llama-v3-70b-instructFireworks AI$0.90$0.908,192
llama-v3-70b-instruct-hfFireworks AI$0.90$0.908,192
llama-v3p1-70b-instructFireworks AI$0.90$0.90131,072
llama-v3p1-nemotron-70b-instructFireworks AI$0.90$0.90131,072
llama-v3p2-90b-vision-instructFireworks AI$0.90$0.9016,384
llama-v3p3-70b-instructFireworks AI$0.90$0.90131,072
llava-yi-34bFireworks AI$0.90$0.904,096
mistral-small-24b-instruct-2501Fireworks AI$0.90$0.9032,768
nous-hermes-2-yi-34bFireworks AI$0.90$0.904,096
nous-hermes-llama2-70bFireworks AI$0.90$0.904,096
phind-code-llama-34b-python-v1Fireworks AI$0.90$0.9016,384
phind-code-llama-34b-v1Fireworks AI$0.90$0.9016,384
phind-code-llama-34b-v2Fireworks AI$0.90$0.9016,384
qwen-qwq-32b-previewFireworks AI$0.90$0.9032,768
qwen1p5-72b-chatFireworks AI$0.90$0.9032,768
qwen2-72b-instructFireworks AI$0.90$0.9032,768
qwen2-vl-72b-instructFireworks AI$0.90$0.9032,768
qwen2p5-32bFireworks AI$0.90$0.90131,072
qwen2p5-32b-instructFireworks AI$0.90$0.9032,768
qwen2p5-72bFireworks AI$0.90$0.90131,072
qwen2p5-72b-instructFireworks AI$0.90$0.9032,768
qwen2p5-coder-32bFireworks AI$0.90$0.9032,768
qwen2p5-coder-32b-instructFireworks AI$0.90$0.904,096
qwen2p5-coder-32b-instruct-128kFireworks AI$0.90$0.90131,072
qwen2p5-coder-32b-instruct-32k-ropeFireworks AI$0.90$0.9032,768
qwen2p5-coder-32b-instruct-64kFireworks AI$0.90$0.9065,536
qwen2p5-math-72b-instructFireworks AI$0.90$0.904,096
qwen2p5-vl-32b-instructFireworks AI$0.90$0.90128,000
qwen2p5-vl-72b-instructFireworks AI$0.90$0.90128,000
qwen3-30b-a3b-thinking-2507Fireworks AI$0.90$0.90262,144
qwen3-coder-480b-instruct-bf16Fireworks AI$0.90$0.904,096
yi-34bFireworks AI$0.90$0.904,096
yi-34b-200k-capybaraFireworks AI$0.90$0.90200,000
yi-34b-chatFireworks AI$0.90$0.904,096
kimi-k2p6Fireworks AI$0.95$4.00262,144
kimi-k2p7-codeFireworks AI$0.95$4.00262,144
cogito-671b-v2-p1Fireworks AI$1.20$1.20163,840
dbrx-instructFireworks AI$1.20$1.2032,768
deepseek-coder-v2-instructFireworks AI$1.20$1.2065,536
deepseek-prover-v2Fireworks AI$1.20$1.20163,840
deepseek-v2p5Fireworks AI$1.20$1.2032,768
glm-4p5vFireworks AI$1.20$1.20131,072
gpt-oss-safeguard-120bFireworks AI$1.20$1.20131,072
mistral-large-3-fp8Fireworks AI$1.20$1.20256,000
mixtral-8x22bFireworks AI$1.20$1.2065,536
mixtral-8x22b-instructFireworks AI$1.20$1.2065,536
mixtral-8x22b-instruct-hfFireworks AI$1.20$1.2065,536
glm-5p1Fireworks AI$1.40$4.40202,800
glm-5p2Fireworks AI$1.40$4.401,048,576
kimi-k2p7-code-fastFireworks AI$1.90$8.00262,144
kimi-k2p6-fastFireworks AI$2.00$8.00262,144
glm-5p1-fastFireworks AI$2.80$8.80202,800
deepseek-r1-0528Fireworks AI$3.00$8.00160,000
llama-v3p1-405b-instructFireworks AI$3.00$3.00128,000
yi-largeFireworks AI$3.00$3.0032,768
gemini-exp-1114Google$0.00$0.001,048,576
gemini-exp-1206Google$0.00$0.002,097,152
gemma-3-27b-itGoogle$0.00$0.00131,072
learnlm-1.5-pro-experimentalGoogle$0.00$0.0032,767
lyria-3-clip-previewGoogle$0.00$0.00131,072
lyria-3-pro-previewGoogle$0.00$0.00131,072
gemini-2.0-flash-liteGoogle$0.075$0.301,048,576
gemini-2.0-flash-lite-001Google$0.075$0.301,048,576
gemini-2.0-flashGoogle$0.10$0.401,048,576
gemini-2.0-flash-001Google$0.10$0.401,048,576
gemini-2.5-flash-lite-preview-06-17Google$0.10$0.401,048,576
gemini-2.5-flash-lite-preview-09-2025Google$0.10$0.401,048,576
gemini-flash-lite-latestGoogle$0.10$0.401,048,576
gemini-3.1-flash-lite-previewGoogle$0.25$1.501,048,576
gemini-2.5-flash-native-audio-latestGoogle$0.30$2.501,048,576
gemini-2.5-flash-native-audio-preview-09-2025Google$0.30$2.501,048,576
gemini-2.5-flash-native-audio-preview-12-2025Google$0.30$2.501,048,576
gemini-2.5-flash-preview-09-2025Google$0.30$2.501,048,576
gemini-flash-latestGoogle$0.30$2.501,048,576
gemini-robotics-er-1.5-previewGoogle$0.30$2.501,048,576
gemini-gemma-2-27b-itGoogle$0.35$1.058,192
gemini-gemma-2-9b-itGoogle$0.35$1.058,192
gemini-3-flash-previewGoogle$0.50$3.001,048,576
gemini-3.1-flash-live-previewGoogle$0.75$4.50131,072
gemini-robotics-er-1.6-previewGoogle$1.00$5.00131,072
gemini-2.5-computer-use-preview-10-2025Google$1.25$10.00128,000
gemini-2.5-pro-preview-ttsGoogle$1.25$10.001,048,576
gemini-pro-latestGoogle$1.25$10.001,048,576
gemini-omni-flash-previewGoogle$1.50$9.001,048,576
gemini-3-pro-previewGoogle$2.00$12.001,048,576
gemini-3.1-pro-preview-customtoolsGoogle$2.00$12.001,048,576
gemini-robotics-er-2-previewGoogle$2.00$10.00131,072
gemma-7b-itGroq$0.05$0.088,192
llama-3.1-8b-instantGroq$0.05$0.08128,000
gpt-oss-20bGroq$0.075$0.30131,072
gpt-oss-safeguard-20bGroq$0.075$0.30131,072
llama-4-scout-17b-16e-instructGroq$0.11$0.34131,072
gpt-oss-120bGroq$0.15$0.60131,072
llama-4-maverick-17b-128e-instructGroq$0.20$0.60131,072
llama-guard-4-12bGroq$0.20$0.208,192
qwen3-32bGroq$0.29$0.59131,000
llama-3.3-70b-versatileGroq$0.59$0.79128,000
kimi-k2-instruct-0905Groq$1.00$3.00262,144
mistral-small-3-2-2506Mistral$0.06$0.18131,072
mistral-small-latestMistral$0.06$0.18131,072
devstral-small-2505Mistral$0.10$0.30128,000
devstral-small-2507Mistral$0.10$0.30128,000
devstral-small-latestMistral$0.10$0.30256,000
labs-devstral-small-2512Mistral$0.10$0.30256,000
ministral-3-3b-2512Mistral$0.10$0.10131,072
mistral-smallMistral$0.10$0.3032,000
ministral-3-8b-2512Mistral$0.15$0.15262,144
ministral-8b-2512Mistral$0.15$0.15262,144
ministral-8b-latestMistral$0.15$0.15262,144
pixtral-12b-2409Mistral$0.15$0.15128,000
ministral-3-14b-2512Mistral$0.20$0.20262,144
codestral-mamba-latestMistral$0.25$0.25256,000
mistral-tinyMistral$0.25$0.2532,000
open-codestral-mambaMistral$0.25$0.25256,000
open-mistral-7bMistral$0.25$0.2532,000
codestral-2508Mistral$0.30$0.90256,000
open-mistral-nemoMistral$0.30$0.30128,000
open-mistral-nemo-2407Mistral$0.30$0.30128,000
devstral-2512Mistral$0.40$2.00256,000
devstral-latestMistral$0.40$2.00256,000
devstral-medium-2507Mistral$0.40$2.00128,000
devstral-medium-latestMistral$0.40$2.00256,000
mistral-medium-2505Mistral$0.40$2.00131,072
mistral-medium-2508Mistral$0.40$2.00131,072
mistral-medium-3-1-2508Mistral$0.40$2.00131,072
magistral-small-1-2-2509Mistral$0.50$1.5040,000
magistral-small-2506Mistral$0.50$1.5040,000
magistral-small-latestMistral$0.50$1.5040,000
mistral-large-2512Mistral$0.50$1.50262,144
mistral-large-latestMistral$0.50$1.50262,144
open-mixtral-8x7bMistral$0.70$0.7032,000
codestral-2405Mistral$1.00$3.0032,000
codestral-latestMistral$1.00$3.0032,000
mistral-medium-2604Mistral$1.50$7.50262,144
mistral-medium-latestMistral$1.50$7.50262,144
magistral-medium-1-2-2509Mistral$2.00$5.0040,000
magistral-medium-2506Mistral$2.00$5.0040,000
magistral-medium-2509Mistral$2.00$5.0040,000
magistral-medium-latestMistral$2.00$5.0040,000
mistral-large-2411Mistral$2.00$6.00128,000
open-mixtral-8x22bMistral$2.00$6.0065,336
pixtral-large-2411Mistral$2.00$6.00128,000
pixtral-large-latestMistral$2.00$6.00128,000
mistral-mediumMistral$2.70$8.1032,000
mistral-medium-2312Mistral$2.70$8.1032,000
mistral-large-2407Mistral$3.00$9.00128,000
mistral-large-2402Mistral$4.00$12.0032,000
kimi-latest-8kMoonshot AI$0.20$2.008,192
moonshot-v1-8kMoonshot AI$0.20$2.008,192
moonshot-v1-8k-0430Moonshot AI$0.20$2.008,192
moonshot-v1-8k-vision-previewMoonshot AI$0.20$2.008,192
kimi-k2-0711-previewMoonshot AI$0.60$2.50131,072
kimi-k2-0905-previewMoonshot AI$0.60$2.50262,144
kimi-k2.5Moonshot AI$0.60$3.00262,144
kimi-thinking-previewMoonshot AI$0.60$2.50131,072
kimi-latest-32kMoonshot AI$1.00$3.0032,768
moonshot-v1-32kMoonshot AI$1.00$3.0032,768
moonshot-v1-32k-0430Moonshot AI$1.00$3.0032,768
moonshot-v1-32k-vision-previewMoonshot AI$1.00$3.0032,768
kimi-k2-thinking-turboMoonshot AI$1.15$8.00262,144
kimi-k2-turbo-previewMoonshot AI$1.15$8.00262,144
kimi-latestMoonshot AI$2.00$5.00131,072
kimi-latest-128kMoonshot AI$2.00$5.00131,072
moonshot-v1-128kMoonshot AI$2.00$5.00131,072
moonshot-v1-128k-0430Moonshot AI$2.00$5.00131,072
moonshot-v1-128k-vision-previewMoonshot AI$2.00$5.00131,072
moonshot-v1-autoMoonshot AI$2.00$5.00131,072
Qwen2.5-Coder-7BNebius$0.01$0.0332,768
Qwen2.5-32B-InstructNebius$0.06$0.20128,000
Llama-3.3-Nemotron-Super-49B-v1Nebius$0.10$0.40131,072
Llama-3.1-Nemotron-Ultra-253B-v1Nebius$0.60$1.80128,000
paddleocr-vlNovita$0.02$0.0216,384
deepseek-ocrNovita$0.03$0.038,192
qwen3-4b-fp8Novita$0.03$0.03128,000
autoglm-phone-9b-multilingualNovita$0.035$0.13865,536
qwen3-8b-fp8Novita$0.035$0.138128,000
llama-3-8b-instructNovita$0.04$0.048,192
mistral-nemoNovita$0.04$0.1760,288
l3-8b-lunarisNovita$0.05$0.058,192
L3-8B-Stheno-v3.2Novita$0.05$0.058,192
deepseek-r1-0528-qwen3-8bNovita$0.06$0.09128,000
baichuan-m2-32bNovita$0.07$0.07131,072
ernie-4.5-21B-a3bNovita$0.07$0.28120,000
ernie-4.5-21B-a3b-thinkingNovita$0.07$0.28131,072
qwen3-30b-a3b-fp8Novita$0.09$0.4540,960
mimo-v2-flashNovita$0.10$0.30262,144
qwen3-32b-fp8Novita$0.10$0.4540,960
glm-4.5-airNovita$0.13$0.85131,072
ernie-4.5-vl-28b-a3bNovita$0.14$0.5630,000
hermes-2-pro-llama-3-8bNovita$0.14$0.148,192
qwen3-235b-a22b-fp8Novita$0.20$0.8040,960
r1v4-liteNovita$0.20$0.60262,144
qwen-mt-plusNovita$0.25$0.7516,384
qwen3-omni-30b-a3b-instructNovita$0.25$0.9765,536
qwen3-omni-30b-a3b-thinkingNovita$0.25$0.9765,536
deepseek-v3.2-expNovita$0.27$0.41163,840
ernie-4.5-300b-a47b-paddleNovita$0.28$1.10123,000
glm-4.6vNovita$0.30$0.90131,072
kat-coder-proNovita$0.30$1.20256,000
minimax-m2.1Novita$0.30$1.20204,800
ernie-4.5-vl-28b-a3b-thinkingNovita$0.39$0.39131,072
deepseek-v3-turboNovita$0.40$1.3064,000
ernie-4.5-vl-424b-a47bNovita$0.42$1.25123,000
llama-3-70b-instructNovita$0.51$0.748,192
glm-4.5vNovita$0.60$1.8065,536
kimi-k2-0905Novita$0.60$2.50262,144
deepseek-prover-v2-671bNovita$0.70$2.50160,000
qwen2.5-vl-72b-instructNovita$0.80$0.8032,768
l3-70b-euryale-v2.1Novita$1.48$1.488,192
gpt-5-nano-2025-08-07OpenAI$0.05$0.40272,000
gpt-4.1-nano-2025-04-14OpenAI$0.10$0.401,047,576
gpt-4o-mini-2024-07-18OpenAI$0.15$0.60128,000
gpt-4o-mini-audio-previewOpenAI$0.15$0.60128,000
gpt-4o-mini-audio-preview-2024-12-17OpenAI$0.15$0.60128,000
gpt-4o-mini-search-previewOpenAI$0.15$0.60128,000
gpt-4o-mini-search-preview-2025-03-11OpenAI$0.15$0.60128,000
gpt-5.4-nano-2026-03-17OpenAI$0.20$1.25272,000
gpt-5-mini-2025-08-07OpenAI$0.25$2.00272,000
gpt-4.1-mini-2025-04-14OpenAI$0.40$1.601,047,576
gpt-3.5-turboOpenAI$0.50$1.5016,385
gpt-3.5-turbo-0125OpenAI$0.50$1.5016,385
gpt-audio-miniOpenAI$0.60$2.40128,000
gpt-audio-mini-2025-10-06OpenAI$0.60$2.40128,000
gpt-audio-mini-2025-12-15OpenAI$0.60$2.40128,000
gpt-5.4-mini-2026-03-17OpenAI$0.75$4.50272,000
gpt-3.5-turbo-1106OpenAI$1.00$2.0016,385
o3-miniOpenAI$1.10$4.40200,000
o3-mini-2025-01-31OpenAI$1.10$4.40200,000
o4-mini-2025-04-16OpenAI$1.10$4.40200,000
gpt-5-2025-08-07OpenAI$1.25$10.00272,000
gpt-5-chatOpenAI$1.25$10.00128,000
gpt-5-chat-latestOpenAI$1.25$10.00128,000
gpt-5-search-apiOpenAI$1.25$10.00272,000
gpt-5-search-api-2025-10-14OpenAI$1.25$10.00272,000
gpt-5.1-2025-11-13OpenAI$1.25$10.00272,000
gpt-5.1-chat-latestOpenAI$1.25$10.00128,000
gpt-5.2-2025-12-11OpenAI$1.75$14.00272,000
gpt-5.2-chat-latestOpenAI$1.75$14.00128,000
gpt-5.3-chat-latestOpenAI$1.75$14.00128,000
gpt-4.1-2025-04-14OpenAI$2.00$8.001,047,576
o3-2025-04-16OpenAI$2.00$8.00200,000
gpt-4o-2024-08-06OpenAI$2.50$10.00128,000
gpt-4o-2024-11-20OpenAI$2.50$10.00128,000
gpt-4o-audio-previewOpenAI$2.50$10.00128,000
gpt-4o-audio-preview-2024-12-17OpenAI$2.50$10.00128,000
gpt-4o-audio-preview-2025-06-03OpenAI$2.50$10.00128,000
gpt-4o-search-previewOpenAI$2.50$10.00128,000
gpt-4o-search-preview-2025-03-11OpenAI$2.50$10.00128,000
gpt-5.4-2026-03-05OpenAI$2.50$15.001,050,000
gpt-audioOpenAI$2.50$10.00128,000
gpt-audio-1.5OpenAI$2.50$10.00128,000
gpt-audio-2025-08-28OpenAI$2.50$10.00128,000
gpt-3.5-turbo-16kOpenAI$3.00$4.0016,385
chatgpt-4o-latestOpenAI$5.00$15.00128,000
gpt-4o-2024-05-13OpenAI$5.00$15.00128,000
gpt-5.5-2026-04-23OpenAI$5.00$30.001,050,000
gpt-5.6OpenAI$5.00$30.001,050,000
gpt-4-0125-previewOpenAI$10.00$30.00128,000
gpt-4-1106-previewOpenAI$10.00$30.00128,000
gpt-4-turboOpenAI$10.00$30.00128,000
gpt-4-turbo-2024-04-09OpenAI$10.00$30.00128,000
gpt-4-turbo-previewOpenAI$10.00$30.00128,000
o1OpenAI$15.00$60.00200,000
o1-2024-12-17OpenAI$15.00$60.00200,000
gpt-4OpenAI$30.00$60.008,192
gpt-4-0314OpenAI$30.00$60.008,192
gpt-4-0613OpenAI$30.00$60.008,192
pplx-70b-onlinePerplexity$0.00$2.804,096
pplx-7b-onlinePerplexity$0.00$0.284,096
sonar-medium-onlinePerplexity$0.00$1.8012,000
sonar-small-onlinePerplexity$0.00$0.2812,000
mistral-7b-instructPerplexity$0.07$0.284,096
mixtral-8x7b-instructPerplexity$0.07$0.284,096
pplx-7b-chatPerplexity$0.07$0.288,192
sonar-small-chatPerplexity$0.07$0.2816,384
llama-3.1-8b-instructPerplexity$0.20$0.20131,072
codellama-34b-instructPerplexity$0.35$1.4016,384
sonar-medium-chatPerplexity$0.60$1.8016,384
codellama-70b-instructPerplexity$0.70$2.8016,384
llama-2-70b-chatPerplexity$0.70$2.804,096
pplx-70b-chatPerplexity$0.70$2.804,096
llama-3.1-70b-instructPerplexity$1.00$1.00131,072
sonarPerplexity$1.00$1.00128,000
sonar-reasoningPerplexity$1.00$5.00128,000
sonar-deep-researchPerplexity$2.00$8.00128,000
sonar-reasoning-proPerplexity$2.00$8.00128,000
sonar-proPerplexity$3.00$15.00200,000
llama-2-7bReplicate$0.05$0.254,096
llama-2-7b-chatReplicate$0.05$0.254,096
llama-3-8bReplicate$0.05$0.258,086
mistral-7b-instruct-v0.2Replicate$0.05$0.254,096
mistral-7b-v0.1Replicate$0.05$0.254,096
llama-2-13bReplicate$0.10$0.504,096
llama-2-13b-chatReplicate$0.10$0.504,096
llama-2-70bReplicate$0.65$2.754,096
llama-3-70bReplicate$0.65$2.758,192
Meta-Llama-3.2-1B-InstructSambaNova$0.04$0.0816,384
Meta-Llama-3.2-3B-InstructSambaNova$0.08$0.164,096
Meta-Llama-3.1-8B-InstructSambaNova$0.10$0.2016,384
Meta-Llama-Guard-3-8BSambaNova$0.30$0.3016,384
gemma-4-31B-itSambaNova$0.38$1.15131,072
Qwen2-Audio-7B-InstructSambaNova$0.50$100.004,096
QwQ-32BSambaNova$0.50$1.0016,384
Meta-Llama-3.3-70B-InstructSambaNova$0.60$1.20131,072
MiniMax-M2.7SambaNova$0.60$2.40196,608
DeepSeek-R1-Distill-Llama-70BSambaNova$0.70$1.40131,072
DeepSeek-V3-0324SambaNova$3.00$4.5032,768
DeepSeek-V3.1SambaNova$3.00$4.50131,072
Meta-Llama-3.1-405B-InstructSambaNova$5.00$10.0016,384
GLM-4.5-Air-FP8Together AI$0.20$1.10128,000
Qwen3-235B-A22B-fp8-tputTogether AI$0.20$0.6040,000
Qwen3-235B-A22B-Instruct-2507-tputTogether AI$0.20$6.00262,000
together-ai-8.1b-21bTogether AI$0.30$0.301,000
GLM-4.7Together AI$0.45$2.00200,000
DeepSeek-R1-0528-tputTogether AI$0.55$2.19128,000
GLM-4.6Together AI$0.60$2.20200,000
Qwen3.5-397B-A17BTogether AI$0.60$3.60262,144
Qwen3-235B-A22B-Thinking-2507Together AI$0.65$3.00256,000
Qwen3-Coder-480B-A35B-Instruct-FP8Together AI$2.00$2.00256,000
grok-4-1-fastxAI$0.20$0.502,000,000
grok-4-1-fast-non-reasoningxAI$0.20$0.502,000,000
grok-4-1-fast-non-reasoning-latestxAI$0.20$0.502,000,000
grok-4-1-fast-reasoningxAI$0.20$0.502,000,000
grok-4-1-fast-reasoning-latestxAI$0.20$0.502,000,000
grok-4-fast-non-reasoningxAI$0.20$0.502,000,000
grok-4-fast-reasoningxAI$0.20$0.502,000,000
grok-code-fastxAI$0.20$1.50256,000
grok-code-fast-1-0825xAI$0.20$1.50256,000
grok-3-minixAI$0.30$0.50131,072
grok-3-mini-betaxAI$0.30$0.50131,072
grok-3-mini-latestxAI$0.30$0.50131,072
grok-3-mini-fastxAI$0.60$4.00131,072
grok-3-mini-fast-betaxAI$0.60$4.00131,072
grok-3-mini-fast-latestxAI$0.60$4.00131,072
grok-4.3-latestxAI$1.25$2.501,000,000
grok-2xAI$2.00$10.00131,072
grok-2-1212xAI$2.00$10.00131,072
grok-2-latestxAI$2.00$10.00131,072
grok-2-visionxAI$2.00$10.0032,768
grok-2-vision-1212xAI$2.00$10.0032,768
grok-2-vision-latestxAI$2.00$10.0032,768
grok-4.20-0309-reasoningxAI$2.00$6.002,000,000
grok-4.20-beta-0309-non-reasoningxAI$2.00$6.002,000,000
grok-4.20-beta-0309-reasoningxAI$2.00$6.002,000,000
grok-4.20-multi-agent-beta-0309xAI$2.00$6.002,000,000
grok-4.5-latestxAI$2.00$6.00500,000
grok-3xAI$3.00$15.00131,072
grok-3-betaxAI$3.00$15.00131,072
grok-3-latestxAI$3.00$15.00131,072
grok-4xAI$3.00$15.00256,000
grok-4-0709xAI$3.00$15.00256,000
grok-4-latestxAI$3.00$15.00256,000
grok-3-fast-betaxAI$5.00$25.00131,072
grok-3-fast-latestxAI$5.00$25.00131,072
grok-betaxAI$5.00$15.00131,072
grok-vision-betaxAI$5.00$15.008,192

Want to know what a specific prompt costs on each of these models? Paste it into thetoken counter and cost analyzer and open the Compare tab.

Free pricing data API

This entire table is available as a free JSON dataset at freetokencounter.com/api/pricing.json — current input and output rates, context windows, pricing tiers, and official source links for every model, regenerated whenever the catalog refreshes. CORS is enabled, so you can fetch it directly from scripts, dashboards, or CI. Free to use with attribution to freetokencounter.com. Price moves are logged on the pricing change tracker, with an RSS feed you can subscribe to.

FAQ

LLM pricing FAQ

How is LLM API pricing structured?

Providers bill separately for input tokens (the prompt and context you send) and output tokens (the model response), usually quoted per 1 million tokens. Total request cost is input tokens times the input rate plus output tokens times the output rate.

Which LLM is cheapest right now?

Among paid API models in this table, DeepSeek V4 Flash currently has the lowest combined rate at about $0.14 input plus $0.28 output per 1M tokens, based on pricing checked 2026-08-11. Open-weight models like Llama can be cheaper or more expensive depending on hosting.

Which LLM is most expensive?

GPT-5.5 Pro has the highest output rate in this table at $180.00 per 1M output tokens as of 2026-08-11. High-end reasoning models generally carry the largest premiums on output tokens.

How often is this pricing table updated?

Prices are pulled from official provider pricing pages through an automated catalog refresh. The current data was checked on 2026-08-11. Treat all figures as estimates and confirm on the linked provider page before budgeting.