Last updated: 16/04/2025

MistralOfficial Docs

Codestral

codestral-2412

active

Codestral

Codestral is a cutting-edge language model for coding, specializing in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction, and test generation.

Supports a 262K token context window. Handles Text, Image, Video, Audio, Transcription, Text-to-Speech inputs and outputs. Supports fine-tuning for custom applications. Supports tool use for advanced automation. Capable of generating structured output formats.

Additional Information

Notes

Has a context length of 262144 tokens. Also known by aliases: codestral-2501, codestral-latest, codestral-2411-rc5.

Model Timeline

Launch Date

5/1/2024

Last Updated

1/1/2025

Capabilities

Text

Input Pricing

$0.70/ MTok

Context: 262,144 tokens

Output Pricing

$0.70/ MTok

Max tokens: 8,192

Embeddings

Embeddings Pricing

$0.0001/1k tokens

Additional Model Information

Tool Use

Yes

Structured Output

Yes

Reasoning

Yes

Flatten your repo for AI in seconds

Flatten repos. Prompt faster. One click → one GPT-ready file

Free Online & Desktop