Free price reference

LLM pricing, every model side by side

Cost per million tokens (input, output, and cache), plus context windows, for 3,719 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/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
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-fable-latest
openrouter/~anthropic/claude-fable-latest
Openrouter $10.00 $50.00 $0.2500 $12.50 1,000,000 text
openrouter/~anthropic/claude-haiku-latest
openrouter/~anthropic/claude-haiku-latest
Openrouter $1.00 $5.00 $0.1000 $1.25 200,000 text
openrouter/~anthropic/claude-opus-latest
openrouter/~anthropic/claude-opus-latest
Openrouter $5.00 $25.00 $0.5000 $6.25 1,000,000 text
openrouter/~anthropic/claude-sonnet-latest
openrouter/~anthropic/claude-sonnet-latest
Openrouter $2.00 $10.00 $0.2000 $2.50 1,000,000 text
openrouter/~deepseek/deepseek-flash-latest
openrouter/~deepseek/deepseek-flash-latest
Openrouter $0.1300 $0.5200 $0.0026 1,048,576 text
openrouter/~deepseek/deepseek-pro-latest
openrouter/~deepseek/deepseek-pro-latest
Openrouter $0.5768 $1.73 $0.0192 1,048,576 text
openrouter/~deepseek/deepseek-v4-flash-latest
openrouter/~deepseek/deepseek-v4-flash-latest
Openrouter $0.0400 $0.0800 $0.0160 1,310,720 text
openrouter/~google/gemini-flash-latest
openrouter/~google/gemini-flash-latest
Openrouter $0.7500 $3.75 $0.0750 $0.0417 1,048,576 text
openrouter/~google/gemini-pro-latest
openrouter/~google/gemini-pro-latest
Openrouter $2.00 $12.00 $0.2000 $0.3750 1,048,576 text
openrouter/~moonshotai/kimi-latest
openrouter/~moonshotai/kimi-latest
Openrouter $1.70 $8.50 $0.1700 1,048,576 text
openrouter/~openai/gpt-astra-latest
openrouter/~openai/gpt-astra-latest
Openrouter $10.00 $50.00 $1.00 $12.50 1,050,000 text
openrouter/~openai/gpt-luna-latest
openrouter/~openai/gpt-luna-latest
Openrouter $0.2000 $1.20 $0.0200 $0.2500 1,050,000 text
openrouter/~openai/gpt-mini-latest
openrouter/~openai/gpt-mini-latest
Openrouter $0.7500 $4.50 $0.0750 400,000 text
openrouter/~openai/gpt-sol-latest
openrouter/~openai/gpt-sol-latest
Openrouter $2.00 $10.00 $0.2000 $2.50 1,050,000 text
openrouter/~openai/gpt-terra-latest
openrouter/~openai/gpt-terra-latest
Openrouter $2.00 $12.00 $0.2000 $2.50 1,050,000 text
openrouter/~x-ai/grok-latest
openrouter/~x-ai/grok-latest
Openrouter $2.00 $6.00 $0.5000 500,000 text
openrouter/~z-ai/glm-flash-latest
openrouter/~z-ai/glm-flash-latest
Openrouter $0.0750 $0.2500 $0.0150 1,310,720 text
openrouter/~z-ai/glm-latest
openrouter/~z-ai/glm-latest
Openrouter $0.8442 $2.65 $0.1568 1,310,720 text
openrouter/aion-labs/aion-2.0
openrouter/aion-labs/aion-2.0
Openrouter $0.8000 $1.60 $0.2000 131,072 text
openrouter/aion-labs/aion-3.0
openrouter/aion-labs/aion-3.0
Openrouter $3.00 $6.00 $0.7500 131,072 text
openrouter/aion-labs/aion-3.0-mini
openrouter/aion-labs/aion-3.0-mini
Openrouter $0.7000 $1.40 $0.1800 131,072 text
openrouter/aion-labs/aion-rp-llama-3.1-8b
openrouter/aion-labs/aion-rp-llama-3.1-8b
Openrouter $0.8000 $1.60 32,768 text
openrouter/amazon/nova-2-lite-v1
openrouter/amazon/nova-2-lite-v1
Openrouter $0.3000 $2.50 1,000,000 text
openrouter/amazon/nova-lite-v1
openrouter/amazon/nova-lite-v1
Openrouter $0.0600 $0.2400 300,000 text
openrouter/amazon/nova-micro-v1
openrouter/amazon/nova-micro-v1
Openrouter $0.0350 $0.1400 128,000 text
openrouter/amazon/nova-premier-v1
openrouter/amazon/nova-premier-v1
Openrouter $2.50 $12.50 $0.6250 1,000,000 text
openrouter/amazon/nova-pro-v1
openrouter/amazon/nova-pro-v1
Openrouter $0.8000 $3.20 300,000 text
openrouter/anthracite-org/magnum-v4-72b
openrouter/anthracite-org/magnum-v4-72b
Openrouter $2.50 $5.00 32,768 text
openrouter/anthropic/claude-3-haiku
openrouter/anthropic/claude-3-haiku
Openrouter $0.2500 $1.25 $0.0300 $0.3000 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-fable-5
openrouter/anthropic/claude-fable-5
Openrouter $10.00 $50.00 $1.00 $12.50 1,000,000 text
openrouter/anthropic/claude-fable-5:batch
openrouter/anthropic/claude-fable-5:batch
Openrouter $5.00 $25.00 $0.5000 $6.25 1,000,000 text
openrouter/anthropic/claude-fable-5.1
openrouter/anthropic/claude-fable-5.1
Openrouter $10.00 $50.00 $0.2500 $12.50 1,000,000 text
openrouter/anthropic/claude-fable-5.1:batch
openrouter/anthropic/claude-fable-5.1:batch
Openrouter $5.00 $25.00 $0.1250 $6.25 1,000,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-haiku-4.5:batch
openrouter/anthropic/claude-haiku-4.5:batch
Openrouter $0.5000 $2.50 $0.0500 $0.6250 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

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.