opendunes
Documentation

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)
01

Create an API key

Generate a key from your dashboard — one key, every model.

02

Set the base URL

Point your SDK at https://opendunes.com/v1.

03

Pick a model slug

Copy any slug from the catalog and pass it as model.

Browse model slugs
Reference

Explore the docs