Mistral

Codestral token cost

Low-latency Codestral for fill-in-the-middle, completions, and high-frequency coding loops.

Published list rates

Input

$0.3

per 1M tokens

Output

$0.9

per 1M tokens

Context window

256,000

tokens

Pricing source: Mistral API pricing

Estimate cost

Estimate from text

Calculate from a token total

Project monthly volume

Daily requests × tokens per request × 30 days.

Estimated cost

Estimated tokens
100,000
Characters
400,000
Words
75,000
Input tokens
70,000
Output tokens
30,000
Input cost
$0.021
Output cost
$0.027
Total cost
$0.048
Combined price per 1M tokens
$0.48
Estimated monthly cost
$28.80
Estimated daily cost
$0.96

Cost as volume grows

What Codestral costs if you only send tokens, only get a reply, or do both (70% in / 30% out). Rows start small and go up to huge traffic.

Tokens Input only Output only Mix (70% in / 30% out)
1 $0.0000003 $0.0000009 $0.00000048
10 $0.000003 $0.000009 $0.000005
100 $0.00003 $0.00009 $0.000048
200 $0.00006 $0.00018 $0.000096
300 $0.00009 $0.00027 $0.000144
400 $0.00012 $0.00036 $0.000192
500 $0.00015 $0.00045 $0.00024
1,000 $0.0003 $0.0009 $0.00048
2,000 $0.0006 $0.0018 $0.00096
5,000 $0.0015 $0.0045 $0.0024
10,000 $0.003 $0.009 $0.0048
25,000 $0.0075 $0.0225 $0.012
50,000 $0.015 $0.045 $0.024
100,000 $0.03 $0.09 $0.048
250,000 $0.075 $0.225 $0.12
500,000 $0.15 $0.45 $0.24
1,000,000 $0.3 $0.9 $0.48
5,000,000 $1.50 $4.50 $2.40
10,000,000 $3.00 $9.00 $4.80
50,000,000 $15.00 $45.00 $24.00
100,000,000 $30.00 $90.00 $48.00
500,000,000 $150.00 $450.00 $240.00
1,000,000,000 $300.00 $900.00 $480.00
10,000,000,000 $3,000.00 $9,000.00 $4,800.00
100,000,000,000 $30,000.00 $90,000.00 $48,000.00

Tokens for a fixed budget

How far a fixed spend goes on Codestral at these list rates.

Budget Input tokens Output tokens Mixed tokens (70/30)
$0.01 33,333 11,111 20,833
$0.1 333,333 111,111 208,333
$0.5 1.67M 555,556 1.04M
$1.00 3.33M 1.11M 2.08M
$5.00 16.7M 5.56M 10.4M
$10.00 33.3M 11.1M 20.8M
$20.00 66.7M 22.2M 41.7M
$25.00 83.3M 27.8M 52.1M
$30.00 100M 33.3M 62.5M
$50.00 166.7M 55.6M 104.2M
$100.00 333.3M 111.1M 208.3M
$250.00 833.3M 277.8M 520.8M
$500.00 1.67B 555.6M 1.04B
$1,000.00 3.33B 1.11B 2.08B
$5,000.00 16.7B 5.56B 10.4B
$10,000.00 33.3B 11.1B 20.8B

At these rates

  • A workload with 70% input and 30% output costs $0.48 per 1 million total tokens and $48.00 per 100 million.
  • At the same token count, output costs 3 times the input rate. Response length therefore deserves its own budget limit.
  • Filling the 256,000-token context window with input alone would cost about $0.0768, before any output.

Mistral

Mistral open-weight and commercial models via La Plateforme.

All Mistral models

These figures use public list prices. Cache eligibility, batch or priority modes, long-context surcharges, discounts, and regional billing can change the invoice.

Related models