gpt-5.1-codex-max - API in Egypt, billed in EGP

Live
OpenAI

GPT-5.1-Codex-Max is OpenAI’s latest agentic coding model, designed for long-running, high-context software development tasks. It is based on an updated version of the 5.1 reasoning stack and trained on agentic

Modality

Chat

Context window

400K tokens

Max output

128K tokens

Region

US

Published

20 Aug 2026

Pricing

Input

69.07

EGP per 1M tokens

Output

552.53

EGP per 1M tokens

Monthly cost example

11,741.19 EGP

Illustrative estimate: 50M input + 15M output tokens per month at this model's catalog rates.

Use it via the API

gpt-5.1-codex-max works with any OpenAI-compatible SDK — point the base URL at https://backend.sovereigneg.com/v1 and use your SovereignEG API key.

Run inference

OpenAI-compatible — POST /v1/chat/completions — drop-in for any OpenAI SDK.

from openai import OpenAI

client = OpenAI(
    base_url="https://backend.sovereigneg.com/v1",
    api_key="YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="gpt-5.1-codex-max",
    messages=[
        {"role": "user", "content": "What are some fun things to do in Cairo?"}
    ],
)

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

Frequently asked questions

How much does gpt-5.1-codex-max cost?

69.07 EGP per 1M input tokens; 552.53 EGP per 1M output tokens. Billing is metered per token in Egyptian pounds (EGP), with no minimum commitment.

What is the context window of gpt-5.1-codex-max?

gpt-5.1-codex-max supports a context window of 400,000 tokens (400K), with up to 128,000 output tokens per response.

Where is gpt-5.1-codex-max hosted?

gpt-5.1-codex-max is served from US (US-hosted inference).

How do I use gpt-5.1-codex-max via the API?

gpt-5.1-codex-max is available through the OpenAI-compatible SovereignEG API: point your SDK's base URL at https://backend.sovereigneg.com/v1 and call /v1/chat/completions with model "gpt-5.1-codex-max" and your API key.