DzRouter

OpenAI o4-mini

VisionReasoningTool use

OpenAI's latest small o-series reasoning model, optimized for fast, effective reasoning across coding, math, and visual tasks.

Model id — paste this in your code
o4-mini

Pricing · per 1M tokens

Show prices in
Input330 DA$1.32
Output1,320 DA$5.28
Cached input82.5 DA$0.33
Context window200KMax output: 100K

Capabilities

  • Vision — Understands images and documents you send
  • 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="o4-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