Codestral

MistralFirst listed Aug 2024
Context
256K
Max output
128K
Serving providers
2
Cheapest input
$0.20 /1M
On-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.

Pricing by serving provider

standard tier · per 1M tokens · click a provider to expand

Input pricing runs from $0.20 to $0.30 per 1M tokens across 2 providers, so the dearest route costs 50% more than the cheapest for the same model.

Serving providerInput /1MOutput /1MEndpoints
Vertex AI Mistral ModelsCheapest$0.20$0.601
Standardvertex_ai/codestral@latest
ComponentUnitStandard
Text input/1M tok$0.20
Text output/1M tok$0.60
VercelVercel reseller quote$0.30$0.901

Price history

listed seller prices, input and output per 1M tokens
Input Output
Input down 80% since first tracked
$0.00$1.00$2.00$3.00Aug 1Dec 28Jul 30Jun 22$0.60$0.20

Cost calculator

estimate your monthly spend on this model
$88
estimated / month

Model IDs

copy the exact identifier for your platform
vertex_ai/codestral@latestmistral/codestral

Frequently asked questions

Codestral pricing, context and availability

How much does Codestral cost?

Codestral costs $0.20 per 1M input tokens from Vertex AI Mistral Models, and $0.60 per 1M output tokens from Vertex AI Mistral Models. Across 2 serving providers, input prices range from $0.20 to $0.30 per 1M tokens.

What is the context window of Codestral?

Codestral accepts up to 256K tokens of context and can return up to 128K output tokens.

Which providers serve Codestral?

Codestral is available from 2 serving providers, each with its own pricing and model ID. Vertex AI Mistral Models is currently the cheapest.

What can Codestral do?

Codestral supports tool use.

Other Mistral models

compare pricing across the Mistral lineup
Listed prices from LiteLLM, OpenRouter and Vercel · last checked Oct 14, 2026

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI