GET
/
models
/
v2
/
list
/
models
curl --request GET \
  --url https://api.bytez.com/models/v2/list/models \
  --header 'Authorization: <api-key>'
{
  "error": null,
  "output": [
    {
      "meter": "sm-free",
      "meterPrice": "0.0006478333 / sec",
      "modelId": "0-hero/Matter-0.1-Slim-7B-C",
      "params": 7.24,
      "ramRequired": 29,
      "task": "chat"
    }
  ]
}

Authorizations

Authorization
string
header
required

Set Authorization header to Key BYTEZ_KEY (e.g. 'Authorization': 'Key ABC123')

Query Parameters

task
string

The specific task type to filter models. Run list.tasks() for the full list. Some supported tasks include: audio-classification, audio-text-to-text, automatic-speech-recognition, chat, depth-estimation, document-question-answering, feature-extraction, fill-mask, image-classification, image-feature-extraction, image-segmentation, image-text-to-text, image-to-text, mask-generation, object-detection, question-answering, sentence-similarity, summarization, text-classification, text-generation, text-to-audio, text-to-image, text-to-speech, text-to-video, text2text-generation, token-classification, translation, unconditional-image-generation, video-classification, video-text-to-text, visual-question-answering, zero-shot-classification, zero-shot-image-classification, zero-shot-object-detection.

Example:

"chat"

Response

200
application/json
A successful response containing the list of models.
error
string

Null if everything is fine

Example:

null

output
object[]

An array of models