Mistral AI

Codestral API Pricing

Verified against Mistral AI’s pricing page on 2026-07-02.

View source ↗

Facts

Specs

  • FamilyCodestral
  • API IDcodestral-latest
  • ModalityText
  • Context window
  • Max output
  • Release dateNot published

Pricing (per 1M tokens)

  • Input$0.30 / 1M tokens
  • Output$0.90 / 1M tokens
  • Cached input
  • Cache write
  • Batch discount

Capabilities

coding

Worked cost examples

Estimated monthly cost on three common usage shapes

WorkloadEst. monthly cost

Chatbot

800 input / 200 output tokens per request, 100,000 requests/month

$42.00

RAG pipeline

6,000 input / 700 output tokens per request, 30,000 requests/month

$72.90

Batch summarization

20,000 input / 1,500 output tokens per request, 5,000 requests/month

$36.75

Price history

Changes we have documented since we began tracking

No price changes recorded since we began tracking.

Codestral pricing FAQ

How much does Codestral cost per 1M tokens?
Codestral costs $0.30 per 1M input tokens and $0.90 per 1M output tokens.
How much does Codestral cost per request?
A typical request of 800 input and 200 output tokens costs about $0.00042 on Codestral.
Is Codestral cheaper than Codestral Embed?
Codestral is more expensive than Codestral Embed on input tokens, by about 100%.
Does Codestral have cache pricing?
No cache discount is documented for Codestral on the provider's pricing page.