● Mistral · chat

Mistral Small 3.2

SAMPLE: Mistral's compact 24B model for fast, low-cost chat.

Input / 1M tokens$0.06
Output / 1M tokens$0.18
Context128K

Example: 1M input + 1M output tokens = $0.24

Call Mistral Small 3.2

OpenAI-compatible. Use any OpenAI SDK with the Keyra base URL and your key.

curl

curl https://api.keyra.example/v1/chat/completions \
  -H "Authorization: Bearer $KEYRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "mistral-small-3-2", "messages": [{"role": "user", "content": "Hello"}]}'

Python · openai SDK

import os
from openai import OpenAI

client = OpenAI(base_url="https://api.keyra.example/v1", api_key=os.environ["KEYRA_API_KEY"])

reply = client.chat.completions.create(
    model="mistral-small-3-2",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)

Related models

ModelCreatorTypeContextInput / 1MOutput / 1M
Gemma 3 27BGooglechat128K$0.09$0.17
Qwen3 32BQwenchat40K$0.10$0.30
Llama 3.3 70BMetachat128K$0.23$0.40