# Codestral Embed (Mistral) — API pricing and providers

> Code embeddings for code search and retrieval. Model id `mistral/codestral-embed`. Embeddings model by Mistral.

- Page: https://infro.io/models/mistral/codestral-embed
- Vendor: Mistral (https://infro.io/models/mistral)
- Modality: Embeddings
- Endpoint through INFRO: `POST /v1/embeddings` at https://api.infro.io/v1
- List rate: $0.15 per 1M tokens
- Rates checked: 2026-10-05

Rates are Mistral's published list price: what the customer's own provider account bills, not an INFRO charge. INFRO is a BYOK control plane; it charges a software subscription and adds 0% to model spend.

## Providers that serve it

| Provider | Model id sent |
| --- | --- |
| Mistral | `codestral-embed` |

## Questions

### How much does the Codestral Embed API cost?

Mistral's published list rate for Codestral Embed is $0.15 per 1M tokens (checked 2026-10-05). The provider account you connect bills you at the rate on that account, so a negotiated rate replaces the list rate. INFRO adds 0% to model spend.

### Which providers serve Codestral Embed?

In INFRO's provider registry, Codestral Embed can be served by Mistral. You connect your own account with any of them, and INFRO routes and fails over between the ones you connect.

### What is the Codestral Embed model ID?

Request it from INFRO as "mistral/codestral-embed". INFRO sends each provider its own id: Mistral "codestral-embed".

### How do I call Codestral Embed through an OpenAI-compatible API?

Point an OpenAI SDK, or any HTTP client, at https://api.infro.io/v1 with an INFRO gateway key and send model "mistral/codestral-embed" to POST /v1/embeddings. INFRO runs the request on a provider account you connected and returns the provider's response with an estimated cost.

### Does INFRO mark up Codestral Embed usage?

No. Mistral or the provider you connect bills model usage to your own account. INFRO charges a software subscription for routing, failover, observability, budgets and policy, and takes 0% of model spend.
