Models API

Query the public model registry exposed by the platform.

Endpoint

GET /api/v1/models

Example

curl https://your-domain.com/api/v1/models \
  -H "Authorization: Bearer $YOUR_API_KEY"

Response

{
  "object": "list",
  "data": [
    {
      "id": "openai/gpt-5",
      "object": "model",
      "owned_by": "openrouter",
      "display_name": "GPT-5",
      "category": "chat",
      "capabilities": ["chat", "reasoning"],
      "credit_cost": 3
    }
  ]
}