Mistral: Codestral 2508

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 gener…

mistralai/codestral-2508

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)

Specifications & capabilities

Input
text, file
Output
text
Context window · tokens
256000
Knowledge cutoff
2025-03-31
Published model ID
codestral-2508
Capabilities
batch, codeCompletion, fileInput, multimodal, promptCaching, streaming, structuredOutputs, toolCalling

Published prices

1–7 / 7

codestral-2508 ↗

$0.30

Inference provider
mistral
Platform
Mistral
Unit
input_tokens_per_million
Currency
USD
Billing conditions
Billing label
input / 1M tokens

codestral-2508 ↗

$0.15

Inference provider
mistral
Platform
Mistral
Unit
input_tokens_per_million
Currency
USD
Billing conditions
inference_type
Batch API
Billing label
input / 1M tokens

codestral-2508 ↗

$0.90

Inference provider
mistral
Platform
Mistral
Unit
output_tokens_per_million
Currency
USD
Billing conditions
Billing label
output / 1M tokens

codestral-2508 ↗

$0.45

Inference provider
mistral
Platform
Mistral
Unit
output_tokens_per_million
Currency
USD
Billing conditions
inference_type
Batch API
Billing label
output / 1M tokens

mistralai/codestral-2508 ↗

$0.03

Inference provider
openRouter
Platform
OpenRouter
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions

Provider specifications & access

1–1 / 1

Codestral ↗

source model id
codestral-2508
hosting
mistral-hosted
platforms
  • Mistral
context length
128000
architecture
input_modalities
  • text
output_modalities
  • text
capabilities
  • batch
  • codeCompletion
  • streaming
  • structuredOutputs
  • toolCalling

Safety assessments

1–1 / 1

Foundation Model Transparency Index 2025 ↗

18 / 100

source id
stanfordFMTI
canonical model id
mistralai/codestral-2508
taxonomy
transparency
hazard category
transparency
hazard name
Organization transparency
policy area
Mistral
assessment type
organization-level disclosure
metric
disclosure_score
result label
18 / 100
sample size
100
updated at
2026-11-09T18:08:05.227Z

Source specification observations

1–4 / 4

mistral ↗

field
context_length
value
128000
normalized value
128000
scope
source-model
source id
mistral
confidence
1

openRouter ↗

field
context_length
value
256000
normalized value
256000
scope
source-model
source id
openRouter
confidence
1

openRouter ↗

field
knowledge_cutoff
reported field
knowledge_cutoff
value
2025-03-31
normalized value
2025-03-31
precision
day
scope
source-model
source id
openRouter
confidence
1

openRouter ↗

field
max_output_tokens
value
204800
normalized value
204800
scope
source-model
source id
openRouter
confidence
1

Original sources

1–7 / 7

Mistral AI · blog ↗

OpenRouter · Model page ↗

Mistral AI · Model documentation ↗

Mistral AI · legal ↗

GitHub · Catalog ↗

Mistral AI · Catalog ↗

OpenRouter · Catalog ↗

Source links

1–3 / 3

Explore more models

Models

Loading
EVIDENCE / COMPARISON

Benchmarks

Explore every benchmark

Loading

These charts contain model-linked results. The charts above also include unlinked source profiles. Compare scores within each evaluation. Model quality, usage, transparency and system performance measure different things.

Install TensorTrace