mistralai logo
mistralai

Mistral: Codestral Embed 2505

Mistral Codestral Embed is specially designed for code, perfect for embedding code databases, repositories, and powering coding assistants with state-of-the-art retrieval. Priced at $0.15 per M tokens. 8,192 token context window.

Overview

Model specifications

Context
8,192 tokens
Maximum output
6,553 tokens
Architecture
text->embeddings
Tokenizer
Mistral
Knowledge cutoff
Not provided
Moderated
No
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$0.15
/M tokens
API

Quick start

Call this exact model ID through OpenRouter’s OpenAI-compatible API.

curl https://openrouter.ai/api/v1/embeddings \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"mistralai/codestral-embed-2505","input":"Your text here"}'
Capabilities

InputOutput

Input
text
Output
embeddings
API

Supported API parameters

frequency_penaltymax_tokenspresence_penaltyresponse_formatseedstopstructured_outputstemperaturetop_p
Available providers

1 Provider

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

Mistral

unknown
Context
8K
Maximum output
7K
Input
$0.150
Output
Free
Cache read
Not provided
Cache write
Not provided
mistralai

models

All models