{"data":{"id":"mistralai/codestral-2508","provider_id":"mistralai","name":"Mistral: Codestral 2508","modalities":["text"],"context_window":256000,"family":"codestral-2508","status":"active","description":"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.\n\n[Blog Post](https://mistral.ai/news/codestral-25-08)","architecture":{"modality":"text+file->text","input_modalities":["text","file"],"output_modalities":["text"],"tokenizer":"Mistral","instruct_type":null},"supported_parameters":["frequency_penalty","max_tokens","prediction","presence_penalty","response_format","seed","stop","structured_outputs","temperature","tool_choice","tools","top_p"],"created_at":1754079630,"canonical_slug":"mistralai/codestral-2508","catalog_source":"openrouter","host_id":"openrouter","host_name":"OpenRouter","creator_id":"mistralai","creator_name":"Mistral AI","cheapest_provider":"mistralai","cheapest_provider_name":"Mistral AI","cheapest_price":0.45,"savings_pct":null,"savings_basis":null,"provider":{"id":"mistralai","name":"Mistral AI","website":"https://mistral.ai","categories":["text","image","audio"],"docs_url":"https://docs.mistral.ai","notes":"Mistral-hosted frontier, small, code, and embedding models.","role":"lab"},"prices":[{"id":1275,"model_id":"mistralai/codestral-2508","unit":"token","input_per_1m_usd":0.3,"output_per_1m_usd":0.9,"flat_usd":null,"currency":"USD","effective_at":"2026-10-08","source_url":"https://openrouter.ai/mistralai/codestral-2508","notes":"OpenRouter list rate. Token fields are USD per token converted to per 1M. Flat image, request, and web_search fields are USD per unit and are not rescaled. Cache read 0.03/1M.","last_verified_at":"2026-10-08T17:11:32.756Z","source":"openrouter","confidence":"official","cache_read_per_1m_usd":0.03,"cache_write_per_1m_usd":null,"cache_write_1h_per_1m_usd":null,"pricing_detail":null,"long_context_override":false}]}}