Free price reference
LLM pricing, every model side by side
Cost per million tokens (input, output, and cache), plus context windows, for 3,364 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 |
|---|---|---|---|---|---|---|---|
|
openrouter/z-ai/glm-4.7
openrouter/z-ai/glm-4.7
|
Openrouter | $0.4000 | $1.75 | $0.0800 | $0.0000 | 202,752 | text |
|
openrouter/z-ai/glm-4.7-flash
openrouter/z-ai/glm-4.7-flash
|
Openrouter | $0.0600 | $0.4000 | $0.0100 | $0.0000 | 200,000 | text |
|
openrouter/z-ai/glm-5
openrouter/z-ai/glm-5
|
Openrouter | $0.6000 | $1.92 | — | — | 202,752 | text |
|
openrouter/z-ai/glm-5-turbo
openrouter/z-ai/glm-5-turbo
|
Openrouter | $1.20 | $4.00 | $0.2400 | — | 202,752 | text |
|
openrouter/z-ai/glm-5.1
openrouter/z-ai/glm-5.1
|
Openrouter | $0.9660 | $3.04 | $0.1794 | $0.0000 | 202,752 | text |
|
openrouter/z-ai/glm-5.2
openrouter/z-ai/glm-5.2
|
Openrouter | $0.6000 | $2.00 | $0.1500 | — | 1,048,576 | text |
|
openrouter/z-ai/glm-5.2:free
openrouter/z-ai/glm-5.2:free
|
Openrouter | $0.0000 | $0.0000 | — | — | 256,000 | text |
|
openrouter/z-ai/glm-5.3
openrouter/z-ai/glm-5.3
|
Openrouter | $1.40 | $4.40 | $0.1400 | — | 1,310,720 | text |
|
openrouter/z-ai/glm-5.3-flash
openrouter/z-ai/glm-5.3-flash
|
Openrouter | $0.1500 | $0.5000 | $0.0300 | — | 1,310,720 | text |
|
openrouter/z-ai/glm-5v-turbo
openrouter/z-ai/glm-5v-turbo
|
Openrouter | $1.20 | $4.00 | $0.2400 | — | 202,752 | 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 |
|
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 |
|
perplexity/anthropic/claude-fable-5
perplexity/anthropic/claude-fable-5
|
Perplexity | $10.00 | $50.00 | $1.00 | — | — | text |
|
perplexity/anthropic/claude-haiku-4-5
perplexity/anthropic/claude-haiku-4-5
|
Perplexity | $1.00 | $5.00 | $0.1000 | — | — | text |
|
perplexity/anthropic/claude-opus-4-5
perplexity/anthropic/claude-opus-4-5
|
Perplexity | $5.00 | $25.00 | $0.5000 | — | — | text |
|
perplexity/anthropic/claude-opus-4-6
perplexity/anthropic/claude-opus-4-6
|
Perplexity | $5.00 | $25.00 | $0.5000 | — | — | text |
|
perplexity/anthropic/claude-opus-4-7
perplexity/anthropic/claude-opus-4-7
|
Perplexity | $5.00 | $25.00 | $0.5000 | — | — | text |
|
perplexity/anthropic/claude-opus-4-8
perplexity/anthropic/claude-opus-4-8
|
Perplexity | $5.00 | $25.00 | $0.5000 | — | — | text |
|
perplexity/anthropic/claude-opus-5
perplexity/anthropic/claude-opus-5
|
Perplexity | $5.00 | $25.00 | $0.5000 | — | — | text |
|
perplexity/anthropic/claude-sonnet-4-5
perplexity/anthropic/claude-sonnet-4-5
|
Perplexity | $3.00 | $15.00 | $0.3000 | — | — | text |
|
perplexity/anthropic/claude-sonnet-4-6
perplexity/anthropic/claude-sonnet-4-6
|
Perplexity | $3.00 | $15.00 | $0.3000 | — | — | text |
|
perplexity/anthropic/claude-sonnet-5
perplexity/anthropic/claude-sonnet-5
|
Perplexity | $2.00 | $10.00 | $0.2000 | — | — | text |
|
perplexity/codellama-34b-instruct
perplexity/codellama-34b-instruct
|
Perplexity | $0.3500 | $1.40 | — | — | 16,384 | text |
|
perplexity/codellama-70b-instruct
perplexity/codellama-70b-instruct
|
Perplexity | $0.7000 | $2.80 | — | — | 16,384 | text |
|
perplexity/google/gemini-3-flash-preview
perplexity/google/gemini-3-flash-preview
|
Perplexity | $0.5000 | $3.00 | $0.0500 | — | — | text |
|
perplexity/google/gemini-3.1-flash-lite
perplexity/google/gemini-3.1-flash-lite
|
Perplexity | $0.2500 | $1.50 | $0.0250 | — | — | text |
|
perplexity/google/gemini-3.1-pro-preview
perplexity/google/gemini-3.1-pro-preview
|
Perplexity | $2.00 | $12.00 | $0.2000 | — | — | text |
|
perplexity/google/gemini-3.5-flash
perplexity/google/gemini-3.5-flash
|
Perplexity | $1.50 | $9.00 | $0.1500 | — | — | text |
|
perplexity/google/gemini-3.5-flash-lite
perplexity/google/gemini-3.5-flash-lite
|
Perplexity | $0.3000 | $2.50 | $0.0300 | — | — | text |
|
perplexity/google/gemini-3.6-flash
perplexity/google/gemini-3.6-flash
|
Perplexity | $1.50 | $7.50 | $0.1500 | — | — | text |
|
perplexity/google/gemini-3.7-flash
perplexity/google/gemini-3.7-flash
|
Perplexity | $0.7500 | $3.75 | $0.0750 | — | — | text |
|
perplexity/llama-2-70b-chat
perplexity/llama-2-70b-chat
|
Perplexity | $0.7000 | $2.80 | — | — | 4,096 | text |
|
perplexity/llama-3.1-70b-instruct
perplexity/llama-3.1-70b-instruct
|
Perplexity | $1.00 | $1.00 | — | — | 131,072 | text |
|
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/openai/gpt-5
perplexity/openai/gpt-5
|
Perplexity | $1.25 | $10.00 | $0.1250 | — | — | text |
|
perplexity/openai/gpt-5-mini
perplexity/openai/gpt-5-mini
|
Perplexity | $0.2500 | $2.00 | $0.0250 | — | — | text |
|
perplexity/openai/gpt-5.1
perplexity/openai/gpt-5.1
|
Perplexity | $1.25 | $10.00 | $0.1250 | — | — | text |
|
perplexity/openai/gpt-5.2
perplexity/openai/gpt-5.2
|
Perplexity | $1.75 | $14.00 | $0.1750 | — | — | text |
|
perplexity/openai/gpt-5.4
perplexity/openai/gpt-5.4
|
Perplexity | $2.50 | $15.00 | $0.2500 | — | — | text |
|
perplexity/openai/gpt-5.4-mini
perplexity/openai/gpt-5.4-mini
|
Perplexity | $0.7500 | $4.50 | $0.0750 | — | — | text |
|
perplexity/openai/gpt-5.4-nano
perplexity/openai/gpt-5.4-nano
|
Perplexity | $0.2000 | $1.25 | $0.0200 | — | — | text |
|
perplexity/openai/gpt-5.5
perplexity/openai/gpt-5.5
|
Perplexity | $5.00 | $30.00 | $0.5000 | — | — | text |
|
perplexity/openai/gpt-5.6-luna
perplexity/openai/gpt-5.6-luna
|
Perplexity | $0.2000 | $1.20 | $0.0200 | — | — | text |
|
perplexity/openai/gpt-5.6-sol
perplexity/openai/gpt-5.6-sol
|
Perplexity | $5.00 | $30.00 | $0.5000 | — | — | text |
|
perplexity/openai/gpt-5.6-terra
perplexity/openai/gpt-5.6-terra
|
Perplexity | $2.00 | $12.00 | $0.2000 | — | — | text |
|
perplexity/perplexity/deepseek-v4-flash-0731
perplexity/perplexity/deepseek-v4-flash-0731
|
Perplexity | $0.1300 | $0.2600 | $0.0280 | — | — | text |
|
perplexity/perplexity/glm-5.2
perplexity/perplexity/glm-5.2
|
Perplexity | $1.40 | $4.40 | $0.1400 | — | — | text |
|
perplexity/perplexity/glm-5.3
perplexity/perplexity/glm-5.3
|
Perplexity | $1.40 | $4.40 | $0.2600 | — | — | text |
|
perplexity/perplexity/glm-5.3-flash
perplexity/perplexity/glm-5.3-flash
|
Perplexity | $0.1500 | $0.5000 | $0.0300 | — | — | text |
|
perplexity/perplexity/kimi-k2.7-code
perplexity/perplexity/kimi-k2.7-code
|
Perplexity | $0.9500 | $4.00 | $0.1900 | — | — | text |
|
perplexity/perplexity/kimi-k3
perplexity/perplexity/kimi-k3
|
Perplexity | $3.00 | $15.00 | $0.3000 | — | — | text |
|
perplexity/perplexity/nemotron-3-ultra-550b-a55b
perplexity/perplexity/nemotron-3-ultra-550b-a55b
|
Perplexity | $0.2500 | $2.50 | $0.2500 | — | — | text |
|
perplexity/perplexity/nemotron-3.5-lightning-30b-a3b
perplexity/perplexity/nemotron-3.5-lightning-30b-a3b
|
Perplexity | $0.0115 | $0.1700 | $0.0012 | — | — | text |
|
perplexity/perplexity/sonar
perplexity/perplexity/sonar
|
Perplexity | $0.2500 | $2.50 | $0.0625 | — | — | 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-context-v1-0.6b
perplexity/pplx-embed-context-v1-0.6b
|
Perplexity | $0.0080 | $0.0000 | — | — | 32,768 | embedding |
|
perplexity/pplx-embed-context-v1-4b
perplexity/pplx-embed-context-v1-4b
|
Perplexity | $0.0500 | $0.0000 | — | — | 32,768 | embedding |
|
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 |
|
perplexity/xai/grok-4.20-multi-agent
perplexity/xai/grok-4.20-multi-agent
|
Perplexity | $1.25 | $2.50 | $0.2000 | — | — | text |
|
perplexity/xai/grok-4.20-non-reasoning
perplexity/xai/grok-4.20-non-reasoning
|
Perplexity | $1.25 | $2.50 | $0.2000 | — | — | text |
|
perplexity/xai/grok-4.20-reasoning
perplexity/xai/grok-4.20-reasoning
|
Perplexity | $1.25 | $2.50 | $0.2000 | — | — | text |
|
perplexity/xai/grok-4.3
perplexity/xai/grok-4.3
|
Perplexity | $1.25 | $2.50 | $0.2000 | — | — | text |
|
perplexity/xai/grok-4.5
perplexity/xai/grok-4.5
|
Perplexity | $2.00 | $6.00 | $0.3000 | — | — | text |
|
perplexity/xai/grok-4.6
perplexity/xai/grok-4.6
|
Perplexity | $2.00 | $6.00 | $0.5000 | — | — | text |
|
pinstripes/ps/deepseek-v4-flash
pinstripes/ps/deepseek-v4-flash
|
Pinstripes | $0.1000 | $0.2000 | — | — | 163,840 | text |
|
pinstripes/ps/glm-4.5-air
pinstripes/ps/glm-4.5-air
|
Pinstripes | $0.1250 | $0.4500 | — | — | 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.