Codestral 2508 (batch)

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)

ChatMistral256k tokens$0.327 / $0.9811 · 1M

mistralai/codestral-2508:batch

Contexto
256k tokens
Máx. completion
204,800
Tools
JSON
Lanzamiento
2025-08-01

Llámalo desde Geek Hub

El mismo SDK de OpenAI. Cambia el base URL y el id del modelo.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mistralai/codestral-2508:batch",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Consigue tu API key

Preguntas frecuentes

¿Qué es Codestral 2508 (batch)?
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) Codestral 2508 (batch) corre en el API de Geek Hub (compatible con OpenAI). Id: mistralai/codestral-2508:batch.
¿Codestral 2508 (batch) es gratis?
No. El input cuesta $0.327 / 1M tokens y el output $0.9811 / 1M tokens en Geek Hub (markup incluido).
¿Cuál es el contexto de Codestral 2508 (batch)?
Codestral 2508 (batch) tiene una ventana de 256k tokens. Soporta hasta 204,800 tokens de completion.
¿Codestral 2508 (batch) soporta tool calling y structured outputs?
Codestral 2508 (batch) acepta tools y tool_choice para function calling. También soporta structured outputs con un JSON schema en response_format.
¿Cuándo se lanzó Codestral 2508 (batch)?
Codestral 2508 (batch) se lanzó el 1 de agosto de 2025.

Más modelos de Mistral