opendunes

GPT-5.1-Codex-Max

by OpenAIReleased 4 December 2025

GPT-5.1-Codex-Max reads text and pictures and writes text back, keeping about 400 pages in mind. It is the Codex model for software jobs that run long and hold a lot in mind, built on an updated 5.1 thinking base and trained on work in engineering, mathematics and research that it carries out step by step on its own. Use it for an assistant that works through a large codebase for hours. GPT-5.1-Codex is the standard one, and GPT-5.1-Codex-Mini the smaller.

TakesTextImages
GivesText

What it costs

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

≈ 2,08 DA per message3 000 DA buys about 1 400 messages

One message, the ordinary use

1 000 tokens sent× 416,04 DA per 1M0,42 DA
500 tokens back× 3 328,36 DA per 1M1,66 DA
Total≈ 2,08 DA

Every rate

Meter↑ you send↓ comes back
Text tokens416,04 DA3 328,36 DA
Cached tokens read41,60 DA

per 1M tokens

Web search · 3,33 DA per call

Explain a stack trace and suggest a fix≈ 2,29 DA
Write a one-page technical note≈ 3,25 DA
Review a 300-line pull request≈ 4,66 DA
Write a unit test file for one module≈ 6,03 DA
Refactor a 200-line function≈ 9,57 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.

Azure…
↑ Sent, per 1M
416,04 DA
↓ Back, per 1M
3 328,36 DA
Cache read
41,60 DA
Latency
…
Throughput
…
Provider↑ Sent↓ BackCache readLatencyThroughputUptime
Azure416,04 DA3 328,36 DA41,60 DA………

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

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

See it in action

Real requests, real replies. Try any of them yourself — one click, pre-filled.

Understands images
You send

What's the total on this invoice, and when is it due?

invoice-scan.jpg · photo
It replied

The total is 42 300,00 DA, due 5 September 2026. Worth a double-check: the handwritten day could read as 8 instead of 3.

Try in Chat Lab
Structured output
You send

Turn this customer email into JSON with intent, urgency and order_id.

customer-email.txt
It replied

{ "intent": "refund", "urgency": "high", "order_id": "OD-58421" }

Try in Chat Lab

Try your own request — same model, pre-selected.

Open Chat Lab

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/gpt-5.1-codex-max
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/gpt-5.1-codex-max",
    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.

seed

Reasoning

Let it think before answering — and see the thinking.

reasoningreasoning_effortinclude_reasoning

Structured output

Get JSON you can parse instead of prose.

response_formatstructured_outputs

Tools

Let the model call your functions.

toolstool_choice

Other

Also accepted by this model.

max_completion_tokensverbosity

Questions about GPT-5.1-Codex-Max

  • How much does GPT-5.1-Codex-Max cost in dinars?

    About 2,08 DA per message. ↑ 416,04 DA · ↓ 3 328,36 DA per 1M tokens.

  • Is GPT-5.1-Codex-Max free? Can I try it?

    No. You pay per use from your balance, with no subscription. Try it in Chat at the same price.

  • What is GPT-5.1-Codex-Max best for?

    GPT-5.1-Codex-Max reads text and pictures and writes text back, keeping about 400 pages in mind. It is the Codex model for software jobs that run long and hold a lot in mind, built on an updated 5.1 thinking base and trained on work in engineering, mathematics and research that it carries out step by step on its own. Use it for an assistant that works through a large codebase for hours. GPT-5.1-Codex is the standard one, and GPT-5.1-Codex-Mini the smaller.

  • GPT-5.1-Codex-Max or GPT-5.1?

    GPT-5.1 costs the same for the same message.

  • How do I pay for GPT-5.1-Codex-Max without an international card?

    Deposit dinars with your Edahabia or CIB card. Every model, GPT-5.1-Codex-Max included, is paid from that balance. No foreign card, no conversion.

  • Does GPT-5.1-Codex-Max work in Arabic, French or Darja?

    OpenAI names no languages for GPT-5.1-Codex-Max. Arabic, French and Darja: not stated.

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

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

  • Is GPT-5.1-Codex-Max open source?

    No. OpenAI has not published its weights.

  • Who makes GPT-5.1-Codex-Max, and when was it released?

    OpenAI. Released 4 December 2025. It knows the world up to September 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