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
Benchmarks haven't been published yet for this exact variant.
Some variants (region-specific deployments, highspeed tiers) share benchmarks with their base model — check the base model page or the Mistral AI SAS models overview.
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?
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.

