AI/ML API
Mistral AI's official documentation describes Codestral 2508 (codestral-2508) as a cutting-edge language model for code completion released in July 2025, with a Premier tier blog entry from July 30, 2025. The model card lists pricing at $0.30 per million input tokens and $0.90 per million output tokens, in both USD and EUR, with a 128k context window. It emphasizes specialized use cases including fill-in-the-middle (FIM) and code generation tasks. The official page documents supported features and API endpoints: Structured Outputs, Function Calling, Predicted Outputs, Document QnA, Prefix, Batching, Chat Completions, and a dedicated FIM endpoint at /v1/fim/completions. These capabilities map to Mistral's /v1/chat/completions and /v1/conversations routes, plus the batch endpoint. The model is positioned for low-latency, high-frequency developer coding workflows within Mistral's Premier tier.
