DzRouter

Magistral Small 1.2

ReasoningTool use

Mistral's reasoning-focused small model with vision capabilities. Optimized for step-by-step reasoning tasks.

Model id — paste this in your code
mistralai/magistral-small-1.2

Pricing · per 1M tokens

Show prices in
Input150 DA$0.6
Output450 DA$1.80
Cached input150 DA$0.6
Context window128KMax output: 40K

Capabilities

  • Reasoning — Thinks step by step before answering
  • Tool use — Can call your functions / tools

Estimate your cost

Estimated cost

Use this model

Create an account, top up in dinars and call it with your key:

from openai import OpenAI

client = OpenAI(
    base_url="https://dzrouter.com/v1",
    api_key="sk-dz-…",
)

reply = client.chat.completions.create(
    model="mistralai/magistral-small-1.2",
    messages=[{"role": "user", "content": "Salam!"}],
)
print(reply.choices[0].message.content)
Create a free account

Start building with AI today

Create your account, top up from 500 DA and send your first request in minutes.

Create a free account