All models
MistralFree

Codestral

mistralai/codestral-2508

Mistral's cutting-edge coding model for low-latency tasks such as fill-in-the-middle, code correction, and test generation.

Pricing

InputFreeper 1M tokens
OutputFreeper 1M tokens

Specifications

Context window256Ktokens
Max output16Ktokens
ProviderMistral
CapabilitiesFunction calling
Input typestext

Use Codestral

Point your existing OpenAI SDK at xKiro and pass mistralai/codestral-2508 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/codestral-2508",
    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

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

Get an API key