Free price reference
LLM pricing, every model side by side
Cost per million tokens (input, output, and cache), plus context windows, for 2,527 models across every major provider. Prices sync daily from the open LiteLLM dataset. Pick a model for details and a workload cost calculator.
| Model | Provider ↑ | Input /Mtok | Output /Mtok | Cache read | Cache write | Context | Modality |
|---|---|---|---|---|---|---|---|
|
gemini/gemini-3-pro-image
gemini/gemini-3-pro-image
|
$2.00 | $12.00 | — | — | 65,536 | image | |
|
gemini/gemini-3-pro-image-preview
gemini/gemini-3-pro-image-preview
|
$2.00 | $12.00 | — | — | 65,536 | image | |
|
gemini/gemini-3-pro-preview
gemini/gemini-3-pro-preview
|
$2.00 | $12.00 | $0.2000 | — | 1,048,576 | text | |
|
gemini/gemini-3.1-flash-image
gemini/gemini-3.1-flash-image
|
$0.2500 | $1.50 | — | — | 65,536 | image | |
|
gemini/gemini-3.1-flash-image-preview
gemini/gemini-3.1-flash-image-preview
|
$0.2500 | $1.50 | — | — | 65,536 | image | |
|
gemini/gemini-3.1-flash-lite
gemini/gemini-3.1-flash-lite
|
$0.2500 | $1.50 | $0.0250 | — | 1,048,576 | text | |
|
gemini/gemini-3.1-flash-lite-preview
gemini/gemini-3.1-flash-lite-preview
|
$0.2500 | $1.50 | $0.0250 | — | 1,048,576 | text | |
|
gemini/gemini-3.1-flash-live-preview
gemini/gemini-3.1-flash-live-preview
|
$0.7500 | $4.50 | — | — | 131,072 | text | |
|
gemini/gemini-3.1-pro-preview
gemini/gemini-3.1-pro-preview
|
$2.00 | $12.00 | $0.2000 | — | 1,048,576 | text | |
|
gemini/gemini-3.1-pro-preview-customtools
gemini/gemini-3.1-pro-preview-customtools
|
$2.00 | $12.00 | $0.2000 | — | 1,048,576 | text | |
|
gemini/gemini-3.5-flash
gemini/gemini-3.5-flash
|
$1.50 | $9.00 | $0.1500 | — | 1,048,576 | text | |
|
gemini/gemini-3.5-flash-lite
gemini/gemini-3.5-flash-lite
|
$0.3000 | $2.50 | $0.0300 | — | 1,048,576 | text | |
|
gemini/gemini-3.6-flash
gemini/gemini-3.6-flash
|
$1.50 | $7.50 | $0.1500 | — | 1,048,576 | text | |
|
gemini/gemini-embedding-001
gemini/gemini-embedding-001
|
$0.1500 | $0.0000 | — | — | 2,048 | embedding | |
|
gemini/gemini-embedding-2
gemini/gemini-embedding-2
|
$0.2000 | $0.0000 | — | — | 8,192 | embedding | |
|
gemini/gemini-embedding-2-preview
gemini/gemini-embedding-2-preview
|
$0.2000 | $0.0000 | — | — | 8,192 | embedding | |
|
gemini/gemini-exp-1114
gemini/gemini-exp-1114
|
$0.0000 | $0.0000 | — | — | 1,048,576 | text | |
|
gemini/gemini-exp-1206
gemini/gemini-exp-1206
|
$0.0000 | $0.0000 | — | — | 2,097,152 | text | |
|
gemini/gemini-flash-latest
gemini/gemini-flash-latest
|
$0.3000 | $2.50 | $0.0750 | — | 1,048,576 | text | |
|
gemini/gemini-flash-lite-latest
gemini/gemini-flash-lite-latest
|
$0.1000 | $0.4000 | $0.0250 | — | 1,048,576 | text | |
|
gemini/gemini-gemma-2-27b-it
gemini/gemini-gemma-2-27b-it
|
$0.3500 | $1.05 | — | — | 8,192 | text | |
|
gemini/gemini-gemma-2-9b-it
gemini/gemini-gemma-2-9b-it
|
$0.3500 | $1.05 | — | — | 8,192 | text | |
|
gemini/gemini-live-2.5-flash-preview-native-audio-09-2025
gemini/gemini-live-2.5-flash-preview-native-audio-09-2025
|
$0.3000 | $2.00 | $0.0750 | — | 1,048,576 | text | |
|
gemini/gemini-omni-flash-preview
gemini/gemini-omni-flash-preview
|
$1.50 | $9.00 | — | — | 1,048,576 | text | |
|
gemini/gemini-pro-latest
gemini/gemini-pro-latest
|
$1.25 | $10.00 | $0.1250 | — | 1,048,576 | text | |
|
gemini/gemini-robotics-er-1.5-preview
gemini/gemini-robotics-er-1.5-preview
|
$0.3000 | $2.50 | $0.0000 | — | 1,048,576 | text | |
|
gemini/gemma-3-27b-it
gemini/gemma-3-27b-it
|
$0.0000 | $0.0000 | — | — | 131,072 | text | |
|
gemini/learnlm-1.5-pro-experimental
gemini/learnlm-1.5-pro-experimental
|
$0.0000 | $0.0000 | — | — | 32,767 | text | |
|
gemini/lyria-3-clip-preview
gemini/lyria-3-clip-preview
|
$0.0000 | $0.0000 | — | — | 131,072 | text | |
|
gemini/lyria-3-pro-preview
gemini/lyria-3-pro-preview
|
$0.0000 | $0.0000 | — | — | 131,072 | text | |
|
vertex_ai/deep-research-pro-preview-12-2025
vertex_ai/deep-research-pro-preview-12-2025
|
$2.00 | $12.00 | — | — | 65,536 | image | |
|
vertex_ai/deepseek-ai/deepseek-ocr-maas
vertex_ai/deepseek-ai/deepseek-ocr-maas
|
$0.3000 | $1.20 | — | — | — | text | |
|
vertex_ai/gemini-2.5-flash-image
vertex_ai/gemini-2.5-flash-image
|
$0.3000 | $2.50 | $0.0300 | — | 32,768 | image | |
|
vertex_ai/gemini-3-flash-preview
vertex_ai/gemini-3-flash-preview
|
$0.5000 | $3.00 | $0.0500 | — | 1,048,576 | text | |
|
vertex_ai/gemini-3-pro-image
vertex_ai/gemini-3-pro-image
|
$2.00 | $12.00 | — | — | 65,536 | image | |
|
vertex_ai/gemini-3-pro-image-preview
vertex_ai/gemini-3-pro-image-preview
|
$2.00 | $12.00 | — | — | 65,536 | image | |
|
vertex_ai/gemini-3-pro-preview
vertex_ai/gemini-3-pro-preview
|
$2.00 | $12.00 | $0.2000 | — | 1,048,576 | text | |
|
vertex_ai/gemini-3.1-flash-image
vertex_ai/gemini-3.1-flash-image
|
$0.5000 | $3.00 | — | — | 65,536 | image | |
|
vertex_ai/gemini-3.1-flash-image-preview
vertex_ai/gemini-3.1-flash-image-preview
|
$0.5000 | $3.00 | — | — | 65,536 | image | |
|
vertex_ai/gemini-3.1-flash-lite
vertex_ai/gemini-3.1-flash-lite
|
$0.2500 | $1.50 | $0.0250 | — | 1,048,576 | text | |
|
vertex_ai/gemini-3.1-flash-lite-preview
vertex_ai/gemini-3.1-flash-lite-preview
|
$0.2500 | $1.50 | $0.0250 | — | 1,048,576 | text | |
|
vertex_ai/gemini-3.1-pro-preview
vertex_ai/gemini-3.1-pro-preview
|
$2.00 | $12.00 | $0.2000 | — | 1,048,576 | text | |
|
vertex_ai/gemini-3.1-pro-preview-customtools
vertex_ai/gemini-3.1-pro-preview-customtools
|
$2.00 | $12.00 | $0.2000 | — | 1,048,576 | text | |
|
vertex_ai/gemini-3.5-flash
vertex_ai/gemini-3.5-flash
|
$1.50 | $9.00 | $0.1500 | — | 1,048,576 | text | |
|
vertex_ai/gemini-3.5-flash-lite
vertex_ai/gemini-3.5-flash-lite
|
$0.3000 | $2.50 | $0.0300 | — | 1,048,576 | text | |
|
vertex_ai/gemini-3.6-flash
vertex_ai/gemini-3.6-flash
|
$1.50 | $7.50 | $0.1500 | — | 1,048,576 | text | |
|
vertex_ai/gemini-embedding-2
vertex_ai/gemini-embedding-2
|
$0.2000 | $0.0000 | — | — | 8,192 | embedding | |
|
vertex_ai/gemini-embedding-2-preview
vertex_ai/gemini-embedding-2-preview
|
$0.2000 | $0.0000 | — | — | 8,192 | embedding | |
|
vertex_ai/xai/grok-4.1-fast-non-reasoning
vertex_ai/xai/grok-4.1-fast-non-reasoning
|
$0.2000 | $0.5000 | $0.0500 | — | 2,000,000 | text | |
|
vertex_ai/xai/grok-4.1-fast-reasoning
vertex_ai/xai/grok-4.1-fast-reasoning
|
$0.2000 | $0.5000 | $0.0500 | — | 2,000,000 | text | |
|
vertex_ai/xai/grok-4.20-non-reasoning
vertex_ai/xai/grok-4.20-non-reasoning
|
$2.00 | $6.00 | $0.2000 | — | 2,000,000 | text | |
|
vertex_ai/xai/grok-4.20-reasoning
vertex_ai/xai/grok-4.20-reasoning
|
$2.00 | $6.00 | $0.2000 | — | 2,000,000 | text | |
|
gradient_ai/anthropic-claude-3-opus
gradient_ai/anthropic-claude-3-opus
|
Gradient Ai | $15.00 | $75.00 | — | — | 200,000 | text |
|
gradient_ai/anthropic-claude-3.5-haiku
gradient_ai/anthropic-claude-3.5-haiku
|
Gradient Ai | $0.8000 | $4.00 | — | — | 200,000 | text |
|
gradient_ai/anthropic-claude-3.5-sonnet
gradient_ai/anthropic-claude-3.5-sonnet
|
Gradient Ai | $3.00 | $15.00 | — | — | 200,000 | text |
|
gradient_ai/anthropic-claude-3.7-sonnet
gradient_ai/anthropic-claude-3.7-sonnet
|
Gradient Ai | $3.00 | $15.00 | — | — | 200,000 | text |
|
gradient_ai/deepseek-r1-distill-llama-70b
gradient_ai/deepseek-r1-distill-llama-70b
|
Gradient Ai | $0.9900 | $0.9900 | — | — | 32,768 | text |
|
gradient_ai/llama3-8b-instruct
gradient_ai/llama3-8b-instruct
|
Gradient Ai | $0.2000 | $0.2000 | — | — | 8,192 | text |
|
gradient_ai/llama3.3-70b-instruct
gradient_ai/llama3.3-70b-instruct
|
Gradient Ai | $0.6500 | $0.6500 | — | — | 128,000 | text |
|
gradient_ai/mistral-nemo-instruct-2407
gradient_ai/mistral-nemo-instruct-2407
|
Gradient Ai | $0.3000 | $0.3000 | — | — | 128,000 | text |
|
gradient_ai/openai-o3
gradient_ai/openai-o3
|
Gradient Ai | $2.00 | $8.00 | — | — | 200,000 | text |
|
gradient_ai/openai-o3-mini
gradient_ai/openai-o3-mini
|
Gradient Ai | $1.10 | $4.40 | — | — | 200,000 | text |
|
groq/gemma-7b-it
groq/gemma-7b-it
|
Groq | $0.0500 | $0.0800 | — | — | 8,192 | text |
|
groq/llama-3.1-8b-instant
groq/llama-3.1-8b-instant
|
Groq | $0.0500 | $0.0800 | — | — | 128,000 | text |
|
groq/llama-3.3-70b-versatile
groq/llama-3.3-70b-versatile
|
Groq | $0.5900 | $0.7900 | — | — | 128,000 | text |
|
groq/meta-llama/llama-4-maverick-17b-128e-instruct
groq/meta-llama/llama-4-maverick-17b-128e-instruct
|
Groq | $0.2000 | $0.6000 | — | — | 131,072 | text |
|
groq/meta-llama/llama-4-scout-17b-16e-instruct
groq/meta-llama/llama-4-scout-17b-16e-instruct
|
Groq | $0.1100 | $0.3400 | — | — | 131,072 | text |
|
groq/meta-llama/llama-guard-4-12b
groq/meta-llama/llama-guard-4-12b
|
Groq | $0.2000 | $0.2000 | — | — | 8,192 | text |
|
groq/moonshotai/kimi-k2-instruct-0905
groq/moonshotai/kimi-k2-instruct-0905
|
Groq | $1.00 | $3.00 | $0.5000 | — | 262,144 | text |
|
groq/openai/gpt-oss-120b
groq/openai/gpt-oss-120b
|
Groq | $0.1500 | $0.6000 | $0.0750 | — | 131,072 | text |
|
groq/openai/gpt-oss-20b
groq/openai/gpt-oss-20b
|
Groq | $0.0750 | $0.3000 | $0.0375 | — | 131,072 | text |
|
groq/openai/gpt-oss-safeguard-20b
groq/openai/gpt-oss-safeguard-20b
|
Groq | $0.0750 | $0.3000 | $0.0370 | — | 131,072 | text |
|
groq/qwen/qwen3-32b
groq/qwen/qwen3-32b
|
Groq | $0.2900 | $0.5900 | — | — | 131,000 | text |
|
hyperbolic/deepseek-ai/DeepSeek-R1
hyperbolic/deepseek-ai/DeepSeek-R1
|
Hyperbolic | $0.4000 | $0.4000 | — | — | 32,768 | text |
|
hyperbolic/deepseek-ai/DeepSeek-R1-0528
hyperbolic/deepseek-ai/DeepSeek-R1-0528
|
Hyperbolic | $0.2500 | $0.2500 | — | — | 131,072 | text |
|
hyperbolic/deepseek-ai/DeepSeek-V3
hyperbolic/deepseek-ai/DeepSeek-V3
|
Hyperbolic | $0.2000 | $0.2000 | — | — | 32,768 | text |
|
hyperbolic/deepseek-ai/DeepSeek-V3-0324
hyperbolic/deepseek-ai/DeepSeek-V3-0324
|
Hyperbolic | $0.4000 | $0.4000 | — | — | 32,768 | text |
|
hyperbolic/meta-llama/Llama-3.2-3B-Instruct
hyperbolic/meta-llama/Llama-3.2-3B-Instruct
|
Hyperbolic | $0.1200 | $0.3000 | — | — | 32,768 | text |
|
hyperbolic/meta-llama/Llama-3.3-70B-Instruct
hyperbolic/meta-llama/Llama-3.3-70B-Instruct
|
Hyperbolic | $0.1200 | $0.3000 | — | — | 131,072 | text |
|
hyperbolic/meta-llama/Meta-Llama-3-70B-Instruct
hyperbolic/meta-llama/Meta-Llama-3-70B-Instruct
|
Hyperbolic | $0.1200 | $0.3000 | — | — | 131,072 | text |
|
hyperbolic/meta-llama/Meta-Llama-3.1-405B-Instruct
hyperbolic/meta-llama/Meta-Llama-3.1-405B-Instruct
|
Hyperbolic | $0.1200 | $0.3000 | — | — | 32,768 | text |
|
hyperbolic/meta-llama/Meta-Llama-3.1-70B-Instruct
hyperbolic/meta-llama/Meta-Llama-3.1-70B-Instruct
|
Hyperbolic | $0.1200 | $0.3000 | — | — | 32,768 | text |
|
hyperbolic/meta-llama/Meta-Llama-3.1-8B-Instruct
hyperbolic/meta-llama/Meta-Llama-3.1-8B-Instruct
|
Hyperbolic | $0.1200 | $0.3000 | — | — | 32,768 | text |
|
hyperbolic/moonshotai/Kimi-K2-Instruct
hyperbolic/moonshotai/Kimi-K2-Instruct
|
Hyperbolic | $2.00 | $2.00 | — | — | 131,072 | text |
|
hyperbolic/NousResearch/Hermes-3-Llama-3.1-70B
hyperbolic/NousResearch/Hermes-3-Llama-3.1-70B
|
Hyperbolic | $0.1200 | $0.3000 | — | — | 32,768 | text |
|
hyperbolic/Qwen/Qwen2.5-72B-Instruct
hyperbolic/Qwen/Qwen2.5-72B-Instruct
|
Hyperbolic | $0.1200 | $0.3000 | — | — | 131,072 | text |
|
hyperbolic/Qwen/Qwen2.5-Coder-32B-Instruct
hyperbolic/Qwen/Qwen2.5-Coder-32B-Instruct
|
Hyperbolic | $0.1200 | $0.3000 | — | — | 32,768 | text |
|
hyperbolic/Qwen/Qwen3-235B-A22B
hyperbolic/Qwen/Qwen3-235B-A22B
|
Hyperbolic | $2.00 | $2.00 | — | — | 131,072 | text |
|
hyperbolic/Qwen/QwQ-32B
hyperbolic/Qwen/QwQ-32B
|
Hyperbolic | $0.2000 | $0.2000 | — | — | 131,072 | text |
|
inception/mercury-2
inception/mercury-2
|
Inception | $0.2500 | $0.7500 | $0.0250 | — | 128,000 | text |
|
jina-reranker-v2-base-multilingual
jina-reranker-v2-base-multilingual
|
Jina Ai | $0.0180 | $0.0180 | — | — | 1,024 | rerank |
|
lambda_ai/deepseek-llama3.3-70b
lambda_ai/deepseek-llama3.3-70b
|
Lambda Ai | $0.2000 | $0.6000 | — | — | 131,072 | text |
|
lambda_ai/deepseek-r1-0528
lambda_ai/deepseek-r1-0528
|
Lambda Ai | $0.2000 | $0.6000 | — | — | 131,072 | text |
|
lambda_ai/deepseek-r1-671b
lambda_ai/deepseek-r1-671b
|
Lambda Ai | $0.8000 | $0.8000 | — | — | 131,072 | text |
|
lambda_ai/deepseek-v3-0324
lambda_ai/deepseek-v3-0324
|
Lambda Ai | $0.2000 | $0.6000 | — | — | 131,072 | text |
|
lambda_ai/hermes3-405b
lambda_ai/hermes3-405b
|
Lambda Ai | $0.8000 | $0.8000 | — | — | 131,072 | text |
|
lambda_ai/hermes3-70b
lambda_ai/hermes3-70b
|
Lambda Ai | $0.1200 | $0.3000 | — | — | 131,072 | text |
|
lambda_ai/hermes3-8b
lambda_ai/hermes3-8b
|
Lambda Ai | $0.0250 | $0.0400 | — | — | 131,072 | text |
|
lambda_ai/lfm-40b
lambda_ai/lfm-40b
|
Lambda Ai | $0.1000 | $0.2000 | — | — | 131,072 | text |
|
lambda_ai/lfm-7b
lambda_ai/lfm-7b
|
Lambda Ai | $0.0250 | $0.0400 | — | — | 131,072 | text |
Prices are sourced from the open LiteLLM dataset and may lag provider changes. Always confirm against the provider's official pricing before relying on a figure.