Mistral Releases Codestral Embed, Code-Specialized Embedding Model at $0.15 Per Million Tokens
Mistral AI has released Codestral Embed, its first code-specialized embedding model, priced at $0.15 per million tokens. The model features an 8192-token context window and claims to outperform Voyage Code 3, Cohere Embed v4.0, and OpenAI's large embedding model on code retrieval benchmarks.
Codestral Embed — Quick Specs
Mistral Releases Codestral Embed, Code-Specialized Embedding Model at $0.15 Per Million Tokens
Mistral AI has released Codestral Embed, its first embedding model specialized for code retrieval and semantic understanding. The model is available via API under the identifier codestral-embed-2505 at $0.15 per million tokens, with a 50% discount available through Mistral's batch API.
Technical Specifications
Codestral Embed supports an 8192-token context window and offers flexible output configurations. The model can generate embeddings at different dimensions and precisions, with dimensions ordered by relevance. According to Mistral, even at reduced dimension 256 with int8 precision, the model outperforms competing code embedding models.
For retrieval use cases, Mistral recommends chunking datasets into 3000-character segments with 1000-character overlap rather than using the full context window, as larger chunks reportedly degrade retrieval performance.
Benchmark Performance
Mistral claims Codestral Embed outperforms Voyage Code 3, Cohere Embed v4.0, and OpenAI's large embedding model across multiple code retrieval benchmarks. The company highlights particularly strong performance on:
- SWE-Bench Lite: Real-world GitHub issue resolution, identifying files requiring modification
- CodeSearchNet: Code-to-code and documentation-to-code retrieval from GitHub repositories
- Text2SQL tasks: Spider, WikiSQL, and synthetic SQL generation benchmarks
- Algorithm challenges: APPS, CodeChef, MBPP+, and competitive programming problems
- Data science: DS-1000 matching questions to implementations
Mistral evaluated the model across categories including SWE-Bench, code-to-code retrieval, Text2Code from GitHub data, Text2SQL, algorithmic problems, and data science tasks. Specific numerical scores were not disclosed in the announcement.
Use Cases
The company positions Codestral Embed for four primary applications:
- Retrieval-augmented generation: Context retrieval for code completion, editing, and explanation in coding assistants and agent frameworks
- Semantic code search: Natural language or code-based queries across documentation and development tools
- Duplicate detection: Identifying functionally similar code segments for reuse optimization and license enforcement
- Code analytics: Unsupervised clustering for repository analysis and architecture pattern identification
Availability
Codestral Embed is accessible through Mistral's API and batch API. On-premises deployments require direct contact with Mistral's applied AI team. The company has published documentation and a cookbook with examples for code agent retrieval implementations.
What This Means
Codestral Embed represents Mistral's first specialized product for developer tooling, competing directly with established code embedding models from Voyage AI, Cohere, and OpenAI. The $0.15 per million token pricing positions it competitively in the embedding market, though direct cost comparisons depend on competitors' pricing for comparable dimensions and precision levels. The model's flexible dimension reduction feature could provide cost savings for applications where storage efficiency matters more than maximum retrieval accuracy. Its strong claimed performance on SWE-Bench Lite, a benchmark using real GitHub issues, suggests potential utility for coding agents and automated software engineering tools.
Related Articles
AllSpark's Iris-mini and Iris-pro Top Open-Weight Search Agent Benchmarks
Chinese lab AllSpark has released Iris-mini and Iris-pro, two open-weight search agents built on Qwen3 models that claim the top spot among open-weight systems in their size classes on four research benchmarks. The release includes model weights, an agent harness, and evaluation code, with training pipelines to follow.
TypeSafe Launches Jev, a Non-Generative 'Decision Model' Claiming Up to 200x Faster, 400x Cheaper Than Small LLMs
TypeSafe, founded by ChatGPT co-inventor Diogo Almeida, launched Jev on September 15, 2026 — a model that cannot generate free-form text but claims to classify, route, and score 20-200x faster and 40-400x cheaper than small frontier LLMs. Trained via a new method called RLCD, Jev targets production systems that use LLMs purely as structured judges or routers.
Google Launches Gemini 3.8 Live and Extended Thinking Voice Models, Tops Speech-to-Speech Benchmark
Google has announced Gemini 3.8 Live and Gemini 3.8 Live Extended Thinking, new voice dialogue models that claim the #1 spot on Artificial Analysis' Speech to Speech Quality Index with a score of 82.6. The models are rolling out to Gemini Live and power new conversational features in Gmail, Docs, and Keep.
Google Launches Gemini 3.8 Live, Undercutting OpenAI's GPT-Live-1 on Price by Up to 70%
Google DeepMind released Gemini 3.8 Live and a reasoning-enhanced Extended Thinking variant for voice agents, pricing audio input at $0.005/minute versus OpenAI's $0.05/minute for GPT-Live-1. The Extended Thinking model tops the Artificial Analysis Speech-to-Speech Leaderboard with 82.6 percent.
Comments
Loading...