[Mistral](/ai-gateway/models/labs/mistral)

# Mistral Embed

Mistral Embed is Mistral's general-purpose text embedding model with 1024 dimensions, designed for semantic search and retrieval tasks with a 55.26 score on the MTEB benchmark. Your use is subject to Mistral's [Terms](https://mistral.ai/terms) & [Privacy](https://mistral.ai/terms#privacy-policy) Policies.

[Use with AI Gateway](https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fai%3Futm_source%3Dgateway-model-page%26utm_campaign%3Dai-gateway-models&title=Get+Started+with+Vercel+AI+Gateway) [View docs](https://vercel.com/docs/ai-gateway)

```
1import { embed } from 'ai';
2

3const result = await embed({
4  model: 'mistral/mistral-embed',
5  value: 'Sunny day at the beach',
6})
```

[Read docs](https://vercel.com/docs/ai-gateway/sdks-and-apis/ai-sdk)

[Overview](/ai-gateway/models/mistral-embed) [About](/ai-gateway/models/mistral-embed/about) [Providers](/ai-gateway/models/mistral-embed/providers) [Similar](/ai-gateway/models/mistral-embed/similar) [FAQ](/ai-gateway/models/mistral-embed/faq)

## [Copy link to heading](#frequently-asked-questions)Frequently Asked Questions

- What are the embedding dimensions for Mistral Embed?

    1024 dimensions per embedding vector.

- What is the MTEB score for Mistral Embed?

    55.26 on retrieval tasks within the Massive Text Embedding Benchmark.

- What is Mistral Embed designed to optimize for?

    Retrieval. The embedding space supports accurate nearest-neighbor search for semantic retrieval tasks.

- Can I use Mistral Embed for non-English text?

    Yes. Mistral's models broadly support European languages; check Mistral's documentation for specific language coverage in the embedding model.

- How does Mistral Embed compare to Codestral Embed?

    Mistral Embed is a general-purpose text embedding model. Codestral Embed was trained specifically for code and outperforms general models on code retrieval benchmarks. Use Codestral Embed when your corpus is source code.

- Can I use Mistral Embed in a RAG pipeline with a Mistral generation model?

    Yes. Pairing Mistral Embed for indexing with a Mistral instruct or reasoning model for generation is a well-supported pattern.

- Is Mistral Embed available via the OpenAI Embeddings API format?

    Yes. Access Mistral Embed through AI Gateway; see AI Gateway docs for the embedding API surface and request shape.