TokenRate

Codestral 2508 Pricing

Fast

Mistral · 256K tokens context

Codestral 2508 from Mistral costs $0.300 per 1 million input tokens and $0.900 per 1 million output tokens as of July 2026 (live OpenRouter data). The model supports a 256,000-token context window (approximately 192,000 words) with a 8K-token maximum output. A typical 1,000-token request costs $0.0003 in input charges; a 10,000-token request costs $0.0030.

Codestral 2508 pricing and capability summary
Input price$0.300 / 1M tokens
Output price$0.900 / 1M tokens
Output / input ratio3.0×
Context window256,000 tokens (~192,000 words)
Maximum output8,192 tokens
Cost per 1K tokens (input)$0.0003
TierFast
Last verified

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.

Live pricing from OpenRouter

Input Price

$0.300

per 1 million tokens

Output Price

$0.900

per 1 million tokens

Context Window

256K tokens

max 8K output

Cost Examples

Request TypeTokensInput CostOutput Cost
1,000 word article1,333$0.0004$0.00036
10-page document (2,500 words)3,333$0.001$0.0009
1,000 lines of code5,000$0.0015$0.00135
100K token document100,000$0.03$0.027

Output cost estimated at 30% of input token count. Use the calculator for exact figures.

Strengths

  • Affordable at $0.30/1M input tokens
  • Large 256K-token context window
  • Low latency for high-throughput workloads

Limitations

  • Less capable than flagship models on complex reasoning
  • Quality and availability can vary by hosting provider

Best Use Cases

High-volume classification
Text extraction and summarization
Simple chat and Q&A
Cost-sensitive pipelines

Calculate Codestral 2508 Costs

Use the TokenRate calculator to convert any budget, token count, or text into exact Codestral 2508 costs — and compare across all models.

Open Calculator →

Codestral 2508 — FAQ

Related Models

Related Guides