All Models / mistralai / mistralai/codestral-2508

Mistral: Codestral 2508 API Pricing & Cost Calculator

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)

Tool CallingPrompt Caching
Input Price / 1M Tokens
$0.300
Output Price / 1M Tokens
$0.900
Prompt Cache Read / 1M
$0.030
Context Window
256K
Max out: 205K

Interactive Mistral: Codestral 2508 Monthly Cost Calculator

Est. Monthly (With Cache)
—
Est. Monthly (Uncached)
—
Est. Daily Run Rate
—

Volume Cost Benchmarks (75% Input / 25% Output)

Monthly Token VolumeUncached API CostWith 50% Prompt Caching
1M Tokens (Small App)$0.45$0.35
10M Tokens (Growing SaaS)$4.50$3.49
100M Tokens (Scale / Agents)$45.00$34.88
1B Tokens (Enterprise)$450.00$348.75

Deploy or Switch Providers

Best for H100 / A100 / 4090

RunPod Cloud GPUs

Spin up on-demand H100, A100, L40S, and RTX 4090 pods or serverless vLLM endpoints in seconds.

Launch GPU on RunPod →
Predictable Cloud Infra

DigitalOcean GPU Droplets

Deploy AI inference APIs, vector databases, and GPU droplets with simple monthly billing.

Try DigitalOcean →
1 API Key · 470+ Models

OpenRouter Unified API

Switch between Gemini, Claude, GPT, DeepSeek, and Llama with one OpenAI-compatible key.

Get Unified API Key →

Lower-Cost Alternatives to Mistral: Codestral 2508