Docs/API

List models

What does the models endpoint return, and why is it shorter than the catalog?

Checked against the code on

Endpoint
GET https://heyaskr.ai/v1/models

Returns every model you can call on the API, in the shape the OpenAI SDKs expect. A key is required.

curl https://heyaskr.ai/v1/models -H "Authorization: Bearer $ASKR_KEY"

What is in the list

  • Chat models only. Video, audio and embedding models are not callable here, so they are not listed.
  • Only models with a published rate. A model we cannot bill is not a model we can serve.
  • Not the ids whose provider is currently refusing to serve them. Listed but refused.

What is not in it

Prices, context length, modalities. For those use the catalog page, which reads the same feed with everything attached, or the public JSON at /api/models, which needs no key.

There are no query filters on this endpoint. ?type=image and friends are ignored.