Codestral

Code specialist model for low-latency code generation and FIM.

codestral-2508
STABLEGet StartedView uptime
256,000 context
Released July 30, 2025
Starting at $0.30/M input tokens
Starting at $0.90/M output tokens
Streaming
JSON Output
No ratings yetSign in to rate

Select Provider

All Providers for Codestral

LLM Gateway routes requests to the best providers that are able to handle your prompt size and parameters.

Mistral AI
Context: 256k
Input
$0.3
/M tokens
Cache Read
/M tokens
Output
$0.9
/M tokens
Get Started

Frequently asked questions

What is Codestral?

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.

How much does Codestral cost?

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.

What is the context length of Codestral?

Codestral supports a context window of up to 256,000 tokens on its largest provider deployment.

Which providers serve Codestral?

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.

Does Codestral support tool calling and structured outputs?

Codestral supports structured JSON outputs, but not tool calling.

When was Codestral released?

Codestral was released on July 30, 2025.