Code specialist model for low-latency code generation and FIM.
LLM Gateway routes requests to the best providers that are able to handle your prompt size and parameters.
Code specialist model for low-latency code generation and FIM. You can access it through LLM Gateway's OpenAI-compatible API with automatic provider routing, fallback, and cost analytics.
Pricing for Codestral on LLM Gateway starts at $0.30 per million input tokens and $0.90 per million output tokens, depending on the provider. The pricing table above always reflects the current per-provider rates.
Codestral supports a context window of up to 256,000 tokens on its largest provider deployment.
Codestral is served by Mistral AI through LLM Gateway. Requests are automatically routed to the best available provider, with fallback when a provider has issues.
Codestral supports structured JSON outputs, but not tool calling.
Codestral was released on July 30, 2025.
Devstral 2
262,144 context$0.40 in / $2.00 out per 1M
Mistral Large Latest
128,000 context$4.00 in / $12.00 out per 1M
Mistral Large 3
262,144 context$0.50 in / $1.50 out per 1M
Ministral 14B
262,144 context$0.20 in / $0.20 out per 1M
Ministral 8B
262,144 context$0.15 in / $0.15 out per 1M
Ministral 3B
131,072 context$0.10 in / $0.10 out per 1M