Models/mistral/codestral-2508
mistral

codestral-2508

256K context$0.30/M input$0.90/M output
mistral/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)

Quick Start

curl https://router.tangle.tools/v1/chat/completions \
  -H "Authorization: Bearer $TANGLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mistral/codestral-2508",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Modalities

Input: TextInput: FileOutput: Text

Pricing

Input$0.30/M
Output$0.90/M
Context256K tokens

Model Info

Providermistral
IDmistral/codestral-2508