Mistral AI

Codestral 2508

Mistral's coding-specialized model for fill-in-the-middle, repo-scale context, and agentic software work, available via OpenRouter and Azure.

ActiveReleased July 30, 2025Available from 4 providers
Tool callingCan invoke external tools and APIs (function calling) mid-response.Structured outputCan return JSON or schema-constrained responses instead of free text.ReasoningUses extended thinking / chain-of-thought for harder multi-step problems.Effort controlLets you dial thinking depth (low / medium / high) to trade cost for quality.Fine-tuningSupports training a custom variant on your own data (vendor fine-tune API or self-hosted open weights).

Source: Mistral API pricing, Mistral model cards, Metadata verification, Metadata verification

Price per 1M tokens via Mistral (OpenRouter)
$0.3 in / $0.9 out
Context window256,000
Cache read$0.03 / M
Min cache prefix64 tokens
ModalitiesText → Text
Priced across4 providers

Pricing

Every billing leg from the live catalog, in USD per 1M tokens.

Billing legRate
Input$0.3 / M
Output$0.9 / M
Cache read$0.03 / M

Cost calculator

Billing-grade math over the rate card above, including the thinking tokens most estimates miss.

Estimated monthly cost
$78.00
at current list prices
Fresh input$60.00
Cached input$0.00
Output$18.00
Track this automatically →

Compare providers

The same model, priced across every platform that serves it. Lowest combined in/out rate is flagged.

PlatformRegionInput / MOutput / MCache read / MBatchAccess
Azure AI FoundryLowest
-$0.3$0.9--Direct
Mistral
-$0.3$0.9$0.03-via OpenRouter
Azure AI Foundry · Data zone
-$0.33$0.99--Direct
Azure AI Foundry · Regional
$0.33$0.99--Direct

Some hosts price by region. Shown rates match the selected region.

Price history

Has this model gotten cheaper or more expensive?

No changePriced at $0.3 / $0.9 per 1M since July 10, 2026.

More from Mistral AI

Other models from the same provider.

Stop estimating. Track it.

SuperPenguin meters every Codestral 2508 call your team makes, prices it with this exact rate card, and shows spend by feature, customer, and team.

Get started free

Rates are generated from SuperPenguin's live pricing catalog.