Skip to content
Mistral AIEmbedding

Mistral Embed 2312

mistral-embed-2312

Mistral Embed is Mistral AI's text embedding model, built for semantic search and RAG workflows. It generates 1024-dimensional vectors that capture meaningful relationships between pieces of text.

Context
8.2K tokens
Endpoint

Get API KeyCompare

Pricing

Input$0.125 / 1M
Output—
Cache Write (5m)$0.125 / 1M
Cache Write (1h)$0.125 / 1M
Cache Read$0.125 / 1M

Quick Start

Select an endpoint and copy a working example for this model.

Endpoint
python
from openai import OpenAI client = OpenAI(    api_key="YOUR_API_KEY",    base_url="https://api.apertis.ai/v1") response = client.chat.completions.create(    model="mistral-embed-2312",    messages=[        {"role": "user", "content": "Hello!"}    ],    max_tokens=1024,    temperature=0.7) print(response.choices[0].message.content) # Optional: Enable context compression to reduce token usage# response = client.chat.completions.create(#     model="mistral-embed-2312",#     messages=[{"role": "user", "content": "Hello!"}],#     extra_body={"compression": {"enabled": True, "model": "gpt-4.1-mini"}}# )

Supported Parameters

API docs
Common4 params
modelinputencoding_formatdimensions
Extended1 param
user

Cursor IDE Model IDs

Use these namespaced identifiers in Cursor IDE to avoid conflicts with built-in models.

mistral-embed-2312

Questions about Mistral Embed 2312

How much does Mistral Embed 2312 cost on Apertis?

Mistral Embed 2312 costs $0.125 per 1M input tokens on Apertis.

What is Mistral Embed 2312's context window?

Mistral Embed 2312 has a context window of 8.2K tokens.

Which company develops Mistral Embed 2312?

Mistral Embed 2312 is developed by Mistral AI.

Which model ID do I use to call Mistral Embed 2312?

Use the model ID mistral-embed-2312 to call Mistral Embed 2312.

Compare with Other Models

See how this model compares to others from the same provider.