gpt-4 - API in Egypt, billed in EGP
LiveOpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning
Modality
Chat
Context window
8K tokens
Max output
4K tokens
Region
US
Published
Jul 14, 2026
Pricing
Input
1716.00
EGP per 1M tokens
Output
3432.00
EGP per 1M tokens
Monthly cost example
137,280 EGP
Illustrative estimate: 50M input + 15M output tokens per month at this model's catalog rates.
Use it via the API
gpt-4 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",
messages=[
{"role": "user", "content": "What are some fun things to do in Cairo?"}
],
)
print(response.choices[0].message.content)import OpenAI from "openai"
const client = new OpenAI({
baseURL: "https://backend.sovereigneg.com/v1",
apiKey: "YOUR_API_KEY",
})
const response = await client.chat.completions.create({
model: "gpt-4",
messages: [
{ role: "user", content: "What are some fun things to do in Cairo?" },
],
})
console.log(response.choices[0].message.content)curl https://backend.sovereigneg.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4",
"messages": [
{"role": "user", "content": "What are some fun things to do in Cairo?"}
]
}'Frequently asked questions
How much does gpt-4 cost?
1716.00 EGP per 1M input tokens; 3432.00 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?
gpt-4 supports a context window of 8,191 tokens (8K), with up to 4,096 output tokens per response.
Where is gpt-4 hosted?
gpt-4 is served from US (US-hosted inference).
How do I use gpt-4 via the API?
gpt-4 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" and your API key.