Codestral 2508

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

Contexto
256k tokens
Máx. completion
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",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Consigue tu API key

Preguntas frecuentes

¿Qué es Codestral 2508?
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 corre en el API de Geek Hub (compatible con OpenAI). Id: mistralai/codestral-2508.
¿Codestral 2508 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?
Codestral 2508 tiene una ventana de 256k tokens.
¿Codestral 2508 soporta tool calling y structured outputs?
Codestral 2508 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?
Codestral 2508 se lanzó el 1 de agosto de 2025.

Más modelos de Mistral