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.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
| Token Type | Credits | USD Equivalent |
|---|---|---|
| Input Tokens | 186 | $0.12 |
| Output Tokens | No charge โ billed on input tokens only | |
* 1,500 credits โ $1 (actual charges may vary based on usage)
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?"
]
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
input | string | array | Yes | - | Text or array of texts to embed. Max 8,192 tokens per item. |
model | string | Yes | mistral-embed-2312 | Model identifier. The alias mistral-embed is accepted and pinned to mistral-embed-2312. |
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?"
]
}'POST /llm/mistral/v1/embeddings