llmkit · pricing

LLM API Pricing

A free reference to the providers’ own API pricing — not llmkit’s (llmkit is free and open source). Input, output, and cache rates for every major provider, in USD per million tokens. Cheapest model first — lower is better.

Updated 2026-07-05 · 184 models · source: llm-pricing feed

mistral labs-devstral-small-2512 $0.00 $0.00 256K
togetherai liquidai/lfm2-24b-a2b $0.03 $0.12 32K
groq meta-llama/llama-prompt-guard-2-22m $0.03 $0.03 0K
groq meta-llama/llama-prompt-guard-2-86m $0.04 $0.04 0K
mistral ministral-3b-latest $0.04 $0.04 128K
togetherai openai/gpt-oss-20b $0.05 $0.20 131K
groq llama-3.1-8b-instant $0.05 $0.08 131K
openai gpt-5-nano $0.05 $0.40 $0.01 400K
togetherai google/gemma-3n-e4b-it $0.06 $0.12 32K
fireworks-ai accounts/fireworks/models/gpt-oss-20b $0.07 $0.30 $0.04 131K
groq openai/gpt-oss-20b $0.07 $0.30 $0.04 131K
groq openai/gpt-oss-safeguard-20b $0.07 $0.30 131K
google gemini-2.0-flash-lite $0.07 $0.30 1M
openai gpt-4.1-nano $0.10 $0.40 $0.03 1M
google gemini-2.5-flash-lite $0.10 $0.40 $0.01 1M
google gemini-flash-lite-latest $0.10 $0.40 $0.03 1M
google gemini-2.0-flash $0.10 $0.40 $0.03 1M
mistral ministral-8b-latest $0.10 $0.10 128K
mistral mistral-small-2506 $0.10 $0.30 128K
mistral devstral-small-2505 $0.10 $0.30 128K
mistral devstral-small-2507 $0.10 $0.30 128K
groq meta-llama/llama-4-scout-17b-16e-instruct $0.11 $0.34 131K
deepseek deepseek-reasoner $0.14 $0.28 $0.00 1M
deepseek deepseek-chat $0.14 $0.28 $0.00 1M
deepseek deepseek-v4-flash $0.14 $0.28 $0.00 1M
togetherai meta-llama/meta-llama-3-8b-instruct-lite $0.14 $0.14 8K
fireworks-ai accounts/fireworks/models/deepseek-v4-flash $0.14 $0.28 $0.03 1M
togetherai essentialai/rnj-1-instruct $0.15 $0.15 32K
togetherai openai/gpt-oss-120b $0.15 $0.60 131K
groq openai/gpt-oss-120b $0.15 $0.60 $0.07 131K
openai gpt-4o-mini $0.15 $0.60 $0.07 128K
mistral open-mistral-nemo $0.15 $0.15 128K
mistral mistral-small-2603 $0.15 $0.60 256K
mistral pixtral-12b $0.15 $0.15 128K
mistral mistral-nemo $0.15 $0.15 128K
mistral mistral-small-latest $0.15 $0.60 256K
fireworks-ai accounts/fireworks/models/gpt-oss-120b $0.15 $0.60 $0.01 131K
togetherai qwen/qwen3.5-9b $0.17 $0.25 262K
togetherai qwen/qwen3-235b-a22b-instruct-2507-tput $0.20 $0.60 262K
openai gpt-5.4-nano $0.20 $1.25 $0.02 400K
anthropic claude-3-haiku-20240307 $0.25 $1.25 $0.03 200K
openai gpt-5-mini $0.25 $2.00 $0.03 400K
openai gpt-5.1-codex-mini $0.25 $2.00 $0.03 400K
google gemini-3.1-flash-lite-preview $0.25 $1.50 $0.03 1M
google gemini-3.1-flash-lite $0.25 $1.50 $0.03 1M
mistral open-mistral-7b $0.25 $0.25 8K
togetherai pearl-ai/gemma-4-31b-it $0.28 $0.86 32K
groq qwen/qwen3-32b $0.29 $0.59 131K
togetherai qwen/qwen2.5-7b-instruct-turbo $0.30 $0.30 32K
togetherai minimaxai/minimax-m2.5 $0.30 $1.20 $0.06 204K
togetherai minimaxai/minimax-m3 $0.30 $1.20 $0.06 524K
togetherai minimaxai/minimax-m2.7 $0.30 $1.20 $0.06 202K
google gemini-2.5-flash-image $0.30 $30.00 $0.07 32K
google gemini-2.5-flash $0.30 $2.50 $0.03 1M
google gemini-flash-latest $0.30 $2.50 $0.07 1M
mistral codestral-latest $0.30 $0.90 256K
fireworks-ai accounts/fireworks/models/minimax-m2p7 $0.30 $1.20 $0.06 196K
fireworks-ai accounts/fireworks/models/minimax-m3 $0.30 $1.20 $0.06 512K
togetherai google/gemma-4-31b-it $0.39 $0.97 262K
openai gpt-4.1-mini $0.40 $1.60 $0.10 1M
mistral devstral-latest $0.40 $2.00 262K
mistral mistral-medium-2508 $0.40 $2.00 262K
mistral devstral-2512 $0.40 $2.00 262K
mistral devstral-medium-latest $0.40 $2.00 262K
mistral mistral-medium-2505 $0.40 $2.00 131K
mistral devstral-medium-2507 $0.40 $2.00 128K
fireworks-ai accounts/fireworks/models/qwen3p7-plus $0.40 $1.60 $0.08 262K
deepseek deepseek-v4-pro $0.43 $0.87 $0.00 1M
togetherai qwen/qwen3-coder-next-fp8 $0.50 $1.20 262K
togetherai qwen/qwen3.6-plus $0.50 $3.00 1M
togetherai moonshotai/kimi-k2.5 $0.50 $2.80 262K
openai gpt-3.5-turbo $0.50 $1.50 16K
google gemini-3-flash-preview $0.50 $3.00 $0.05 1M
google gemini-3.1-flash-image-preview $0.50 $60.00 65K
google gemini-2.5-flash-preview-tts $0.50 $10.00 8K
mistral magistral-small $0.50 $1.50 128K
mistral mistral-large-latest $0.50 $1.50 262K
mistral mistral-large-2512 $0.50 $1.50 262K
groq llama-3.3-70b-versatile $0.59 $0.79 131K
togetherai qwen/qwen3.5-397b-a17b $0.60 $3.60 262K
togetherai deepseek-ai/deepseek-v3-1 $0.60 $1.70 131K
togetherai nvidia/nemotron-3-ultra-550b-a55b $0.60 $3.60 $0.20 512K
mistral open-mixtral-8x7b $0.70 $0.70 32K
openai gpt-5.4-mini $0.75 $4.50 $0.07 400K
anthropic claude-3-5-haiku-latest $0.80 $4.00 $0.08 200K
anthropic claude-3-5-haiku-20241022 $0.80 $4.00 $0.08 200K
togetherai moonshotai/kimi-k2.7-code $0.95 $4.00 $0.19 262K
fireworks-ai accounts/fireworks/models/kimi-k2p6 $0.95 $4.00 $0.16 262K
fireworks-ai accounts/fireworks/models/kimi-k2p7-code $0.95 $4.00 $0.19 262K
togetherai zai-org/glm-5 $1.00 $3.20 202K
anthropic claude-haiku-4-5-20251001 $1.00 $5.00 $0.10 200K
anthropic claude-haiku-4-5 $1.00 $5.00 $0.10 200K
google gemini-2.5-pro-preview-tts $1.00 $20.00 8K
xai grok-build-0.1 $1.00 $2.00 $0.20 256K
togetherai meta-llama/llama-3.3-70b-instruct-turbo $1.04 $1.04 131K
openai o3-mini $1.10 $4.40 $0.55 200K
openai o4-mini $1.10 $4.40 $0.28 200K
togetherai moonshotai/kimi-k2.6 $1.20 $4.50 $0.20 262K
togetherai qwen/qwen3.7-max $1.25 $3.75 1M
togetherai deepseek-ai/deepseek-v3 $1.25 $1.25 131K
togetherai deepcogito/cogito-v2-1-671b $1.25 $1.25 163K
openai gpt-5-codex $1.25 $10.00 $0.12 400K
openai gpt-5.1-codex $1.25 $10.00 $0.12 400K
openai gpt-5 $1.25 $10.00 $0.12 400K
openai gpt-5.1-chat-latest $1.25 $10.00 $0.12 128K
openai gpt-5-chat-latest $1.25 $10.00 $0.12 400K
openai gpt-5.1-codex-max $1.25 $10.00 $0.12 400K
openai gpt-5.1 $1.25 $10.00 $0.12 400K
google gemini-2.5-pro $1.25 $10.00 $0.12 1M
xai grok-4.3 $1.25 $2.50 $0.20 1M
xai grok-4.20-0309-non-reasoning $1.25 $2.50 $0.20 1M
xai grok-4.20-0309-reasoning $1.25 $2.50 $0.20 1M
xai grok-4.20-multi-agent-0309 $1.25 $2.50 $0.20 1M
togetherai zai-org/glm-5.2 $1.40 $4.40 $0.26 262K
togetherai zai-org/glm-5.1 $1.40 $4.40 202K
fireworks-ai accounts/fireworks/models/glm-5p2 $1.40 $4.40 $0.26 1M
fireworks-ai accounts/fireworks/models/glm-5p1 $1.40 $4.40 $0.26 202K
google gemini-3.5-flash $1.50 $9.00 $0.15 1M
mistral mistral-medium-2604 $1.50 $7.50 262K
mistral mistral-medium-latest $1.50 $7.50 262K
togetherai deepseek-ai/deepseek-v4-pro $1.74 $3.48 $0.20 512K
fireworks-ai accounts/fireworks/models/deepseek-v4-pro $1.74 $3.48 $0.14 1M
openai gpt-5.2 $1.75 $14.00 $0.17 400K
openai gpt-5.2-codex $1.75 $14.00 $0.17 400K
openai gpt-5.3-codex $1.75 $14.00 $0.17 400K
openai gpt-5.2-chat-latest $1.75 $14.00 $0.17 128K
openai gpt-5.3-chat-latest $1.75 $14.00 $0.17 128K
openai gpt-5.3-codex-spark $1.75 $14.00 $0.17 128K
fireworks-ai accounts/fireworks/routers/kimi-k2p7-code-fast $1.90 $8.00 $0.38 262K
togetherai qwen/qwen3-coder-480b-a35b-instruct-fp8 $2.00 $2.00 262K
anthropic claude-sonnet-5 $2.00 $10.00 $0.20 1M
openai o3 $2.00 $8.00 $0.50 200K
openai o4-mini-deep-research $2.00 $8.00 $0.50 200K
openai gpt-4.1 $2.00 $8.00 $0.50 1M
google gemini-3-pro-preview $2.00 $12.00 $0.20 1M
google gemini-3-pro-image-preview $2.00 $120.00 131K
google gemini-3.1-pro-preview-customtools $2.00 $12.00 $0.20 1M
google gemini-3.1-pro-preview $2.00 $12.00 $0.20 1M
mistral mistral-large-2411 $2.00 $6.00 131K
mistral magistral-medium-latest $2.00 $5.00 128K
mistral open-mixtral-8x22b $2.00 $6.00 64K
mistral pixtral-large-latest $2.00 $6.00 128K
fireworks-ai accounts/fireworks/routers/kimi-k2p6-turbo $2.00 $8.00 $0.30 262K
fireworks-ai accounts/fireworks/routers/kimi-k2p6-fast $2.00 $8.00 $0.30 262K
fireworks-ai accounts/fireworks/routers/glm-5p2-fast $2.10 $6.60 $0.21 1M
openai gpt-4o-2024-11-20 $2.50 $10.00 $1.25 128K
openai gpt-5.4 $2.50 $15.00 $0.25 1M
openai gpt-4o $2.50 $10.00 $1.25 128K
openai gpt-4o-2024-08-06 $2.50 $10.00 $1.25 128K
fireworks-ai accounts/fireworks/routers/glm-5p1-fast $2.80 $8.80 $0.52 202K
togetherai deepseek-ai/deepseek-r1 $3.00 $7.00 163K
anthropic claude-sonnet-4-6 $3.00 $15.00 $0.30 1M
anthropic claude-sonnet-4-0 $3.00 $15.00 $0.30 200K
anthropic claude-3-7-sonnet-20250219 $3.00 $15.00 $0.30 200K
anthropic claude-sonnet-4-5-20250929 $3.00 $15.00 $0.30 200K
anthropic claude-sonnet-4-20250514 $3.00 $15.00 $0.30 200K
anthropic claude-3-5-sonnet-20241022 $3.00 $15.00 $0.30 200K
anthropic claude-sonnet-4-5 $3.00 $15.00 $0.30 200K
anthropic claude-3-sonnet-20240229 $3.00 $15.00 $0.30 200K
anthropic claude-3-5-sonnet-20240620 $3.00 $15.00 $0.30 200K
anthropic claude-opus-4-5 $5.00 $25.00 $0.50 200K
anthropic claude-opus-4-8 $5.00 $25.00 $0.50 1M
anthropic claude-opus-4-7 $5.00 $25.00 $0.50 1M
anthropic claude-opus-4-5-20251101 $5.00 $25.00 $0.50 200K
anthropic claude-opus-4-6 $5.00 $25.00 $0.50 1M
openai gpt-4o-2024-05-13 $5.00 $15.00 128K
openai gpt-5.5 $5.00 $30.00 $0.50 1M
openai gpt-image-2 $5.00 $30.00 $1.25
anthropic claude-fable-5 $10.00 $50.00 $1.00 1M
openai o3-deep-research $10.00 $40.00 $2.50 200K
openai gpt-4-turbo $10.00 $30.00 128K
anthropic claude-opus-4-0 $15.00 $75.00 $1.50 200K
anthropic claude-opus-4-20250514 $15.00 $75.00 $1.50 200K
anthropic claude-3-opus-20240229 $15.00 $75.00 $1.50 200K
anthropic claude-opus-4-1-20250805 $15.00 $75.00 $1.50 200K
anthropic claude-opus-4-1 $15.00 $75.00 $1.50 200K
openai gpt-5-pro $15.00 $120.00 400K
openai o1 $15.00 $60.00 $7.50 200K
openai o3-pro $20.00 $80.00 200K
openai gpt-5.2-pro $21.00 $168.00 400K
openai gpt-5.5-pro $30.00 $180.00 1M
openai gpt-4 $30.00 $60.00 8K
openai gpt-5.4-pro $30.00 $180.00 1M
openai o1-pro $150.00 $600.00 200K

Prices are in USD per million tokens. means the provider does not publish that rate. Cache read is the discounted rate for cached input tokens. Figures may lag provider changes — verify against the provider before relying on them for billing.

Pricing data from models.dev, used under the MIT License, via the llm-pricing feed. First-party provider pages are cited per record in the feed.