Mistral AI · chat
codestral-2508
mistral/codestral-2508
- Input price
- $0.300 / 1M tokens
- Output price
- $0.900 / 1M tokens
- Context window
- 256K tokens
- Lifecycle
- stable
codestral-2508 for OpenAI-compatible gateway routing
codestral-2508 is a Mistral AI chat model in the Ferro Labs live catalog with a 256K tokens context window, 256K tokens maximum output, and capabilities including Function Calling, JSON Mode, and Response Schema, and more.
Token pricing is listed as $0.300 / 1M tokens for input tokens and $0.900 / 1M tokens for output tokens. Route calls through the Ferro Labs AI Gateway by sending model as mistral/codestral-2508 to the OpenAI-compatible chat completions endpoint. The catalog lists this model as stable for normal gateway routing.
OpenAI-compatible usage example
curl https://api.ferrolabs.ai/v1/chat/completions \
-H "Authorization: Bearer $GATEWAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "mistral/codestral-2508", "messages": [{"role": "user", "content": "Hello!"}]}'
Capabilities
- Function Calling
- JSON Mode
- Response Schema
- Streaming
Modalities
Input
- Text
Output
- Text
More from Mistral AI
Catalog prices may change. Verify current provider terms before purchasing.