Register a custom model
The quickest way is in the dashboard. Open Models in platform.opper.ai, choose Create → BYOK model, and fill in:
Save it, then call the model by its name like any other:
Custom models belong to your organization, and each name can be used once in it. Pick a name no catalog model uses: when a name matches both, the catalog model is the one called.
Custom models and Model access rules
Every Model access rule blocks custom models by default. Opper cannot check where a custom model runs or how your provider account handles data, so its location and data handling are only what you declare. Registering still succeeds, and a call to a blocked custom model answers 403. An Owner or Admin can turn a custom model on in a rule, one rule at a time: open Rules → Model access and use the switch next to the model under Custom models. A model turned on skips that rule’s requirements (location, data handling, pinned endpoints), and only that rule’s. When an organization rule and a project rule both apply to a call, both must allow the model. The allowance trusts the model’s settings at the moment it was turned on. Changing the model’s identifier, endpoint (API URL) or region turns it off until an Owner or Admin turns it on again. Its name, API version and credentials can change without affecting it. On the Models page, a custom model that a rule blocks says so and links to Rules.What your endpoint needs
An endpoint you set must use HTTPS, and its hostname must resolve only to public IP addresses.http:// URLs, localhost, and private or link-local addresses are refused, so a server on a private network has to be reachable at a public HTTPS address first.
Registering makes one short test call to the model with your credentials. If that call fails, you get a 400 with the reason and nothing is saved.
Register from the API or CLI
If you’d rather automate it, the API takes these fields:
The CLI takes
name, identifier, and api_key as arguments, and extra as --extra.
- cURL
- CLI
What’s next
Models
The full catalog of built-in models.
AI Gateway
How routing and model selection fit together.