gpt-4.1-mini - API in Egypt, billed in EGP

Live
OpenAI

GPT-4.1 Mini is a mid-sized model delivering performance competitive with GPT-4o at substantially lower latency and cost. It retains a 1 million token context window and scores 45.1% on hard

Modality

Chat

Context window

1M tokens

Max output

33K tokens

Region

US

Published

Jul 14, 2026

Pricing

Input

22.88

EGP per 1M tokens

Output

91.52

EGP per 1M tokens

Monthly cost example

2,516.8 EGP

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

Use it via the API

gpt-4.1-mini 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-4.1-mini",
    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-4.1-mini cost?

22.88 EGP per 1M input tokens; 91.52 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-4.1-mini?

gpt-4.1-mini supports a context window of 1,047,576 tokens (1M), with up to 32,768 output tokens per response.

Where is gpt-4.1-mini hosted?

gpt-4.1-mini is served from US (US-hosted inference).

How do I use gpt-4.1-mini via the API?

gpt-4.1-mini 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-4.1-mini" and your API key.