Register and route to models hosted on your own infrastructure, accessible only to your API keys.
Not yet available.
Private models let you bring your own fine-tuned or self-hosted model endpoint into OpenDunes. Once registered, a private model behaves exactly like any model in the public catalog — same POST /v1/chat/completions endpoint, same DA billing, same streaming and error handling — but it is visible only to API keys in your account.
A private model is a named entry in your account that points to an external OpenAI-compatible endpoint you control. OpenDunes proxies requests to your endpoint, applies your account's DA billing, and returns responses in the standard shape.
Use cases include:
Registration is done through the dashboard at /dashboard/models (not yet available). You provide:
| Field | Description |
|---|---|
| Slug | A unique identifier under your namespace, e.g. my-org/my-model |
| Endpoint URL | The OpenAI-compatible base URL of your hosted model |
| Auth header | The Authorization value OpenDunes sends to your endpoint |
| Display name | Human-readable name shown in the catalog for your account |
| Context length | Max tokens your model supports (used for catalog display and routing guards) |
| Per-token pricing | Input/output DA rates per million tokens |
Note. Your endpoint must accept
POST /v1/chat/completionsin OpenAI-compatible format. Non-streaming and streaming (text/event-stream) are both supported.
Once registered, call your model the same way as any other:
Your model slug appears in the response model field, and requests are billed in DA at the rates you configured.
Private models are scoped to your account. They do not appear in the public GET /api/models catalog — they are only returned when queried with a valid API key from your account. Teammates with keys under the same account can use them; external developers cannot.
Billing for private model requests works the same as public models: input and output tokens are charged at your configured DA rate. Your DA balance is debited per request in micro-DA.
Requests to private models are proxied through OpenDunes' infrastructure before reaching your endpoint. If your endpoint is hosted in Algeria, the full request path stays within the country. If you need strict end-to-end residency for Law 18-07 compliance, ensure your endpoint's host is within an approved jurisdiction and that your OpenDunes account has data residency mode enabled (not yet available; ships alongside this feature).