cloadyDocs
API ReferenceEndpointsPlatform

List the AI gateway's models

Every model the AI gateway knows, with list prices per million tokens and what it can do, and the providers behind them. Public: no token needed. The gateway charges these prices with no markup.

GET
/api/ai/models

Response Body

application/json

curl -X GET "https://example.com/api/ai/models"
{  "catalog": {    "checked": "2019-08-24",    "providers": [      {        "id": "string",        "name": "string",        "available": true      }    ],    "models": [      {        "id": "string",        "name": "string",        "provider": "string",        "context": "string",        "inputPerM": 0,        "outputPerM": 0,        "cachedInputPerM": 0,        "longPrompt": {          "above": 1,          "inputPerM": 0,          "outputPerM": 0,          "cachedInputPerM": 0        },        "caps": [          "tools"        ]      }    ]  }}