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)
curl -X POST https://ai.layercloud.ir/ollama/v1/chat/completions \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "model": "mistral/codestral-latest", "messages": [{"role": "user", "content": "Hello!"}] }'
Get an API key
Read this page in plain markdown