prices synced 2026-09-11

Codestral 2508 (batch)

Mistral · Multimodal · Released Aug 2025

Compare

Mistral's language model specialized for code generation and manipulation tasks, released in August 2025, with support for fill-in-the-middle completion, code correction, and test generation.

Strengths
Optimized for low-latency code completion and generation tasks, with strong performance on fill-in-the-middle patterns and rapid code manipulation workflows.
Best for
IDE integration, code completion, code review automation, test generation, and other high-frequency coding workflows that benefit from specialized code understanding.
Limitations
Designed specifically for code tasks rather than general-purpose language understanding; smaller and less capable than Mistral Large 3 for complex reasoning or multi-domain applications.

Input / 1M

$0.15

Output / 1M

$0.45

Cached input / 1M

$0.015

Context window

256K

Price history

Input (solid)Output (dashed)
Price per 1M tokens over timeOutput went from $0.9 to $0.45; Input went from $0.3 to $0.15 between Aug 2026 and Sep 2026.$0$0.2$0.4$0.6$0.8$1.00Output on 28 Aug 2026: $0.9Output on 10 Sep 2026: $0.45Out $0.45Input on 28 Aug 2026: $0.3Input on 10 Sep 2026: $0.15In $0.15Aug 2026Sep 2026

Price change

30d
in decreased 50.0% out decreased 50.0%
90d
in decreased 50.0% out decreased 50.0%
1y
in decreased 50.0% out decreased 50.0%
Since launch
in decreased 50.0% out decreased 50.0%

Snapshots

Effective Input Output Cached in Note Source
10 Sep 2026 $0.15 $0.45 $0.015 Imported from OpenRouter openrouter.ai
28 Aug 2026 $0.3 $0.9 $0.03 Imported from OpenRouter openrouter.ai

More from Mistral

Report a problem