MistralFree
Devstral 2
mistralai/devstral-medium
A high-performance code-generation and agentic model developed by Mistral AI and All Hands AI (not a thinking/reasoning model).
Pricing
| Input | Freeper 1M tokens |
|---|---|
| Output | Freeper 1M tokens |
Specifications
| Context window | 256Ktokens |
|---|---|
| Max output | 16Ktokens |
| Provider | Mistral |
| Capabilities | Function calling |
| Input types | text |
Use Devstral 2
Point your existing OpenAI SDK at xKiro and pass mistralai/devstral-medium as the model. Nothing else in your code changes.
from openai import OpenAI
client = OpenAI(
base_url="https://api.xkiro.com/v1",
api_key="YOUR_XKIRO_KEY",
)
response = client.chat.completions.create(
model="mistralai/devstral-medium",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Supported parameters
max_tokens · temperature · top_p · stop · frequency_penalty · presence_penalty · seed · stream · tools · tool_choice · response_format · structured_outputs
Related models
- CodestralFree
- Ministral 3 14BFree
- Ministral 3 3BFree
- Ministral 3 8BFree
- Mistral Large 3Free
- Mistral Medium 3.5Free
Devstral 2 costs $0 per token on xKiro. Create a key and call it today.
Get an API key