Skip to main content
GET
/
models
/
list
Models List
curl --request GET \
  --url https://api.example.com/models/list
[
  {
    "model_name": "<string>",
    "type": "<string>",
    "reported_type": "<string>",
    "pricing": {
      "cents_per_sec": 123,
      "short": "$0.15 / second",
      "full": "$0.15 / second for 1080P, $0.10 / second for 720P",
      "table": {
        "columns": [
          "resolution",
          "$ cost per second"
        ],
        "rows": [
          [
            "780P",
            "$0.10"
          ],
          [
            "1080P",
            "$0.15"
          ]
        ]
      },
      "type": "time"
    },
    "description": "",
    "cover_img_url": "",
    "tags": [
      "<string>"
    ],
    "max_tokens": 123,
    "replaced_by": "<string>",
    "deprecated": 123,
    "quantization": "<string>",
    "mmlu": 123,
    "expected": "<string>",
    "private": 0
  }
]

Response

200 - application/json

Successful Response

model_name
string
required

Model Name

Example:

"microsoft/resnet-50"

type
string
required

raw type of the model

Example:

"image-classification"

reported_type
string
required

reported type of the model

Example:

"text-generation"

pricing
ModelPricingTime · object
required

The pricing type and cost for this model

description
string
default:""

description of the model

Example:

"ResNet-50 is a convolutional neural network that is trained on more than a million images from the ImageNet database. It is a 50-layer deep neural network."

cover_img_url
string
default:""

cover image link

tags
string[]

list of tags

max_tokens
integer | null

The maximum context size of this model, if applicable

replaced_by
string | null
deprecated
integer | null
quantization
string | null
mmlu
number | null
expected
string | null
private
integer
default:0