Docs / API reference / Models

Models

Live open-weight model discovery for the curated /oss catalog.

gethttps://api.opengateway.one/oss/v1/models

Returns OpenAI-style model list objects. Agents use this to populate their pickers โ€” the same data as the models page. There is no request body, and results reflect live provider telemetry refreshed by the gateway cron.

Request

curl
curl https://api.opengateway.one/oss/v1/models \
  -H "Authorization: Bearer $OPENGATEWAY_API_KEY"

Response

json
{
  "object": "list",
  "data": [
    {
      "id": "claude-sonnet-4-7",
      "object": "model",
      "owned_by": "opengateway",
      "context_window": 256000,
      "capabilities": ["chat", "coding", "agentic-coding"]
    }
  ]
}
Two shapes, one path

Anthropic-style clients (sending anthropic-version or x-api-key) receive the Anthropic list shape from this same path. See Model discovery.

List from an SDK

python ยท openai sdk
from openai import OpenAI

client = OpenAI(base_url="https://api.opengateway.one/oss/v1", api_key="YOUR_KEY")
for m in client.models.list().data:
    print(m.id)