Codestral 2

Codestral 2 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.30 per million input tokens and 0.90 per million output tokens.

Capabilities

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

Specifications

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

Pricing

TypePer 1K TokensPer 1M Tokens
Input Tokens0.0003000.300
Output Tokens0.0009000.900

Benchmarks

No benchmark data is available for this model.

All Variants

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

Model Key
Provider
Mode
Input Price, $
Output Price, $
Context
Max Output
Vision
Functions
vertex_ai/codestral-2Vertex AI (Mistral)Text0.3000.900128K128Knoyes
vertex_ai/codestral-2@001Vertex AI (Mistral)Text0.3000.900128K128Knoyes
vertex_ai/mistralai/codestral-2Vertex AI (Mistral)Text0.3000.900128K128Knoyes
vertex_ai/mistralai/codestral-2@001Vertex AI (Mistral)Text0.3000.900128K128Knoyes