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 |
|---|---|---|---|---|---|---|---|
|
oci/xai.grok-3-mini-fast
oci/xai.grok-3-mini-fast
|
Oci | $0.6000 | $4.00 | — | — | 131,072 | text |
|
oci/xai.grok-4
oci/xai.grok-4
|
Oci | $3.00 | $15.00 | — | — | 128,000 | text |
|
oci/xai.grok-4-fast
oci/xai.grok-4-fast
|
Oci | $5.00 | $25.00 | — | — | 131,072 | text |
|
oci/xai.grok-4.1-fast
oci/xai.grok-4.1-fast
|
Oci | $5.00 | $25.00 | — | — | 131,072 | text |
|
oci/xai.grok-4.20
oci/xai.grok-4.20
|
Oci | $3.00 | $15.00 | — | — | 131,072 | text |
|
oci/xai.grok-4.20-multi-agent
oci/xai.grok-4.20-multi-agent
|
Oci | $3.00 | $15.00 | — | — | 131,072 | text |
|
oci/xai.grok-code-fast-1
oci/xai.grok-code-fast-1
|
Oci | $5.00 | $25.00 | — | — | 131,072 | text |
|
ollama/codegeex4
ollama/codegeex4
|
Ollama | $0.0000 | $0.0000 | — | — | 32,768 | text |
|
ollama/codegemma
ollama/codegemma
|
Ollama | $0.0000 | $0.0000 | — | — | 8,192 | text |
|
ollama/codellama
ollama/codellama
|
Ollama | $0.0000 | $0.0000 | — | — | 4,096 | text |
|
ollama/deepseek-coder-v2-base
ollama/deepseek-coder-v2-base
|
Ollama | $0.0000 | $0.0000 | — | — | 8,192 | text |
|
ollama/deepseek-coder-v2-instruct
ollama/deepseek-coder-v2-instruct
|
Ollama | $0.0000 | $0.0000 | — | — | 32,768 | text |
|
ollama/deepseek-coder-v2-lite-base
ollama/deepseek-coder-v2-lite-base
|
Ollama | $0.0000 | $0.0000 | — | — | 8,192 | text |
|
ollama/deepseek-coder-v2-lite-instruct
ollama/deepseek-coder-v2-lite-instruct
|
Ollama | $0.0000 | $0.0000 | — | — | 32,768 | text |
|
ollama/deepseek-v3.1:671b-cloud
ollama/deepseek-v3.1:671b-cloud
|
Ollama | $0.0000 | $0.0000 | — | — | 163,840 | text |
|
ollama/gpt-oss:120b-cloud
ollama/gpt-oss:120b-cloud
|
Ollama | $0.0000 | $0.0000 | — | — | 131,072 | text |
|
ollama/gpt-oss:20b-cloud
ollama/gpt-oss:20b-cloud
|
Ollama | $0.0000 | $0.0000 | — | — | 131,072 | text |
|
ollama/internlm2_5-20b-chat
ollama/internlm2_5-20b-chat
|
Ollama | $0.0000 | $0.0000 | — | — | 32,768 | text |
|
ollama/llama2
ollama/llama2
|
Ollama | $0.0000 | $0.0000 | — | — | 4,096 | text |
|
ollama/llama2-uncensored
ollama/llama2-uncensored
|
Ollama | $0.0000 | $0.0000 | — | — | 4,096 | text |
|
ollama/llama2:13b
ollama/llama2:13b
|
Ollama | $0.0000 | $0.0000 | — | — | 4,096 | text |
|
ollama/llama2:70b
ollama/llama2:70b
|
Ollama | $0.0000 | $0.0000 | — | — | 4,096 | text |
|
ollama/llama2:7b
ollama/llama2:7b
|
Ollama | $0.0000 | $0.0000 | — | — | 4,096 | text |
|
ollama/llama3
ollama/llama3
|
Ollama | $0.0000 | $0.0000 | — | — | 8,192 | text |
|
ollama/llama3:70b
ollama/llama3:70b
|
Ollama | $0.0000 | $0.0000 | — | — | 8,192 | text |
|
ollama/llama3:8b
ollama/llama3:8b
|
Ollama | $0.0000 | $0.0000 | — | — | 8,192 | text |
|
ollama/llama3.1
ollama/llama3.1
|
Ollama | $0.0000 | $0.0000 | — | — | 8,192 | text |
|
ollama/mistral
ollama/mistral
|
Ollama | $0.0000 | $0.0000 | — | — | 8,192 | text |
|
ollama/mistral-7B-Instruct-v0.1
ollama/mistral-7B-Instruct-v0.1
|
Ollama | $0.0000 | $0.0000 | — | — | 8,192 | text |
|
ollama/mistral-7B-Instruct-v0.2
ollama/mistral-7B-Instruct-v0.2
|
Ollama | $0.0000 | $0.0000 | — | — | 32,768 | text |
|
ollama/mistral-large-instruct-2407
ollama/mistral-large-instruct-2407
|
Ollama | $0.0000 | $0.0000 | — | — | 65,536 | text |
|
ollama/mixtral-8x22B-Instruct-v0.1
ollama/mixtral-8x22B-Instruct-v0.1
|
Ollama | $0.0000 | $0.0000 | — | — | 65,536 | text |
|
ollama/mixtral-8x7B-Instruct-v0.1
ollama/mixtral-8x7B-Instruct-v0.1
|
Ollama | $0.0000 | $0.0000 | — | — | 32,768 | text |
|
ollama/orca-mini
ollama/orca-mini
|
Ollama | $0.0000 | $0.0000 | — | — | 4,096 | text |
|
ollama/qwen3-coder:480b-cloud
ollama/qwen3-coder:480b-cloud
|
Ollama | $0.0000 | $0.0000 | — | — | 262,144 | text |
|
ollama/vicuna
ollama/vicuna
|
Ollama | $0.0000 | $0.0000 | — | — | 2,048 | text |
|
babbage-002
babbage-002
|
OpenAI | $0.4000 | $0.4000 | — | — | 16,384 | text |
|
chatgpt-4o-latest
chatgpt-4o-latest
|
OpenAI | $5.00 | $15.00 | — | — | 128,000 | text |
|
chatgpt-image-latest
chatgpt-image-latest
|
OpenAI | $5.00 | — | $1.25 | — | — | image |
|
codex-mini-latest
codex-mini-latest
|
OpenAI | $1.50 | $6.00 | $0.3750 | — | 200,000 | text |
|
davinci-002
davinci-002
|
OpenAI | $2.00 | $2.00 | — | — | 16,384 | text |
|
ft:babbage-002
ft:babbage-002
|
OpenAI | $1.60 | $1.60 | — | — | 16,384 | text |
|
ft:davinci-002
ft:davinci-002
|
OpenAI | $12.00 | $12.00 | — | — | 16,384 | text |
|
ft:gpt-3.5-turbo
ft:gpt-3.5-turbo
|
OpenAI | $3.00 | $6.00 | — | — | 16,385 | text |
|
ft:gpt-3.5-turbo-0125
ft:gpt-3.5-turbo-0125
|
OpenAI | $3.00 | $6.00 | — | — | 16,385 | text |
|
ft:gpt-3.5-turbo-0613
ft:gpt-3.5-turbo-0613
|
OpenAI | $3.00 | $6.00 | — | — | 4,096 | text |
|
ft:gpt-3.5-turbo-1106
ft:gpt-3.5-turbo-1106
|
OpenAI | $3.00 | $6.00 | — | — | 16,385 | text |
|
ft:gpt-4-0613
ft:gpt-4-0613
|
OpenAI | $30.00 | $60.00 | — | — | 8,192 | text |
|
ft:gpt-4.1-2025-04-14
ft:gpt-4.1-2025-04-14
|
OpenAI | $3.00 | $12.00 | $0.7500 | — | 1,047,576 | text |
|
ft:gpt-4.1-mini-2025-04-14
ft:gpt-4.1-mini-2025-04-14
|
OpenAI | $0.8000 | $3.20 | $0.2000 | — | 1,047,576 | text |
|
ft:gpt-4.1-nano-2025-04-14
ft:gpt-4.1-nano-2025-04-14
|
OpenAI | $0.2000 | $0.8000 | $0.0500 | — | 1,047,576 | text |
|
ft:gpt-4o-2024-08-06
ft:gpt-4o-2024-08-06
|
OpenAI | $3.75 | $15.00 | $1.88 | — | 128,000 | text |
|
ft:gpt-4o-2024-11-20
ft:gpt-4o-2024-11-20
|
OpenAI | $3.75 | $15.00 | — | $1.88 | 128,000 | text |
|
ft:gpt-4o-mini-2024-07-18
ft:gpt-4o-mini-2024-07-18
|
OpenAI | $0.3000 | $1.20 | $0.1500 | — | 128,000 | text |
|
ft:o4-mini-2025-04-16
ft:o4-mini-2025-04-16
|
OpenAI | $4.00 | $16.00 | $1.00 | — | 200,000 | text |
|
gpt-3.5-turbo
gpt-3.5-turbo
|
OpenAI | $0.5000 | $1.50 | — | — | 16,385 | text |
|
gpt-3.5-turbo-0125
gpt-3.5-turbo-0125
|
OpenAI | $0.5000 | $1.50 | — | — | 16,385 | text |
|
gpt-3.5-turbo-1106
gpt-3.5-turbo-1106
|
OpenAI | $1.00 | $2.00 | — | — | 16,385 | text |
|
gpt-3.5-turbo-16k
gpt-3.5-turbo-16k
|
OpenAI | $3.00 | $4.00 | — | — | 16,385 | text |
|
gpt-3.5-turbo-instruct
gpt-3.5-turbo-instruct
|
OpenAI | $1.50 | $2.00 | — | — | 8,192 | text |
|
gpt-3.5-turbo-instruct-0914
gpt-3.5-turbo-instruct-0914
|
OpenAI | $1.50 | $2.00 | — | — | 8,192 | text |
|
gpt-4
gpt-4
|
OpenAI | $30.00 | $60.00 | — | — | 8,192 | text |
|
gpt-4-0125-preview
gpt-4-0125-preview
|
OpenAI | $10.00 | $30.00 | — | — | 128,000 | text |
|
gpt-4-0314
gpt-4-0314
|
OpenAI | $30.00 | $60.00 | — | — | 8,192 | text |
|
gpt-4-0613
gpt-4-0613
|
OpenAI | $30.00 | $60.00 | — | — | 8,192 | text |
|
gpt-4-1106-preview
gpt-4-1106-preview
|
OpenAI | $10.00 | $30.00 | — | — | 128,000 | text |
|
gpt-4-turbo
gpt-4-turbo
|
OpenAI | $10.00 | $30.00 | — | — | 128,000 | text |
|
gpt-4-turbo-2024-04-09
gpt-4-turbo-2024-04-09
|
OpenAI | $10.00 | $30.00 | — | — | 128,000 | text |
|
gpt-4-turbo-preview
gpt-4-turbo-preview
|
OpenAI | $10.00 | $30.00 | — | — | 128,000 | text |
|
gpt-4.1
gpt-4.1
|
OpenAI | $2.00 | $8.00 | $0.5000 | — | 1,047,576 | text |
|
gpt-4.1-2025-04-14
gpt-4.1-2025-04-14
|
OpenAI | $2.00 | $8.00 | $0.5000 | — | 1,047,576 | text |
|
gpt-4.1-mini
gpt-4.1-mini
|
OpenAI | $0.4000 | $1.60 | $0.1000 | — | 1,047,576 | text |
|
gpt-4.1-mini-2025-04-14
gpt-4.1-mini-2025-04-14
|
OpenAI | $0.4000 | $1.60 | $0.1000 | — | 1,047,576 | text |
|
gpt-4.1-nano
gpt-4.1-nano
|
OpenAI | $0.1000 | $0.4000 | $0.0250 | — | 1,047,576 | text |
|
gpt-4.1-nano-2025-04-14
gpt-4.1-nano-2025-04-14
|
OpenAI | $0.1000 | $0.4000 | $0.0250 | — | 1,047,576 | text |
|
gpt-4o
gpt-4o
|
OpenAI | $2.50 | $10.00 | $1.25 | — | 128,000 | text |
|
gpt-4o-2024-05-13
gpt-4o-2024-05-13
|
OpenAI | $5.00 | $15.00 | — | — | 128,000 | text |
|
gpt-4o-2024-08-06
gpt-4o-2024-08-06
|
OpenAI | $2.50 | $10.00 | $1.25 | — | 128,000 | text |
|
gpt-4o-2024-11-20
gpt-4o-2024-11-20
|
OpenAI | $2.50 | $10.00 | $1.25 | — | 128,000 | text |
|
gpt-4o-audio-preview
gpt-4o-audio-preview
|
OpenAI | $2.50 | $10.00 | — | — | 128,000 | text |
|
gpt-4o-audio-preview-2024-12-17
gpt-4o-audio-preview-2024-12-17
|
OpenAI | $2.50 | $10.00 | — | — | 128,000 | text |
|
gpt-4o-audio-preview-2025-06-03
gpt-4o-audio-preview-2025-06-03
|
OpenAI | $2.50 | $10.00 | — | — | 128,000 | text |
|
gpt-4o-mini
gpt-4o-mini
|
OpenAI | $0.1500 | $0.6000 | $0.0750 | — | 128,000 | text |
|
gpt-4o-mini-2024-07-18
gpt-4o-mini-2024-07-18
|
OpenAI | $0.1500 | $0.6000 | $0.0750 | — | 128,000 | text |
|
gpt-4o-mini-audio-preview
gpt-4o-mini-audio-preview
|
OpenAI | $0.1500 | $0.6000 | — | — | 128,000 | text |
|
gpt-4o-mini-audio-preview-2024-12-17
gpt-4o-mini-audio-preview-2024-12-17
|
OpenAI | $0.1500 | $0.6000 | — | — | 128,000 | text |
|
gpt-4o-mini-realtime-preview
gpt-4o-mini-realtime-preview
|
OpenAI | $0.6000 | $2.40 | $0.3000 | — | 128,000 | text |
|
gpt-4o-mini-realtime-preview-2024-12-17
gpt-4o-mini-realtime-preview-2024-12-17
|
OpenAI | $0.6000 | $2.40 | $0.3000 | — | 128,000 | text |
|
gpt-4o-mini-search-preview
gpt-4o-mini-search-preview
|
OpenAI | $0.1500 | $0.6000 | $0.0750 | — | 128,000 | text |
|
gpt-4o-mini-search-preview-2025-03-11
gpt-4o-mini-search-preview-2025-03-11
|
OpenAI | $0.1500 | $0.6000 | $0.0750 | — | 128,000 | text |
|
gpt-4o-mini-transcribe
gpt-4o-mini-transcribe
|
OpenAI | $1.25 | $5.00 | — | — | 16,000 | audio |
|
gpt-4o-mini-transcribe-2025-03-20
gpt-4o-mini-transcribe-2025-03-20
|
OpenAI | $1.25 | $5.00 | — | — | 16,000 | audio |
|
gpt-4o-mini-transcribe-2025-12-15
gpt-4o-mini-transcribe-2025-12-15
|
OpenAI | $1.25 | $5.00 | — | — | 16,000 | audio |
|
gpt-4o-mini-tts
gpt-4o-mini-tts
|
OpenAI | $2.50 | $10.00 | — | — | — | audio |
|
gpt-4o-mini-tts-2025-03-20
gpt-4o-mini-tts-2025-03-20
|
OpenAI | $2.50 | $10.00 | — | — | — | audio |
|
gpt-4o-mini-tts-2025-12-15
gpt-4o-mini-tts-2025-12-15
|
OpenAI | $2.50 | $10.00 | — | — | — | audio |
|
gpt-4o-realtime-preview
gpt-4o-realtime-preview
|
OpenAI | $5.00 | $20.00 | $2.50 | — | 128,000 | text |
|
gpt-4o-realtime-preview-2024-12-17
gpt-4o-realtime-preview-2024-12-17
|
OpenAI | $5.00 | $20.00 | $2.50 | — | 128,000 | text |
|
gpt-4o-realtime-preview-2025-06-03
gpt-4o-realtime-preview-2025-06-03
|
OpenAI | $5.00 | $20.00 | $2.50 | — | 128,000 | text |
|
gpt-4o-search-preview
gpt-4o-search-preview
|
OpenAI | $2.50 | $10.00 | $1.25 | — | 128,000 | 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.