Mistral AI

Codestral 2508

$0.30 per 1M input tokens and $0.90 per 1M output tokens · 256K context · tools, JSON.

Prices checked Oct 21, 2026 · tracked by LLM Cost Index since Oct 21, 2026

$0.30
input / 1M tokens
$0.90
output / 1M tokens
$0.03
cached input / 1M
256K
context window
205K
max output

Cheaper ways to run the same model: Codestral 2508 (batch) at $0.15 / $0.45 — same model, different service (e.g. batch processing with a delay).

What Codestral 2508 costs per month

Estimated monthly bill for typical workloads, using the cached-input price for repeated context. Try your own numbers in the cost calculator.

WorkloadPer month
Customer chatbot
1,000 conversations a day, 8 turns each
$125
Document Q&A (RAG)
500 questions a day over retrieved documents
$31.32
Coding / tool-using agent
200 tasks a day, long tool-heavy contexts
$56.70
Content generation
30 long articles a day
$2.83
Classification / extraction
100,000 short items a day
$311

Price history

We started tracking Codestral 2508 on Oct 21, 2026; the chart appears as soon as there is a second data point. See all recent price changes.

Where to run Codestral 2508: 2 providers

Mistral is the cheapest at $0.30 input / $0.90 output per 1M tokens. Uptime is the average over the last 30 days as reported by OpenRouter; see provider reliability.

ProviderInput / 1MOutput / 1MContextUptimeNotes
Mistral$0.30$0.90256K100% —
Mistral$0.33$0.99256K100% —

Cheaper alternatives to Codestral 2508

Models with the same tool calling, structured output for at least 20% less (3:1 input/output mix), most capable first.

Cheaper alternatives to Codestral 2508
Model Input / 1M Output / 1M Context Capabilities
Claude Haiku 5.5
Anthropic
$0.10 $0.50 1M visiontoolsreasoningJSON
GLM 5.3 Flash
Z.ai
$0.041 $0.12 1.05M visiontoolsreasoningJSONopen weights
Ling 3.1 Flash
inclusionAI
$0.075 $0.225 262K toolsreasoningJSON
GPT-6 Luna
OpenAI
$0.10 $0.50 1.05M visiontoolsreasoningJSON
MiMo-V2.6-Flash
Xiaomi
$0.14 $0.28 1.05M visionaudiotoolsreasoningJSONopen weights

How to pay less for Codestral 2508

For a customer chatbot (1,000 conversations a day, 8 turns each) that costs $184 a month at list price without caching:

OptionPer monthYou save
Move to Claude Haiku 5.5 (similar capabilities)$58.56$125 (68%)
Switch to Codestral 2508 (batch)$91.80$91.80 (50%)
Use prompt caching (60% of input cached)$125$58.32 (32%)

Other workloads: cut-your-bill tool for Codestral 2508.

Specifications

Model IDmistralai/codestral-2508
Inputtext, file
Outputtext
Tool callingYes
Structured outputYes
Reasoning modeNo
Open weightsNo
Knowledge cutoff2025-03-31
ReleasedAug 1, 2025

FAQ

How much does Codestral 2508 cost?
$0.30 per million input tokens and $0.90 per million output tokens; cached input costs $0.03 per million. Prices as of Oct 21, 2026.
What is the context window of Codestral 2508?
256K tokens, with up to 205K output tokens per response.
Does Codestral 2508 support images, tools and structured output?
Images as input: no. Tool calling: yes. Structured (JSON) output: yes. Reasoning mode: no.
What are cheaper alternatives to Codestral 2508?
Models with the same key capabilities for at least 20% less include Claude Haiku 5.5 ($0.10 / $0.50), GLM 5.3 Flash ($0.041 / $0.12), Ling 3.1 Flash ($0.075 / $0.225).

More from Mistral AI: all Mistral AI models · how we collect prices