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
perplexity/llama-3.1-8b-instruct
perplexity/llama-3.1-8b-instruct
Perplexity $0.2000 $0.2000 131,072 text
perplexity/mistral-7b-instruct
perplexity/mistral-7b-instruct
Perplexity $0.0700 $0.2800 4,096 text
perplexity/mixtral-8x7b-instruct
perplexity/mixtral-8x7b-instruct
Perplexity $0.0700 $0.2800 4,096 text
perplexity/pplx-70b-chat
perplexity/pplx-70b-chat
Perplexity $0.7000 $2.80 4,096 text
perplexity/pplx-70b-online
perplexity/pplx-70b-online
Perplexity $0.0000 $2.80 4,096 text
perplexity/pplx-7b-chat
perplexity/pplx-7b-chat
Perplexity $0.0700 $0.2800 8,192 text
perplexity/pplx-7b-online
perplexity/pplx-7b-online
Perplexity $0.0000 $0.2800 4,096 text
perplexity/pplx-embed-v1-0.6b
perplexity/pplx-embed-v1-0.6b
Perplexity $0.0040 $0.0000 32,768 embedding
perplexity/pplx-embed-v1-4b
perplexity/pplx-embed-v1-4b
Perplexity $0.0300 $0.0000 32,768 embedding
perplexity/sonar
perplexity/sonar
Perplexity $1.00 $1.00 128,000 text
perplexity/sonar-deep-research
perplexity/sonar-deep-research
Perplexity $2.00 $8.00 128,000 text
perplexity/sonar-medium-chat
perplexity/sonar-medium-chat
Perplexity $0.6000 $1.80 16,384 text
perplexity/sonar-medium-online
perplexity/sonar-medium-online
Perplexity $0.0000 $1.80 12,000 text
perplexity/sonar-pro
perplexity/sonar-pro
Perplexity $3.00 $15.00 200,000 text
perplexity/sonar-reasoning
perplexity/sonar-reasoning
Perplexity $1.00 $5.00 128,000 text
perplexity/sonar-reasoning-pro
perplexity/sonar-reasoning-pro
Perplexity $2.00 $8.00 128,000 text
perplexity/sonar-small-chat
perplexity/sonar-small-chat
Perplexity $0.0700 $0.2800 16,384 text
perplexity/sonar-small-online
perplexity/sonar-small-online
Perplexity $0.0000 $0.2800 12,000 text
palm/chat-bison
palm/chat-bison
Palm $0.1250 $0.1250 8,192 text
palm/chat-bison-001
palm/chat-bison-001
Palm $0.1250 $0.1250 8,192 text
palm/text-bison
palm/text-bison
Palm $0.1250 $0.1250 8,192 text
palm/text-bison-001
palm/text-bison-001
Palm $0.1250 $0.1250 8,192 text
palm/text-bison-safety-off
palm/text-bison-safety-off
Palm $0.1250 $0.1250 8,192 text
palm/text-bison-safety-recitation-off
palm/text-bison-safety-recitation-off
Palm $0.1250 $0.1250 8,192 text
ovhcloud/DeepSeek-R1-Distill-Llama-70B
ovhcloud/DeepSeek-R1-Distill-Llama-70B
Ovhcloud $0.6700 $0.6700 131,000 text
ovhcloud/gpt-oss-120b
ovhcloud/gpt-oss-120b
Ovhcloud $0.0800 $0.4000 131,000 text
ovhcloud/gpt-oss-20b
ovhcloud/gpt-oss-20b
Ovhcloud $0.0400 $0.1500 131,000 text
ovhcloud/Llama-3.1-8B-Instruct
ovhcloud/Llama-3.1-8B-Instruct
Ovhcloud $0.1000 $0.1000 131,000 text
ovhcloud/llava-v1.6-mistral-7b-hf
ovhcloud/llava-v1.6-mistral-7b-hf
Ovhcloud $0.2900 $0.2900 32,000 text
ovhcloud/mamba-codestral-7B-v0.1
ovhcloud/mamba-codestral-7B-v0.1
Ovhcloud $0.1900 $0.1900 256,000 text
ovhcloud/Meta-Llama-3_1-70B-Instruct
ovhcloud/Meta-Llama-3_1-70B-Instruct
Ovhcloud $0.6700 $0.6700 131,000 text
ovhcloud/Meta-Llama-3_3-70B-Instruct
ovhcloud/Meta-Llama-3_3-70B-Instruct
Ovhcloud $0.6700 $0.6700 131,000 text
ovhcloud/Mistral-7B-Instruct-v0.3
ovhcloud/Mistral-7B-Instruct-v0.3
Ovhcloud $0.1000 $0.1000 127,000 text
ovhcloud/Mistral-Nemo-Instruct-2407
ovhcloud/Mistral-Nemo-Instruct-2407
Ovhcloud $0.1300 $0.1300 118,000 text
ovhcloud/Mistral-Small-3.2-24B-Instruct-2506
ovhcloud/Mistral-Small-3.2-24B-Instruct-2506
Ovhcloud $0.0900 $0.2800 128,000 text
ovhcloud/Mixtral-8x7B-Instruct-v0.1
ovhcloud/Mixtral-8x7B-Instruct-v0.1
Ovhcloud $0.6300 $0.6300 32,000 text
ovhcloud/Qwen2.5-Coder-32B-Instruct
ovhcloud/Qwen2.5-Coder-32B-Instruct
Ovhcloud $0.8700 $0.8700 32,000 text
ovhcloud/Qwen2.5-VL-72B-Instruct
ovhcloud/Qwen2.5-VL-72B-Instruct
Ovhcloud $0.9100 $0.9100 32,000 text
ovhcloud/Qwen3-32B
ovhcloud/Qwen3-32B
Ovhcloud $0.0800 $0.2300 32,000 text
openrouter/anthropic/claude-3-haiku
openrouter/anthropic/claude-3-haiku
Openrouter $0.2500 $1.25 200,000 text
openrouter/anthropic/claude-3.5-sonnet
openrouter/anthropic/claude-3.5-sonnet
Openrouter $3.00 $15.00 200,000 text
openrouter/anthropic/claude-3.7-sonnet
openrouter/anthropic/claude-3.7-sonnet
Openrouter $3.00 $15.00 200,000 text
openrouter/anthropic/claude-haiku-4.5
openrouter/anthropic/claude-haiku-4.5
Openrouter $1.00 $5.00 $0.1000 $1.25 200,000 text
openrouter/anthropic/claude-opus-4
openrouter/anthropic/claude-opus-4
Openrouter $15.00 $75.00 $1.50 $18.75 200,000 text
openrouter/anthropic/claude-opus-4.1
openrouter/anthropic/claude-opus-4.1
Openrouter $15.00 $75.00 $1.50 $18.75 200,000 text
openrouter/anthropic/claude-opus-4.5
openrouter/anthropic/claude-opus-4.5
Openrouter $5.00 $25.00 $0.5000 $6.25 200,000 text
openrouter/anthropic/claude-opus-4.6
openrouter/anthropic/claude-opus-4.6
Openrouter $5.00 $25.00 $0.5000 $6.25 1,000,000 text
openrouter/anthropic/claude-opus-4.7
openrouter/anthropic/claude-opus-4.7
Openrouter $5.00 $25.00 $0.5000 $6.25 1,000,000 text
openrouter/anthropic/claude-sonnet-4
openrouter/anthropic/claude-sonnet-4
Openrouter $3.00 $15.00 $0.3000 $3.75 1,000,000 text
openrouter/anthropic/claude-sonnet-4.5
openrouter/anthropic/claude-sonnet-4.5
Openrouter $3.00 $15.00 $0.3000 $3.75 1,000,000 text
openrouter/anthropic/claude-sonnet-4.6
openrouter/anthropic/claude-sonnet-4.6
Openrouter $3.00 $15.00 $0.3000 $3.75 1,000,000 text
openrouter/bytedance/ui-tars-1.5-7b
openrouter/bytedance/ui-tars-1.5-7b
Openrouter $0.1000 $0.2000 131,072 text
openrouter/deepseek/deepseek-chat
openrouter/deepseek/deepseek-chat
Openrouter $0.1400 $0.2800 65,536 text
openrouter/deepseek/deepseek-chat-v3-0324
openrouter/deepseek/deepseek-chat-v3-0324
Openrouter $0.1400 $0.2800 65,536 text
openrouter/deepseek/deepseek-chat-v3.1
openrouter/deepseek/deepseek-chat-v3.1
Openrouter $0.2000 $0.8000 163,840 text
openrouter/deepseek/deepseek-r1
openrouter/deepseek/deepseek-r1
Openrouter $0.5500 $2.19 65,336 text
openrouter/deepseek/deepseek-r1-0528
openrouter/deepseek/deepseek-r1-0528
Openrouter $0.5000 $2.15 65,336 text
openrouter/deepseek/deepseek-v3.2
openrouter/deepseek/deepseek-v3.2
Openrouter $0.2800 $0.4000 163,840 text
openrouter/deepseek/deepseek-v3.2-exp
openrouter/deepseek/deepseek-v3.2-exp
Openrouter $0.2000 $0.4000 163,840 text
openrouter/google/gemini-2.0-flash-001
openrouter/google/gemini-2.0-flash-001
Openrouter $0.1000 $0.4000 1,048,576 text
openrouter/google/gemini-2.5-flash
openrouter/google/gemini-2.5-flash
Openrouter $0.3000 $2.50 1,048,576 text
openrouter/google/gemini-2.5-pro
openrouter/google/gemini-2.5-pro
Openrouter $1.25 $10.00 1,048,576 text
openrouter/google/gemini-3-flash-preview
openrouter/google/gemini-3-flash-preview
Openrouter $0.5000 $3.00 $0.0500 1,048,576 text
openrouter/google/gemini-3-pro-preview
openrouter/google/gemini-3-pro-preview
Openrouter $2.00 $12.00 $0.2000 1,048,576 text
openrouter/google/gemini-3.1-flash-lite
openrouter/google/gemini-3.1-flash-lite
Openrouter $0.2500 $1.50 $0.0250 1,048,576 text
openrouter/google/gemini-3.1-flash-lite-preview
openrouter/google/gemini-3.1-flash-lite-preview
Openrouter $0.2500 $1.50 $0.0250 1,048,576 text
openrouter/google/gemini-3.1-pro-preview
openrouter/google/gemini-3.1-pro-preview
Openrouter $2.00 $12.00 $0.2000 1,048,576 text
openrouter/gryphe/mythomax-l2-13b
openrouter/gryphe/mythomax-l2-13b
Openrouter $1.88 $1.88 8,192 text
openrouter/mancer/weaver
openrouter/mancer/weaver
Openrouter $5.63 $5.63 8,000 text
openrouter/meta-llama/llama-3-70b-instruct
openrouter/meta-llama/llama-3-70b-instruct
Openrouter $0.5900 $0.7900 8,192 text
openrouter/minimax/minimax-m2
openrouter/minimax/minimax-m2
Openrouter $0.2550 $1.02 204,800 text
openrouter/minimax/minimax-m2.1
openrouter/minimax/minimax-m2.1
Openrouter $0.2700 $1.20 $0.0000 $0.0000 204,000 text
openrouter/minimax/minimax-m2.5
openrouter/minimax/minimax-m2.5
Openrouter $0.3000 $1.10 $0.1500 196,608 text
openrouter/mistralai/devstral-2512
openrouter/mistralai/devstral-2512
Openrouter $0.1500 $0.6000 262,144 text
openrouter/mistralai/ministral-14b-2512
openrouter/mistralai/ministral-14b-2512
Openrouter $0.2000 $0.2000 262,144 text
openrouter/mistralai/ministral-3b-2512
openrouter/mistralai/ministral-3b-2512
Openrouter $0.1000 $0.1000 131,072 text
openrouter/mistralai/ministral-8b-2512
openrouter/mistralai/ministral-8b-2512
Openrouter $0.1500 $0.1500 262,144 text
openrouter/mistralai/mistral-7b-instruct
openrouter/mistralai/mistral-7b-instruct
Openrouter $0.1300 $0.1300 32,768 text
openrouter/mistralai/mistral-large
openrouter/mistralai/mistral-large
Openrouter $8.00 $24.00 128,000 text
openrouter/mistralai/mistral-large-2512
openrouter/mistralai/mistral-large-2512
Openrouter $0.5000 $1.50 262,144 text
openrouter/mistralai/mistral-small-3.1-24b-instruct
openrouter/mistralai/mistral-small-3.1-24b-instruct
Openrouter $0.1000 $0.3000 131,072 text
openrouter/mistralai/mistral-small-3.2-24b-instruct
openrouter/mistralai/mistral-small-3.2-24b-instruct
Openrouter $0.1000 $0.3000 128,000 text
openrouter/mistralai/mixtral-8x22b-instruct
openrouter/mistralai/mixtral-8x22b-instruct
Openrouter $0.6500 $0.6500 65,536 text
openrouter/moonshotai/kimi-k2.5
openrouter/moonshotai/kimi-k2.5
Openrouter $0.6000 $3.00 $0.1000 262,144 text
openrouter/openai/gpt-3.5-turbo
openrouter/openai/gpt-3.5-turbo
Openrouter $1.50 $2.00 16,385 text
openrouter/openai/gpt-3.5-turbo-16k
openrouter/openai/gpt-3.5-turbo-16k
Openrouter $3.00 $4.00 16,385 text
openrouter/openai/gpt-4
openrouter/openai/gpt-4
Openrouter $30.00 $60.00 8,191 text
openrouter/openai/gpt-4.1
openrouter/openai/gpt-4.1
Openrouter $2.00 $8.00 $0.5000 1,047,576 text
openrouter/openai/gpt-4.1-mini
openrouter/openai/gpt-4.1-mini
Openrouter $0.4000 $1.60 $0.1000 1,047,576 text
openrouter/openai/gpt-4.1-nano
openrouter/openai/gpt-4.1-nano
Openrouter $0.1000 $0.4000 $0.0250 1,047,576 text
openrouter/openai/gpt-4o
openrouter/openai/gpt-4o
Openrouter $2.50 $10.00 128,000 text
openrouter/openai/gpt-4o-2024-05-13
openrouter/openai/gpt-4o-2024-05-13
Openrouter $5.00 $15.00 128,000 text
openrouter/openai/gpt-5
openrouter/openai/gpt-5
Openrouter $1.25 $10.00 $0.1250 272,000 text
openrouter/openai/gpt-5-chat
openrouter/openai/gpt-5-chat
Openrouter $1.25 $10.00 $0.1250 128,000 text
openrouter/openai/gpt-5-codex
openrouter/openai/gpt-5-codex
Openrouter $1.25 $10.00 $0.1250 272,000 text
openrouter/openai/gpt-5-mini
openrouter/openai/gpt-5-mini
Openrouter $0.2500 $2.00 $0.0250 272,000 text
openrouter/openai/gpt-5-nano
openrouter/openai/gpt-5-nano
Openrouter $0.0500 $0.4000 $0.0050 272,000 text
openrouter/openai/gpt-5.1-codex-max
openrouter/openai/gpt-5.1-codex-max
Openrouter $1.25 $10.00 $0.1250 400,000 text
openrouter/openai/gpt-5.2
openrouter/openai/gpt-5.2
Openrouter $1.75 $14.00 $0.1750 272,000 text
openrouter/openai/gpt-5.2-chat
openrouter/openai/gpt-5.2-chat
Openrouter $1.75 $14.00 $0.1750 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.