Introduction
SovereignEG is the MENA region's AI inference API. Send an HTTP request with a prompt, get tokens back through one OpenAI-compatible API, and pay in Egyptian pounds.
Access today, sovereignty next. Standard requests route through vetted model providers; contact us for Egypt-hosted deployments when data residency is required.
What you can do
- Chat completions — text generation, reasoning, code, Arabic & multilingual conversation
- Embeddings — vector representations for search, RAG, and classification
- Pre-built agents — coming soon; not part of the generally available API yet
- Custom agents — coming soon; build against the OpenAI-compatible API today
Key concepts
| Concept | Description |
|---|---|
| API Key | A secret token (sk-xxx) that authenticates your requests. Create one in the dashboard. |
| Model ID | A string from GET /v1/models that selects which model processes your request. |
| Tokens | The unit of text processing. Roughly 1 token ≈ 4 characters in English, ~2 characters in Arabic. |
| Base URL | https://sovereigneg.com/v1 — OpenAI-compatible base URL for all API requests. |
Quick example
from openai import OpenAI
client = OpenAI(
api_key="sk-...",
base_url="https://sovereigneg.com/v1"
)
response = client.chat.completions.create(
model="...", # live id from GET /v1/models
messages=[
{"role": "user", "content": "Hello from Cairo!"}
]
)
print(response.choices[0].message.content)Yes — that's the standard OpenAI SDK. Change base_url, and you're running on SovereignEG. Zero code changes.
Why SovereignEG?
| SovereignEG | US-hosted providers | |
|---|---|---|
| API compatibility | OpenAI-compatible /v1 endpoints | Native provider-specific APIs |
| Billing | EGP credit balance and invoices | USD with FX exposure |
| Catalog | Live model list with EGP per-1M-token rates | Provider-specific pricing pages |
| Routing | Transparent standard routing today; Egypt-hosted option on request | US/EU-hosted defaults |
| Governance | Organizations, projects, keys, limits, and audit trails | Varies by provider |
Next steps
- Quickstart — make your first API call in 30 seconds
- Authentication — learn about API keys
- Models Overview — browse available models with pricing
- Agents — see what is coming soon