OP Inference
API reference

List a model's providers

GET
/v1/models/{id}/endpoints

Every provider that serves the model for your key, with what you pay through it and its own rate, sorted by provider. A tool answers 404.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Your API key, sent as Authorization: Bearer <key>.

Path Parameters

id*string

The model id, in author/slug form.

Response Body

The model's providers.

application/json
  1. response
object*string
model*string
data*array<>
curl -X GET "https://example.com/v1/models/openai/gpt-oss-120b/endpoints" \  -H "Authorization: Bearer $OP_API_KEY"
{  "object": "list",  "model": "string",  "data": [    {      "provider": "string",      "provider_name": "string",      "region": "string",      "status": "active",      "context_length": 0,      "max_output_tokens": 0,      "quantization": "string",      "data_policy": {        "zdr": true,        "trains_on_inputs": true,        "retention_days": 0      },      "billed_at": "list",      "pricing": {        "price_version": "string",        "currency": "string",        "rules": [          {            "unit": "string",            "match": {              "property1": "string",              "property2": "string"            },            "per": 0,            "usd": 0          }        ]      },      "supplier_pricing": {        "price_version": "string",        "currency": "string",        "rules": [          {            "unit": "string",            "match": {              "property1": "string",              "property2": "string"            },            "per": 0,            "usd": 0          }        ]      }    }  ]}