All models

codestral-2508

codestral-2508
StreamingTool callingJSON mode
Get API key

Overview

codestral-2508 is available on MAX API through the OpenAI-compatible API.

Pricing

Official list prices in USD. Token prices are per 1M tokens.
TierInputOutputCache read
All requests$0.3$0.9$0.03

Cache read applies to prompt tokens served from the prompt cache; cache write applies to tokens written into it.

Example request

curl https://clubs.byte-ai.cn/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "codestral-2508",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'