ModelInfo
English
All models

Codestral

Our cutting-edge language model for coding. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation.

Mistral AIcodestral-25012025-01-13Report incorrect data

Specs

Context
131.1K
Max output
—
Input price
—
Output price
—
Released
2025-01-13

Context

Context window
131.1K
Max input
—
Max output
—

Pricing

Not published

Modalities

Input
Text
Output
Text

API

API types
chatbatch

Reasoning

Not published

Info

Status
Retired
Released
2025-01-13
Knowledge cutoff
—

Features

Confirmed
toolsstructured_outputbatch
Source · official docsVerified 2026-10-11

How to call

1 provider

mistralmodel = codestral-2501

chat
POSThttps://api.mistral.ai/v1/chat/completions
batch
POSThttps://api.mistral.ai/v1/batch

JSON

Standard format
codestral-2501.json
{
  "id": "codestral-2501",
  "object": "model",
  "created": 1736726400,
  "owned_by": "mistral",
  "name": "Codestral",
  "api": {
    "types": [
      "chat",
      "batch"
    ]
  },
  "limits": {
    "context": 131072,
    "input": null,
    "output": null
  },
  "modalities": {
    "input": [
      "text"
    ],
    "output": [
      "text"
    ]
  },
  "reasoning": {
    "supported": null,
    "efforts": []
  },
  "pricing": null,
  "features": [
    "tools",
    "structured_output",
    "batch"
  ],
  "info": {
    "status": "retired",
    "release_date": "2025-01-13",
    "knowledge_cutoff": null,
    "description": "Our cutting-edge language model for coding. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation.",
    "docs": "https://docs.mistral.ai/models/codestral-25-01",
    "verified_at": "2026-10-11"
  }
}

Official sources

3