Back to models

Codestral

State-of-the-art model for code generation

Context window32,000 tokens
Max output tokens8,192 tokens

Pricing

TypeInputOutput
Standard$0.30 / 1M tokens$0.90 / 1M tokens

Parameters

ParameterDefaultRange
Max stop sequences0

Supported features

Capabilities

  • Streaming
  • Function Calling
  • Json Mode
  • System Prompt

Endpoints

  • Chat Completions

Use cases

  • text-chat
  • function-calling

Model specifications

Model IDcodestral-latest
FamilyCodestral
Access typeClosed
Input modalitiestext
Output modalitiestext
Last updatedDecember 31, 2025