Build AI-powered apps with Africa's intelligence. Drop-in SDK compatible.
Build AI-powered applications with Uhuru's Chat Completions API. It implements the standard chat-completions wire format, so any SDK built for that format works by changing only the base URL and API key.
Generate an API key
Go to → API Keys and create a new key.
Make your first request
curl -X POST https://ucloud.orionx.xyz/functions/v1/uhuru-public-api/v1/chat/completions \
-H "Authorization: Bearer uhuru_sk_YOUR_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{
"model": "uhuru-4",
"messages": [
{"role": "user", "content": "Hello from Africa!"}
]
}'Or use a standard Python SDK
from openai import OpenAI
client = OpenAI(
api_key="uhuru_sk_YOUR_KEY_HERE",
base_url="https://ucloud.orionx.xyz/functions/v1/uhuru-public-api/v1",
)
response = client.chat.completions.create(
model="uhuru-4",
messages=[{"role": "user", "content": "Hello from Africa!"}],
)
print(response.choices[0].message.content)Regionally optimised responses with support for Setswana, Swahili, and more.
Implements the standard chat-completions format — existing Python & Node SDKs work unchanged.
Real-time SSE streaming with data: [DONE] termination.
SHA-256 hashed API keys, per-minute + monthly rate limiting, HTTPS only.
https://ucloud.orionx.xyz/functions/v1/uhuru-public-api/v1| Model | Description |
|---|---|
uhuru-4.5 | Deep-reasoning model — thinks before answering. Best for hard reasoning, analysis and long-form work. Up to 16k output tokens. |
uhuru-4 | Fast general model for chat and high-volume work. Up to 8k output tokens. Default model. |
uhuru-3.5 | Legacy compatibility ID — routes to the current fast general model. |
uhuru-3.1 | Legacy compatibility ID — routes to the current fast general model. |
| Tier | Per Minute | Per Month |
|---|---|---|
| Free | 10 requests | 1,000 requests |
| Essential | 10 requests | 10,000 requests |
| Pro | 10 requests | 100,000 requests |
| Plus | 10 requests | 500,000 requests |
Rate limit headers are included in every response: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset.