codestral-latest
Codestral-latest is Mistral AI’s state-of-the-art open-weight language model built specifically for software development and code generation. It is fine-tuned to assist developers with code generation, completion, refactoring, and debugging across more than 80 programming languages.
Specifications
Benchmarks
Released 2023-12-11Graduate-level physics, chemistry & biology questions designed to resist Googling.
Artificial Analysis Intelligence Index — a composite of multiple evaluations measuring overall model capability.
Scores are sourced from official model cards, Artificial Analysis, and public leaderboards. Benchmarks measure specific skills and do not capture every aspect of model quality — always test on your own workload.
Pricing
Requesty charges exactly what the upstream provider charges — no markup, no per-request fees. Prompt caching and smart routing can reduce effective cost by 30-80%.
Quickstart
Drop-in compatible with the OpenAI SDK. Change the base URL, swap in your Requesty API key, and set the model to mistral/codestral-latest.
123456789101112131415from openai import OpenAI client = OpenAI( api_key="YOUR_REQUESTY_API_KEY", base_url="https://router.requesty.ai/v1", ) response = client.chat.completions.create( model="mistral/codestral-latest", messages=[ {"role": "user", "content": "Explain quantum computing in one paragraph."}, ], ) print(response.choices[0].message.content)
Other Mistral AI SAS models
Frequently asked questions
How much does codestral-latest cost?
What is the context window of codestral-latest?
How does codestral-latest perform on benchmarks?
What can codestral-latest do?
How do I use codestral-latest with the OpenAI SDK?
Access codestral-latest through Requesty
One API key, 400+ models, OpenAI-compatible. No markup on provider prices, automatic failover, and smart caching built-in.

