Skip to main content
GET
/
llm-provider
/
modals
List Providers with Models
curl --request GET \
  --url https://api.promptmetrics.dev/llm-provider/modals \
  --header 'Authorization: Bearer <token>'
{
  "responseData": [
    {
      "_id": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "models": [
        {
          "_id": "<string>",
          "name": "<string>",
          "model_id": "<string>",
          "context_length": 123,
          "input_cost": 123,
          "output_cost": 123
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Providers with models

responseData
object[]