All models
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

InputFreeper 1M tokens
OutputFreeper 1M tokens

Specifications

Context window256Ktokens
Max output16Ktokens
ProviderMistral
CapabilitiesFunction calling
Input typestext

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

Devstral 2 costs $0 per token on xKiro. Create a key and call it today.

Get an API key