Skip to content

Codestral Embed

Embeddings
mistralai/codestral-embed

Embed · 8K context · May 2025 · 1 upstreams

Codestral Embed is Mistral's embedding model for code and natural-language queries, built for code search and retrieval. It takes text input with an 8K-token context.

Needs your own keyTo use Codestral Embed, add a key from Mistral. AnyRouter adds no fee.
max input
8K
dimensions
—
input / 1M (list)
$0.15
routes
1

Upstreams

1
  1. 1Mistral AIBYOKBilled to your key
POST /api/v1/embeddings
curl https://anyrouter.dev/api/v1/embeddings \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mistralai/codestral-embed",
    "input": "The quick brown fox jumps over the lazy dog"
  }'

Details

Owner
Mistral AI
Kind
Embeddings
Released
May 2025
Context
8K
Data policy
Provider retention
Endpoint
/api/v1/embeddings