Mistral: Codestral Embed 2505 — AI model

Mistral: Codestral Embed 2505 is a AI model from Mistral AI, available through Hormouz via an OpenAI-compatible API with stable access from inside Iran.

Mistral Codestral Embed is specially designed for code, perfect for embedding code databases, repositories, and powering coding assistants with state-of-the-art retrieval.

Specs

VendorMistral AI
Typeembedding
Context window8,192 tokens
Pricing$0.15/M in · $0.00/M out
APIembeddings

Code example

curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mistralai/codestral-embed-2505",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Use via Hormouz

Connect to this model and 450+ others with one API key — stable under heavy load and optimized for Iran.

Get started

Related models