LLM API Pricing

Current cost per million tokens for every major model. Updated April 2026.

Model Provider Context Input / 1M tokens Output / 1M tokens
Mistral Large 2402 mistral-large-2402 Mistral 32K $4.00 $12.00
Mistral Large 2407 mistral-large-2407 Mistral 128K $3.00 $9.00
Mistral Medium mistral-medium Mistral 32K $2.70 $8.10
Mistral Medium 2312 mistral-medium-2312 Mistral 32K $2.70 $8.10
Magistral Medium 2506 magistral-medium-2506 Mistral 40K $2.00 $5.00
Magistral Medium 2509 magistral-medium-2509 Mistral 40K $2.00 $5.00
Magistral Medium Latest magistral-medium-latest Mistral 40K $2.00 $5.00
Mistral Large 2411 mistral-large-2411 Mistral 128K $2.00 $6.00
Open Mixtral 8x22b open-mixtral-8x22b Mistral 65K $2.00 $6.00
Pixtral Large 2411 pixtral-large-2411 Mistral 128K $2.00 $6.00
Pixtral Large Latest pixtral-large-latest Mistral 128K $2.00 $6.00
Magistral Medium 1 2 2509 magistral-medium-1-2-2509 Mistral 40K $2.00 $5.00
Codestral 2405 codestral-2405 Mistral 32K $1.00 $3.00
Codestral Latest codestral-latest Mistral 32K $1.00 $3.00
Open Mixtral 8x7b open-mixtral-8x7b Mistral 32K $0.7 $0.7
Magistral Small 2506 magistral-small-2506 Mistral 40K $0.5 $1.50
Magistral Small Latest magistral-small-latest Mistral 40K $0.5 $1.50
Mistral Large Latest mistral-large-latest Mistral 262K $0.5 $1.50
Mistral Large 3 mistral-large-3 Mistral 262K $0.5 $1.50
Magistral Small 1 2 2509 magistral-small-1-2-2509 Mistral 40K $0.5 $1.50
Mistral Large 2512 mistral-large-2512 Mistral 262K $0.5 $1.50
Devstral Medium 2507 devstral-medium-2507 Mistral 128K $0.4 $2.00
Devstral Latest devstral-latest Mistral 256K $0.4 $2.00
Devstral Medium Latest devstral-medium-latest Mistral 256K $0.4 $2.00
Devstral 2512 devstral-2512 Mistral 256K $0.4 $2.00
Mistral Medium 2505 mistral-medium-2505 Mistral 131K $0.4 $2.00
Mistral Medium Latest mistral-medium-latest Mistral 131K $0.4 $2.00
Mistral Medium 3 1 2508 mistral-medium-3-1-2508 Mistral 131K $0.4 $2.00
Codestral 2508 codestral-2508 Mistral 256K $0.3 $0.9
Open Mistral Nemo open-mistral-nemo Mistral 128K $0.3 $0.3
Open Mistral Nemo 2407 open-mistral-nemo-2407 Mistral 128K $0.3 $0.3
Codestral Mamba Latest codestral-mamba-latest Mistral 256K $0.25 $0.25
Mistral Tiny mistral-tiny Mistral 32K $0.25 $0.25
Open Codestral Mamba open-codestral-mamba Mistral 256K $0.25 $0.25
Open Mistral 7b open-mistral-7b Mistral 32K $0.25 $0.25
Ministral 3 14b 2512 ministral-3-14b-2512 Mistral 262K $0.2 $0.2
Codestral Embed codestral-embed Mistral 8K $0.15 $0
Codestral Embed 2505 codestral-embed-2505 Mistral 8K $0.15 $0
Pixtral 12b 2409 pixtral-12b-2409 Mistral 128K $0.15 $0.15
Ministral 3 8b 2512 ministral-3-8b-2512 Mistral 262K $0.15 $0.15
Devstral Small 2505 devstral-small-2505 Mistral 128K $0.1 $0.3
Devstral Small 2507 devstral-small-2507 Mistral 128K $0.1 $0.3
Devstral Small Latest devstral-small-latest Mistral 256K $0.1 $0.3
Labs Devstral Small 2512 labs-devstral-small-2512 Mistral 256K $0.1 $0.3
Mistral Embed mistral-embed Mistral 8K $0.1 $0
Mistral Small mistral-small Mistral 32K $0.1 $0.3
Ministral 3 3b 2512 ministral-3-3b-2512 Mistral 131K $0.1 $0.1
Mistral Small Latest mistral-small-latest Mistral 131K $0.06 $0.18
Mistral Small 3 2 2506 mistral-small-3-2-2506 Mistral 131K $0.06 $0.18

Prices shown are list prices from provider documentation and may not reflect discounts, caching, or batching rates. Input and output prices are per 1,000,000 tokens.

Track exactly what you spend — per agent, per team.

One line of code. Real-time cost attribution across every model.

Get started free →