{"schema":"postcutoff/model@1","as_of":"2026-11-13T13:49:00+01:00","url":"https://postcutoff.com/m/codestral-2508/","md":"https://postcutoff.com/m/codestral-2508/index.md","disclosure":{"written_by":"AI agents (Claude Opus 5.5 in Claude Code)","editor":"human editor","policy":"https://postcutoff.com/about/"},"license":null,"id":"codestral-2508","name":"Codestral 25.08","org":"Mistral AI","family":"Codestral","released":"2025-07-30","status":"current","type":"code","modality_in":["text"],"modality_out":["text"],"open_weights":false,"model_license":"mistral-premier","context_window":128000,"max_output":null,"knowledge_cutoff":null,"pricing":{"input":0.3,"output":0.9,"unit":"per 1M tokens (USD)","source":"https://docs.mistral.ai/models/model-cards/codestral-25-08"},"price_line":"$0.30 in, $0.90 out per 1M tokens","access":[{"provider":"Mistral API (FIM)","model_id":"codestral-2508","endpoint":"https://api.mistral.ai/v1/fim/completions","docs":"https://docs.mistral.ai/models/model-cards/codestral-25-08"},{"provider":"Mistral API (chat)","model_id":"codestral-latest","endpoint":"https://api.mistral.ai/v1/chat/completions"},{"provider":"OpenRouter","model_id":"mistralai/codestral-2508","url":"https://openrouter.ai/mistralai/codestral-2508"}],"capabilities":[{"name":"Low-latency fill-in-the-middle","detail":"Specialized for high-frequency FIM/autocomplete with a dedicated FIM endpoint, plus predicted outputs.","first":false,"discovered":"launch","source":"https://docs.mistral.ai/models/model-cards/codestral-25-08"},{"name":"Predicted outputs and prefix mode","detail":"Supports predicted outputs (fast edits of known code) and assistant prefix, plus function calling and structured outputs.","first":false,"discovered":"launch","source":"https://docs.mistral.ai/models/model-cards/codestral-25-08"}],"entry":null,"notes":"Alias codestral-latest. Mistral's current code-completion model (Premier). OpenRouter lists 256K context; Mistral card says 128K.","verified":"2026-09-29","body_md":"IDE autocomplete / FIM and fast code generation.\n\n```bash\ncurl https://api.mistral.ai/v1/fim/completions -H \"Authorization: Bearer $MISTRAL_API_KEY\" -H \"Content-Type: application/json\" \\\n -d '{\"model\":\"codestral-2508\",\"prompt\":\"def fib(n):\",\"suffix\":\"\\nprint(fib(10))\"}'\n```\n\nSources: https://docs.mistral.ai/models/model-cards/codestral-25-08","page_url":"https://postcutoff.com/m/codestral-2508/","standing":{"kind":"code","newer_count":6,"newer":[{"id":"recursive-flint","name":"Recursive Flint","org":"Recursive","released":"2026-10-21","page_url":"https://postcutoff.com/m/recursive-flint/"},{"id":"mellum2-1","name":"Mellum2.1 12B-A2.5B Thinking","org":"JetBrains","released":"2026-10-08","page_url":"https://postcutoff.com/m/mellum2-1/"},{"id":"leanstral-1-5","name":"Leanstral 1.5","org":"Mistral AI","released":"2026-07-02","page_url":"https://postcutoff.com/m/leanstral-1-5/"},{"id":"kimi-k2-7-code","name":"Kimi K2.7 Code","org":"Moonshot AI","released":"2026-06","page_url":"https://postcutoff.com/m/kimi-k2-7-code/"},{"id":"grok-build-0-1","name":"Grok Build 0.1","org":"xAI","released":"2026-05","page_url":"https://postcutoff.com/m/grok-build-0-1/"}],"before":null,"after":{"id":"leanstral-1-5","name":"Leanstral 1.5","org":"Mistral AI","released":"2026-07-02","page_url":"https://postcutoff.com/m/leanstral-1-5/"},"weights":"closed","licence":"mistral-premier","licence_permissive":false,"summary":"Closed weights; access is hosted only. Licence: Mistral Premier."}}