Codestral Embed 2505

mistralai/codestral-embed-2505 by mistralai

Mistral's code embedding model, the only non-generative member of the Codestral line.

Codestral Embed is Mistral's embedding model for source code, returning vectors for semantic code search and retrieval rather than generating completions. Every other Codestral is generative. It accepts 8K tokens per input, which determines how a repository must be chunked before indexing.

Specifications

Context window
8,000 tokens
Input
text
Output
embedding
Function calling
Not supported
Providers
1 (0 EU-sovereign)

Providers, pricing and carbon

Codestral Embed 2505 across providers. Prices in EUR per 1M tokens; carbon in gCO₂e per 1M tokens in the provider's lowest-carbon region.
ProviderEU-sovereignInput €/1MOutput €/1MgCO₂e/1M tokensRegions
mistralNo€0.1403€0.001329EU, Global