Mistral
EfficientPriced via OpenRouter

Codestral 2508

text+file->text

Code-specialist model from Mistral. 256K context fits whole repos and 80+ programming languages.

Codestral 2508 is a efficient AI model from Mistral. It costs $0.3000 per million input tokens and $0.9000 per million output tokens (blended $0.4800/M), with a 256,000-token context window.

Profile inherited from upstream Codestral ↗ — this is a hosted variant of the same open-weights model.

RatesUSD per million tokens. Blend is 70% input, 30% output, our calculation.

INPUT
$0.3000/M
per million input tokens
OUTPUT
$0.9000/M
per million output tokens
BLENDED 70/30
$0.4800/M
unchanged since 3 May
CONTEXT
256,000
tokens

From OpenRouter's listing, read on 17 Nov 2026.

What it is good at
  • Code-tuned
  • 256K context
  • 80+ languages
Typical use cases
  • IDE autocomplete
  • Code review
  • Repo Q&A

Benchmarks

vs. best public score
Scores inherited from Codestral — this is a hosted variant of the same open-weights model, so the underlying benchmark scores are identical.
Python function synthesis from docstrings. No source recorded yet.
Hand-curated from each provider's published reports and public leaderboards. Methodology varies across sources, treat as directional rather than authoritative.

More from Mistral

See all 15 →

Frequently asked questions

How much does Codestral 2508 cost?

Codestral 2508 costs $0.3000 per million input tokens and $0.9000 per million output tokens, for a blended reference rate of $0.4800 per million tokens.

What is Codestral 2508's context window?

Codestral 2508 supports up to 256,000 tokens of context in a single request.

What is Codestral 2508 best for?

Codestral 2508 is well suited to Code-tuned, 256K context and 80+ languages.

Who makes Codestral 2508?

Codestral 2508 is developed and served by Mistral.

Terms used on this page