Back to Models
Mistral: Codestral 2508 AI Model Icon

Mistral: Codestral 2508

mistralai/codestral-2508

Description

Mistral's cutting-edge language model for coding released end of July 2025. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation. [Blog Post](https://mistral.ai/news/codestral-25-08)

API Usage Examples

OpenAI Compatible Endpoint

Use this endpoint with any OpenAI-compatible library. Model: Mistral: Codestral 2508 (mistralai/codestral-2508)

curl https://api.ridvay.com/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer YOUR_API_KEY"   -d '{
    "model": "mistralai/codestral-2508",
    "messages": [
      {
        "role": "user",
        "content": "Explain the capabilities of the Mistral: Codestral 2508 model"
      }
    ],
    "temperature": 0.7,
    "max_tokens": 1024
  }'

Supported Modalities

  • Text

API Pricing

  • Input: 0.3$ / 1M tokens
  • Output: 0.9$ / 1M tokens

Token Limits

  • Max Output: 256,000 tokens
  • Max Context: 256,000 tokens

Subscription Tiers

  • free
  • pro
  • ultimate