Skip to content
llmmodels

Codestral Embed vs Gemini Embedding 2

Codestral Embed is about 1.3× cheaper on a blended (3:1 input:output) token price.

SpecCodestral EmbedGemini Embedding 2
ProviderMistral AIGoogle DeepMind
ReleasedMay 28, 2025Apr 22, 2026 (better)
TypeEmbedding modelEmbedding model
Parameters——
Context window8K8K
Max output3K (better)1
Input price / 1M$0.15 (better)$0.2
Output price / 1MFreeFree
Input modalitiestexttext, image, audio, video, pdf (better)
Open weightsNoNo
LicenseProprietaryProprietary
Reasoning modeNoNo
Tool callingNoNo
API providers14 (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.