DzRouter

GPT 4.1 Mini

VisionTool use

OpenAI's balanced small model with a massive 1M token context window. Offers great performance at low cost, beating GPT-4o in many benchmarks.

Model id — paste this in your code
openai/gpt-4.1-mini

Pricing · per 1M tokens

Show prices in
Input120 DA$0.48
Output480 DA$1.92
Cached input30 DA$0.12
Context window1.05MMax output: 33K

Capabilities

  • Vision — Understands images and documents you send
  • 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="openai/gpt-4.1-mini",
    messages=[{"role": "user", "content": "Salam!"}],
)
print(reply.choices[0].message.content)
Create a free account

More from OpenAI

Start building with AI today

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

Create a free account