Codestral Embed
by Mistral AI · May 28, 2025
Codestral Embed is a proprietary embedding model from Mistral AI, released May 28, 2025. It has a 8K-token context window. API pricing starts at $0.15 per million input tokens and Free per million output tokens.
- Provider
- Mistral AI
- Released
- May 28, 2025
- Type
- Embedding model
- Parameters
- Undisclosed
- Context window
- 8,192 tokens
- Max output
- 3,072 tokens
- Input
- text
- Output
- text
- Weights
- Closed
- License
- Proprietary
- Knowledge cutoff
- —
- Status
- Available via API
About Codestral Embed
Embedding model for code search, retrieval, and code-aware RAG pipelines
Where to run Codestral Embed — API providers & pricing
| Provider | Input $/1M | Output $/1M | Cached input | Context |
|---|---|---|---|---|
| Vercel AI Gateway | — | — | — | 8K |
Codestral Embed vs alternatives
- Codestral Embed vs Gemini Embedding 001
- Codestral Embed vs Embed v4.0
- Codestral Embed vs text-embedding-3-large
- Codestral Embed vs voyage-4
- Codestral Embed vs voyage-4-large
- Codestral Embed vs Gemini Embedding 2
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Gemini Embedding 001 | Google DeepMind | May 2025 | — | 2K | $0.15 | Free | — |
| Embed v4.0 | Cohere | Apr 2025 | — | 125K | $0.12 | Free | — |
| text-embedding-3-large | OpenAI | Jan 2024 | — | 8K | $0.13 | Free | — |
| voyage-4 | Voyage AI | Jan 2026 | — | 32K | — | — | — |
| voyage-4-large | Voyage AI | Jan 2026 | — | 32K | — | — | — |
| Gemini Embedding 2 | Google DeepMind | Apr 2026 | — | 8K | $0.2 | Free | — |
| Embed 5 Pro | Cohere | Sep 2026 | — | 125K | $0.12 | Free | — |
| Llama Nemotron Embed 1B v2open | NVIDIA | Oct 2025 | 1.2B | 8K | — | — | — |
More models from Mistral AI
All Mistral AI models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Mistral Large 4 | Oct 2026 | 1.1T | 1M | $0.7 | $2.10 |
| Mistral Medium 3.5open | Apr 2026 | 128B | 256K | $1.50 | $7.50 |
| Mistral Medium 3 | May 2025 | — | 128K | $0.4 | $2 |
| Mistral Large 3open | Nov 2024 | 675B | 256K | $0.5 | $1.50 |
| Mistral Nemoopen | Jul 2024 | 12B | 128K | $0.029 | $0.03 |
| Mixtral 8x22B Instructopen | Apr 2024 | 141B | 64K | $2 | $6 |
| Mistral-7B-v0.1open | Sep 2023 | 7.2B | — | — | — |
| Mistral Small 4open | Mar 2026 | 119B | 256K | $0.15 | $0.6 |
Frequently asked questions
Who made Codestral Embed?
Codestral Embed was developed by Mistral AI (France). It was released on May 28, 2025.
What is the context window of Codestral Embed?
Codestral Embed supports a context window of 8,192 tokens (8K) and can generate up to 3,072 output tokens per response.
How much does Codestral Embed cost?
Codestral Embed costs $0.15 per 1M input tokens and Free per 1M output tokens. Prices vary across the 1 providers that serve it.
Is Codestral Embed open source?
No. Codestral Embed is a proprietary model available only through its provider's API and apps.
Where can I use Codestral Embed?
Codestral Embed is available via 1 API provider.
Sources: epoch, models.dev · paper. Last updated 2026-11-22.