Skip to main content
Core.Today
|
Mistral AIFastHigh

Mistral Embed

Mistral's general-purpose text embedding model over the direct Mistral API - turns sentences and paragraphs into 1,024-dimension vectors for semantic search, clustering and RAG. Billed on input tokens only.

186credits
per 1M input tokens ยท no output-token charge
General-purpose text embeddings
Fixed 1,024-dimension output
8,192-token input per item
Input tokens only - no output charge
OpenAI-compatible API (embeddings) via /llm/mistral/v1

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Model Specifications

Context Window
8K
tokens
Training Cutoff
n/a
Compatible SDK
OpenAI

Capabilities

Vision
Function Calling
Streaming
JSON Mode
System Prompt

Token Pricing (per 1M tokens)

Token TypeCreditsUSD Equivalent
Input Tokens186$0.12
Output TokensNo charge โ€” billed on input tokens only

* 1,500 credits โ‰ˆ $1 (actual charges may vary based on usage)

Quick Start

curl -X POST "https://api.core.today/llm/mistral/v1/embeddings" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer cdt_your_api_key" \
  -d '{
  "model": "mistral-embed-2312",
  "input": [
    "์ฝ”์–ด๋‹ทํˆฌ๋ฐ์ด๋Š” AI API ๊ฒŒ์ดํŠธ์›จ์ด์ž…๋‹ˆ๋‹ค.",
    "What is an API gateway?"
  ]
}'

Parameters

ParameterTypeRequiredDefaultDescription
inputstring | arrayYes-Text or array of texts to embed. Max 8,192 tokens per item.
modelstringYesmistral-embed-2312Model identifier. The alias mistral-embed is accepted and pinned to mistral-embed-2312.

Examples

Embeddings

Returns data[].embedding for each input, in order.

curl -X POST "https://api.core.today/llm/mistral/v1/embeddings" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer cdt_your_api_key" \
  -d '{
  "model": "mistral-embed-2312",
  "input": [
    "์ฝ”์–ด๋‹ทํˆฌ๋ฐ์ด๋Š” AI API ๊ฒŒ์ดํŠธ์›จ์ด์ž…๋‹ˆ๋‹ค.",
    "What is an API gateway?"
  ]
}'

Tips & Best Practices

1Works with the OpenAI SDK - set base_url to https://api.core.today/llm/mistral/v1 and use your cdt_ API key
2Use the same model for indexing and querying - vectors from different models are not comparable
3Send several texts in one request (input as an array) for efficiency
4Max input: 8,192 tokens per item - split long documents into chunks first
5The output size is fixed at 1,024 - output_dimension and dimensions are rejected with 400 for this model; use codestral-embed-2505 if you need to choose the size

Use Cases

Semantic search
RAG (retrieval-augmented generation)
Clustering and classification
Duplicate detection