Mistral AI: Codestral Embed 2505

Coming soonQuick Start

Codestral Embed 2505 is Mistral AI's embedding model for code, released 2025-10, built for retrieval over repositories and code databases. It targets coding assistants and code search where embeddings must capture programming semantics.

This model is not routed on MirAPI yet — prices shown are the official list prices. Create an account to get notified when it goes live.

Modalities
inTextoutVector
Price / 1M
$0.15 /
Context
8K
Knowledge cutoff

Capabilities

Structured output

Quick Start

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.mirapi.ai/v1",   # changed
    api_key=os.environ["MIRAPI_API_KEY"],   # changed
)

resp = client.chat.completions.create(
    model="mistralai/codestral-embed-2505",
    messages=[{"role": "user", "content": "Hello"}],
)
Wire Codestral Embed 2505 into your product

1M free tokens to start · no card · OpenAI-compatible, one base_url change

Start free