Build on 200+ models with one API
OpenDunes speaks the OpenAI API. Change two lines — the base URL and your key — and every model in the catalog is one call away, billed in Dinars.
Quickstart
Your first request
from openai import OpenAI
client = OpenAI(
base_url="https://opendunes.com/v1",
api_key="$OPENDUNES_API_KEY",
)
resp = client.chat.completions.create(
model="anthropic/claude-sonnet-5",
messages=[{"role": "user", "content": "Marhba! Dunes in one line?"}],
)
print(resp.choices[0].message.content)Reference
Explore the docs
Authentication
Bearer API keys, scoping, and rotation.
Models & pricing
Slugs, capabilities, and live DA rates.
Chat completions
The core endpoint, parameters, and messages.
Streaming (SSE)
Token-by-token responses for live UIs.
Rate limits
Per-key budgets, throttling, and headers.
Errors & retries
Status codes, error shapes, and backoff.