Codestral Embed vs Gemini Embedding 2
Codestral Embed is about 1.3× cheaper on a blended (3:1 input:output) token price.
| Spec | Codestral Embed | Gemini Embedding 2 |
|---|---|---|
| Provider | Mistral AI | Google DeepMind |
| Released | May 28, 2025 | Apr 22, 2026 (better) |
| Type | Embedding model | Embedding model |
| Parameters | — | — |
| Context window | 8K | 8K |
| Max output | 3K (better) | 1 |
| Input price / 1M | $0.15 (better) | $0.2 |
| Output price / 1M | Free | Free |
| Input modalities | text | text, image, audio, video, pdf (better) |
| Open weights | No | No |
| License | Proprietary | Proprietary |
| Reasoning mode | No | No |
| Tool calling | No | No |
| API providers | 1 | 4 (better) |
Cost example
For a workload of 10M input + 2M output tokens per month: Codestral Embed costs $1.50 and Gemini Embedding 2 costs $2.00 at list price (Mistral AI / google pricing).
About Codestral Embed
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. Full Codestral Embed specs →
About Gemini Embedding 2
Gemini Embedding 2 is a proprietary embedding model from Google DeepMind, released Apr 22, 2026. It has a 8K-token context window and accepts text, image, audio, video, pdf input. API pricing starts at $0.2 per million input tokens and Free per million output tokens. It is available from 4 API providers. Full Gemini Embedding 2 specs →
Compare other models
FAQ
Which is better, Codestral Embed or Gemini Embedding 2?
Codestral Embed is about 1.3× cheaper on a blended (3:1 input:output) token price.
Is Codestral Embed cheaper than Gemini Embedding 2?
Codestral Embed costs $0.15 input / Free output per 1M tokens; Gemini Embedding 2 costs $0.2 / Free. Codestral Embed is cheaper overall.
Which has a bigger context window?
Codestral Embed: 8,192 tokens. Gemini Embedding 2: 8,192 tokens.
Are Codestral Embed and Gemini Embedding 2 open source?
Codestral Embed is proprietary; Gemini Embedding 2 is proprietary.