opendunes

o4 Mini (batch)

by OpenAIReleased 16 April 2025

o4-mini reads text, pictures and files and writes back, keeping about 200 pages in mind at once. It is the small thinking model of its line: accurate on math and science, able to solve visual problems, edit code, use connected tools and fill in the exact form you give it, and quick enough for steady heavy traffic. It beats o3-mini and gets close to o3 in some areas.

TakesTextImagesFiles
GivesText

What it costs

You pay for what each request uses. No subscription, no minimum.

≈ 0,55 DA per message3 000 DA buys about 5 400 messages

One message, the ordinary use

1 000 tokens sent× 183,06 DA per 1M0,18 DA
500 tokens back× 732,24 DA per 1M0,37 DA
Total≈ 0,55 DA

Every rate

Meter↑ you send↓ comes back
Text tokens183,06 DA732,24 DA
Cached tokens read45,76 DA

per 1M tokens

Web search · 3,33 DA per call

Answer a quick question≈ 0,21 DA
Read an invoice photo and pull out the total≈ 0,34 DA
Explain a stack trace and suggest a fix≈ 0,71 DA
Solve a maths problem step by step≈ 1,15 DA
Review a 300-line pull request≈ 1,39 DA
When you pay
After the answer, from your balance. Nothing is held.
Why it varies
A longer question or a longer answer costs more.
After each one
The exact charge shows on the request.
DepositDeposits from 50 DA, with Edahabia or CIB.

Where your request runs

One company runs this model. OpenDunes sends every request to it. DA per 1M tokens: ↑ what you send · ↓ what comes back.

OpenAI…
↑ Sent, per 1M
183,06 DA
↓ Back, per 1M
732,24 DA
Cache read
45,76 DA
Latency
…
Throughput
…
Provider↑ Sent↓ BackCache readLatencyThroughputUptime
OpenAI183,06 DA732,24 DA45,76 DA………

Also charged: a web search 3,33 DA each.

You pay the price of the provider that served your request. Prices read 15:18 · speed over the last 30 minutes · uptime over 3 days.

Call it in code

Swap the base URL and the key. Your OpenAI code runs unchanged.

POST /v1/chat/completions
Base URL
https://opendunes.com/v1
Model ID
openai/o4-mini:batch
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://opendunes.com/v1",
    api_key=os.environ["OPENDUNES_API_KEY"],
)

resp = client.chat.completions.create(
    model="openai/o4-mini:batch",
    messages=[{"role": "user", "content": "Two lines to welcome a shop in Oran."}],
)

print(resp.choices[0].message.content)

Runs this request once on your balance.

Parameters you can send

Standard OpenAI fields, grouped by what they control. Anything not listed is accepted and ignored.

Shaping the reply

How long, how varied, where to stop.

max_tokensseed

Reasoning

Let it think before answering — and see the thinking.

reasoninginclude_reasoning

Structured output

Get JSON you can parse instead of prose.

response_formatstructured_outputs

Tools

Let the model call your functions.

toolstool_choice

Questions about o4 Mini (batch)

  • How much does o4 Mini (batch) cost in dinars?

    About 0,55 DA per message. ↑ 183,06 DA · ↓ 732,24 DA per 1M tokens.

  • Is o4 Mini (batch) free? Can I try it?

    No. You pay per use from your balance, with no subscription. Run it once from Call it in code, at the same price.

  • What is o4 Mini (batch) best for?

    o4-mini reads text, pictures and files and writes back, keeping about 200 pages in mind at once. It is the small thinking model of its line: accurate on math and science, able to solve visual problems, edit code, use connected tools and fill in the exact form you give it, and quick enough for steady heavy traffic. It beats o3-mini and gets close to o3 in some areas.

  • How do I pay for o4 Mini (batch) without an international card?

    Deposit dinars with your Edahabia or CIB card. Every model, o4 Mini (batch) included, is paid from that balance. No foreign card, no conversion.

  • Does o4 Mini (batch) work in Arabic, French or Darja?

    OpenAI names no languages for o4 Mini (batch). Arabic, French and Darja: not stated.

  • Can it read PDFs, images or a whole book?

    It reads text, images and PDFs. Up to 200K tokens in one request, about 200 pages. It writes up to 75 000 words at once.

  • Is o4 Mini (batch) open source?

    No. OpenAI has not published its weights.

  • Who makes o4 Mini (batch), and when was it released?

    OpenAI. Released 16 April 2025. It knows the world up to 30 June 2024.

Other OpenAI models, priced in dinars

See all OpenAI models
Text Embedding 3 SmallOpenAI · Oct 30, 2025

Text Embedding 3 Small turns text of up to about 8 pages into a fingerprint of its meaning, so search finds passages that mean the same thing even when the words differ. It replaces the older ada-002 and is the sensible default for search over your documents, grouping similar messages or labelling them.

8 pages per call
≈0,0067 DAper page
View model
GPT Image 2.5 SunburstOpenAI · Sep 9, 2026

GPT Image 2.5 Sunburst takes a written description, with optional reference pictures, and gives back an image, new or edited, as PNG, JPEG or WebP, with transparent backgrounds on PNG and WebP. It is the precision tier of the 2.5 series, for detailed creative work where an edit has to land exactly as asked, and it adds top quality settings named xhigh and max.

Up to 16 referencesTransparent background
≈4,38 DAper image
View model
GPT-6 Luna DecisionsOpenAI · Oct 6, 2026

GPT-6 Luna Decisions does not write text. You send content as text, a table of data or a picture, plus up to 200 named questions of three kinds: yes or no, pick among options, or grade against an ordered scale. It returns a probability for every answer, with the likeliest option or expected score, so your own system can set its thresholds for routing, moderation or marking.

1 050 pages per call
≈0,033 DAper case
View model
Text Embedding 3 LargeOpenAI · Oct 30, 2025

Text Embedding 3 Large turns text of up to about 8 pages into a fingerprint of its meaning, so search finds passages that mean the same thing even when the words differ. It is the most accurate of OpenAI's models of this kind, in English and other languages. Choose it when the quality of matches matters most, for search, grouping or labelling documents.

8 pages per call
≈0,043 DAper page
View model