Skip to main content
mistralai

Mistral: Codestral 2508

mistralai/codestral-2508

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)

Pricing via AICredits

Includes forex buffer + platform markup. Pay in INR via UPI, no international card needed.

Input tokens (per 1M)₹29.64($0.30 USD)
Output tokens (per 1M)₹88.91($0.90 USD)
Context window256K tokens
Vision (image input)✗ Not supported

Quick start

Use Mistral: Codestral 2508 via the AICredits OpenAI-compatible API:

curl https://api.aicredits.in/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "mistralai/codestral-2508",
    "messages": [
      {"role": "system", "content": "You are a helpful assistant."},
      {"role": "user", "content": "Hello!"}
    ]
  }'