Codestral

Codestral is a text model from Vertex AI (Mistral) with a context window of 128K tokens and max output of 128K tokens. Pricing starts at 0.20 per million input tokens and 0.60 per million output tokens (cheapest at Mistral Codestral).

Capabilities

Vision Function Calling Reasoning JSON Schema System Messages Web Search Prompt Caching Audio Input Audio Output

Specifications

Model Keyvertex_ai/codestral@2405
ProviderVertex AI (Mistral)
Provider IDvertex_ai-mistral_models
ModeText
Canonical Namecodestral-2405
Context Window128K tokens
Max Output128K tokens

Pricing

TypePer 1K TokensPer 1M Tokens
Input Tokens0.0002000.200
Output Tokens0.0006000.600

Benchmarks

No benchmark data is available for this model.

Price Comparison by Provider

Compare prices for Codestral across different providers. The same model may be available through multiple providers at different price points.

Provider
Model Key
Input Price, $
Output Price, $
Vertex AI (Mistral)vertex_ai/codestral@24050.2000.600
Mistral Codestraltext-completion-codestral/codestral-2405N/AN/A
Mistral AImistral/codestral-24051.003.00
Mistral Codestralcodestral/codestral-2405N/AN/A

All Variants

All available versions, regions, and API endpoints for Codestral.

Model Key
Provider
Mode
Input Price, $
Output Price, $
Context
Max Output
Vision
Functions
mistral/codestral-2405Mistral AIText1.003.0032K8Knono
codestral/codestral-2405Mistral CodestralTextN/AN/A32K8Knono
text-completion-codestral/codestral-2405Mistral CodestralTextN/AN/A32K8Knono
vertex_ai/codestral@2405Vertex AI (Mistral)Text0.2000.600128K128Knoyes