Codestral

Mistral CodestralText

Codestral is a text model from Mistral Codestral with a context window of 32K tokens and max output of 8K tokens.

Specifications

Model Keycodestral/codestral-latest
ProviderMistral Codestral
LiteLLM Providercodestral
ModeText
Canonical Namecodestral-latest
Context Window32K tokens
Max Output8K tokens

Capabilities

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

Pricing

TypePer 1K TokensPer 1M Tokens
Input TokensN/AN/A
Output TokensN/AN/A

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
Mistral Codestralcodestral/codestral-latestN/AN/A
Mistral Codestraltext-completion-codestral/codestral-latestN/AN/A

Similar Models

Models with similar capabilities and context window size.

Model
Provider
Mode
Input Price
Output Price
Context
Max Output
Vision
Functions
Codestral 2405Mistral CodestralTextN/AN/A32K8Knono
Llama3 405B Instruct MaasGoogle Vertex AITextN/AN/A32K32Knono
Llama3 70B Instruct MaasGoogle Vertex AITextN/AN/A32K32Knono
Llama3 8B Instruct MaasGoogle Vertex AITextN/AN/A32K32Knono
Mistral SmallMistral AIText$0.100$0.30032K8Knoyes
Mistral SmallMistral AIText$0.100$0.30032K8Knoyes
Mistral Small 2503WatsonxText$0.100$0.30032K32Knoyes
Mistral Small 3.2 24B InstructOpenRouterText$0.100$0.30032KN/Anono
Qwen2.5 7B InstructNovitaText$0.070$0.07032K32Knoyes
Qwen3 32BOvhcloudText$0.080$0.23032K32Knoyes