Mistral AI Unveils Codestral Embed for Enhanced Code Retrieval

May 29, 2025
Mistral AI has introduced Codestral Embed, a new embedding model designed for code retrieval and semantic understanding. The model outperforms existing solutions like Voyage Code 3 and OpenAI's large embedding model.

Mistral AI has introduced Codestral Embed, a state-of-the-art embedding model specialized for code retrieval and semantic understanding. This new model significantly outperforms existing solutions such as Voyage Code 3, Cohere Embed v4.0, and OpenAI's large embedding model.

Codestral Embed is optimized for various applications, including retrieval-augmented generation, semantic code search, and similarity search. It facilitates efficient context retrieval for tasks like code completion and editing, making it ideal for AI-powered software engineering tools. The model also supports semantic clustering and code analytics, aiding in repository analysis and automated documentation.

Available through Mistral AI's API, Codestral Embed offers flexible embedding dimensions and precisions, allowing users to balance retrieval quality and storage costs. The model is priced at $0.15 per million tokens, with a 50% discount available for batch API usage. For on-premises deployments, Mistral AI provides support through its applied AI team.

We hope you enjoyed this article

Consider subscribing to one of our newsletters like Daily AI Brief or AI Programming Weekly.

Also, consider following us on social media:

Free newsletter

AI Programming Weekly

Weekly news about AI tools for software engineers, AI enabled IDE's and much more.

Whitepaper

Tensordyne Napier: What If One Rack Could Do the Work of Nine?

Tensordyne

This Tensordyne whitepaper presents Napier, an inference-focused AI processor and rack-scale system based on the company’s TDN Math logarithmic number system. It examines infrastructure requirements for large mixture-of-experts and agentic models, compares major inference architecture approaches, and details the TDN AIP processor, TDN72 pod, TDN Link fabric, and Napier Ultra configuration. The paper reports simulation-based performance, cost, and accuracy-validation results, including Tensordyne’s projected comparison of one Napier rack with a nine-rack Nvidia Rubin plus Groq deployment; the chip is reported as taped out and in fabrication.

Read more
Free, six days a week

Daily AI Brief: the AI news that matters, in your inbox.