MODELS / MISTRAL

Mistral Codestral

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.

TEXTTOOL-USE
128K
CONTEXT WINDOW
4K
MAX OUTPUT TOKENS
$0.3 / 1M tokens
INPUT PRICE
$0.9 / 1M tokens
OUTPUT PRICE
QUICKSTART

Call it in one request.

OpenAI-compatible — change the base URL, and the setup is complete.

SHELL
curl https://enterprise.blackbox.ai/v1/chat/completions \
  -H "Authorization: Bearer $BLACKBOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "blackboxai/mistral/codestral",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": true
  }'
INPUT: textOUTPUT: textRELEASED: 2024-05-29