Eliminating the 4 Hidden Taxes: AI Tokens, Manual Work, SaaS Cliffs & AI Scrapers Sponsor this header →

Mistral: Codestral 2508 API Pricing & Cost Breakdown

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)

mistralai/codestral-2508
budget
Last checked: Nov 21, 2026
Input / 1M Tokens
$0.30
Prompt & context tokens
Output / 1M Tokens
$0.90
Generated completion tokens
Blended (3:1) / 1M
$0.45
Tier: budget
Context Window
256K
Max output: 205K

Technical Specifications

Canonical IDmistralai/codestral-2508
ProviderMistral AI
Input Modalitiestext, file
Output Modalitiestext
Open-WeightNo (Proprietary API)
Reasoning OptimizedStandard
Vision SupportText-only

Estimated Monthly API Spend

StageMonthly TokensEst. Cost
Prototype / MVP
500 req/day
22.5M in / 6.0M out $12.15/mo
Growing SaaS
10,000 req/day
600.0M in / 150.0M out $315.00/mo
Scale Production
100,000 req/day
7500.0M in / 1800.0M out $3,870/mo
Simulate Custom Volume → Cut Cost via 3-Tier Cascade →

Deploy or Route Mistral: Codestral 2508

Multi-Provider Gateway

OpenRouter

Unified API gateway for 300+ LLMs with automatic fallbacks and unified billing.

Call via OpenRouter →
Open-Weight Inference

Together AI

High-throughput serverless inference & fine-tuning for Llama, DeepSeek, and Qwen.

Run on Together AI →
Low-Latency Engine

Fireworks AI

Ultra-low-latency inference engine built for production structured outputs and function calling.

Deploy on Fireworks →

Some outbound infrastructure and API gateway links on KostoZero are partner referrals that help keep this observatory free and independent at no extra cost to you.

Cheaper Alternatives to Mistral: Codestral 2508

ModelProviderInput / 1MOutput / 1MBlendedContext
MiniMax: MiniMax M2.5 Minimax $0.27 $0.95 $0.44 198K
DeepSeek: DeepSeek V3 0324 DeepSeek $0.25 $1.00 $0.438 164K
Z.ai: GLM Latest Z Ai $0.07 $1.40 $0.402 1.05M
TheDrummer: UnslopNemo 12B Thedrummer $0.40 $0.40 $0.40 1.02M
Qwen: Qwen-Plus Qwen $0.26 $0.78 $0.39 1M
Qwen: Qwen3 Coder Flash Qwen $0.195 $0.975 $0.39 1M

Direct Head-to-Head Comparisons

Frequently Asked Questions

How much does Mistral: Codestral 2508 API cost per 1M tokens?

Mistral: Codestral 2508 costs $0.30 per 1M input tokens and $0.90 per 1M output tokens ($0.45 blended at a 3:1 ratio).

What is the maximum context window of Mistral: Codestral 2508?

Mistral: Codestral 2508 supports up to 256,000 tokens (256K) of input context and up to 204,800 output completion tokens.

What are cheaper alternatives to Mistral: Codestral 2508?

Lower-cost options tracked right now include MiniMax: MiniMax M2.5 ($0.44/1M), DeepSeek: DeepSeek V3 0324 ($0.438/1M), Z.ai: GLM Latest ($0.402/1M).

Get Instant Price-Drop (>10%), New AI Bot & SaaS Cliff Alerts

Every 6 hours our autonomous sync checks 40+ LLMs, AI crawlers, and SaaS pricing cliffs—alerting you when prices drop >10% or new scrapers appear.