List Models

get/v1/models

Query parameters

format'default' | 'openrouter' | 'huggingface'

Output format for public models endpoint.

Output format: 'default' (OpenAI-compatible), 'openrouter', or 'huggingface'

Headers

X-Amz-Cf-Idstring nullable
CF-RAYstring nullable

Response

Successful Response

OR
OR

Changes

Changed in 1 of the 51 revisions of this API.212

  • 130749c46caf212See the full diff
    • the response's body type/format changed from object/ to / for status 200

      response-body-type-changed

    • removed the required property data from the response with the 200 status

      response-required-property-removed

    • removed the optional property object from the response with the 200 status

      response-optional-property-removed

    • added the new optional query request parameter format

      new-optional-request-parameter

    • added ModelMetadataList OpenRouterModelsResponse HuggingFaceModelsResponse to the response body anyOf list for the response status 200

      response-body-any-of-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 51 revisions, 49 have no diff computed.