All models · mistralai

Mistral: Codestral 2508 pricing and limits

id mistralai/codestral-2508 · listed 2025-08-01 · knowledge cutoff 2025-03-31

Input (per 1M tokens)$0.300
Output (per 1M tokens)$0.900
Cached input read (per 1M)$0.030
Context window256,000 tokens
Max output204,800 tokens
Modalitiestext+file → text

What 1,000 calls cost at 1,000 input and 300 output tokens each: $0.57.

Mistral's cutting-edge language model for coding released end of July 2025. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation. [Blog Post](https://mistral.ai/news/codestral-25-08)

Cheaper on both input and output, with at least half the context

ModelIn / 1MOut / 1MContext
Auto Router (Beta)$-1000000.000$-1000000.0002,000,000
Pareto Code Router$-1000000.000$-1000000.0002,000,000
Auto Router$-1000000.000$-1000000.0002,000,000
Meta: Llama 4 Scout$0.100$0.3001,310,720
OpenAI: GPT-6 Luna Pro$0.100$0.5001,050,000
OpenAI: GPT-6 Luna Pro (batch)$0.050$0.2501,050,000

Other mistralai models

Mistral: Mistral Nemo ($0.029 / $0.030) · Mistral: Mistral Small 3 ($0.050 / $0.080) · Mistral: Mistral Small 4 (batch) ($0.075 / $0.300) · Mistral: Ministral 3 8B 2512 (batch) ($0.075 / $0.075) · Mistral: Mistral Small 3.2 24B ($0.094 / $0.250) · Mistral: Ministral 3 3B 2512 ($0.100 / $0.100) · Mistral: Voxtral Small 24B 2507 ($0.100 / $0.300) · Mistral: Mistral Small 4 ($0.150 / $0.600)

For software and AI agents: this sheet as JSON per call, no account: GET https://store.agentexchange.work/gw/models/model?id=mistralai/codestral-2508 (0.002 USD), /gw/models/cheapest?min_context=128000, /gw/models/models?provider=mistralai. Pay per call in USDC (x402) or with a 19 USD card key for 1,000 calls. Catalogue · llms.txt

Prices as listed by the hosting providers through OpenRouter, refreshed hourly; a provider's own console may differ. Not affiliated with mistralai. Agent Exchange