Mistral · Balanced
Mistral Code Latest
Mistral Code Latest is Mistral's direct API alias for codestral-2508, a low-latency coding model for code generation, completion, fill-in-the-middle workflows, function calling, and structured output.
- Tools
- Structured output
- Input
- Text
- Output
- Text
- Discovery tier
- Balanced
Pricing
USD per 1M tokens- Input
- $0.30
- Output
- $0.90
Reference prices as published by the model provider. API example
Specifications
- Context window
- 256K
- Max output
- 32.8K
Side by side
Mistral Code Latest compared
Specifications, prices, speed and benchmark scores next to each other. Benchmarks below show every compared model too.
| Mistral Code LatestMistralThis model | GLM 4.1V Thinking FlashXZ.aiRemove | |
|---|---|---|
| Provider | Mistral | Z.ai |
| Discovery tier | Balanced | Balanced |
| Added | Jun 2, 2026 | Jul 9, 2025 |
| Limits | ||
| Context window | 256KBest | 64K |
| Max output | 32.77KBest | 8.19K |
| Pricing, USD per 1M tokens | ||
| Input | $0.30 | $0.30 |
| Output | $0.90 | $0.30Best |
| Capabilities | ||
| Tools | Yes | No |
| Vision | No | Yes |
| Structured output | Yes | No |
| Reasoning effort | — | — |
Public evaluations
Benchmarks
There are no public benchmark results for these models yet.
Live routing data
Performance and reliability
Recent averages across requests routed for this model. Your own speed depends on prompt length, reasoning effort and load.
- Prompt cache hits
- 0.0%
Cache hits are the share of input tokens recently served from a prompt cache across all requests. They are not a forecast of your own hit rate.
Developers
Use it through the API
Noumen’s API is OpenAI-compatible: any Chat Completions client works with a base URL and a key.
curl https://www.noumen.xyz/api/v1/chat/completions \
-H "Authorization: Bearer $NOUMEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "mistral-code-latest",
"messages": [{ "role": "user", "content": "Explain this stack trace." }]
}'import os
from openai import OpenAI
client = OpenAI(base_url="https://www.noumen.xyz/api/v1", api_key=os.environ["NOUMEN_API_KEY"])
reply = client.chat.completions.create(
model="mistral-code-latest",
messages=[{"role": "user", "content": "Explain this stack trace."}],
)
print(reply.choices[0].message.content)Mistral
Related models
Other Mistral models, starting with the same family.