Skip to content

codestral-embed-2505

mistral/codestral-embed

Alias for Codestral Embed 25.05, Mistral's code-specialised embedding model for retrieval over repositories; vectors are configurable up to 3,072 dimensions and inputs up to 8K tokens.

API
curl "$AUDIOLAB_API_URL/v1/embeddings" \
  -H "Authorization: Bearer $AUDIOLAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "mistral/codestral-embed",
  "input": "Build search with AudioLab.",
  "encoding_format": "float"
}'
Input Price
$0.1275 / 1M tokens
Output Price
—
Context
8.2K tokens
Output
Embedding

Capabilities

Explore what codestral-embed-2505 supports, then use the API section for a request tailored to this model.

DimensionsBatch

Model Information

Provider
Mistral AI
Product
Embeddings
Release Date
May 28, 2025
Data Policy
Configurable
Region
Global
Input
Text
Output
Embedding
Provider Documentation

Playground

Try codestral-embed-2505 by Mistral AI. Requests use the selected workspace’s credits and API pricing.

codestral-embed-2505Credits —
codestral-embed-2505
This model uses a dedicated input format. Explore its API example or open the supported playground.

Providers

Compare available endpoints, pricing, and context limits for codestral-embed-2505.

ProviderContextOutputInput PriceOutput PriceEndpoint
Mistral AI8.2K tokensEmbedding$0.1275 / 1M tokens—
codestral-embed-2505

Prices are catalog rates. Your workspace’s estimate and endpoint pricing determine the final charge.

Input and Output Limits

Formats and limits AudioLab enforces on each request.

LimitValue
Dimensions3072
Max batch8
Max total tokens65536

Status

Current catalog availability. Your workspace’s access is checked separately before a request runs.

Getting Started

Use your workspace API key and the exact model identifier below. Set the API URL to the endpoint shown in your workspace and keep credentials on your server.

API
curl "$AUDIOLAB_API_URL/v1/embeddings" \
  -H "Authorization: Bearer $AUDIOLAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "mistral/codestral-embed",
  "input": "Build search with AudioLab.",
  "encoding_format": "float"
}'
Read the Endpoint Reference

Request Parameters

Available parameters depend on the provider and request format. The endpoint reference explains accepted values and required fields.

ParameterDetails
modelmistral/codestral-embed — Required model identifier.
inputView Accepted Values
encoding_formatView Accepted Values
dimensionsView Accepted Values

Input and Output Limits

Formats and limits AudioLab enforces on each request.

LimitValue
Dimensions3072
Max batch8
Max total tokens65536

Similar Models

Explore more embeddings and compare their capabilities.

ModelContextInput PriceOutput Price
codestral-embed-2505Mistral AI8.2K tokens$0.1275 / 1M tokens—
mistral-embed-2312Mistral AI8.2K tokens$0.085 / 1M tokens—
mistral-embed-2312Mistral AI8.2K tokens$0.085 / 1M tokens—
qwen3.7-text-embeddingAlibaba Cloud Model Studio128K tokens$0.0595 / 1M tokens—
nvidia/Nemotron-3-Embed-1B-BF16DeepInfra32.8K tokens$0.0128 / 1M tokens—
nvidia/Nemotron-3-Embed-1B-NVFP4DeepInfra32.8K tokens$0.0085 / 1M tokens—
View All Embeddings