Public Models

List all available models

Changed on

List all publicly available models (modelVisibility='PUBLIC' only). Use the format parameter to get responses compatible with OpenRouter or HuggingFace APIs.

get/public/v1/models

Request

  • The document declares no server URL.
  • Auth
    HTTP bearer

Query parameters

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

Output format for public models endpoint.

Output format: 'default' (Cerebras schema), 'openrouter', or 'huggingface'

Headers

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

Response

Successful Response

OR
OR

Example response

{
  "data": [
    {
      "pricing": {
        "completion": "0.0000001",
        "prompt": "0.0000001"
      }
    }
  ]
}

Changes

    • breaking

      the query request parameter format was restricted to a list of enum values

    • breaking

      the /// response's property type changed from no type to object for status

    • breaking

      the /// response's property type changed from no type to object for status

    • breaking

      the /// response's property type changed from no type to object for status

    • breaking

      the /// response's property type changed from no type to object for status

    • breaking

      removed the required property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • info

      added the new enum value default to the query request parameter format

    • info

      added the new enum value huggingface to the query request parameter format

    • info

      added the new enum value openrouter to the query request parameter format

    • info

      for the query request parameter format, the type was generalized from no type to string

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      removed from the /// response property allOf list for the response status

    • info

      removed from the /// response property allOf list for the response status

    • info

      removed from the /// response property allOf list for the response status

    • info

      removed from the /// response property allOf list for the response status

    • info

      the response property /// became required for the status

    • info

      the response's property default value fp16 was added for the status

    • info

      removed the list enum value from the / response property for the response status

    • info

      removed the list enum value from the / response property for the response status

    • info

      removed the model enum value from the /// response property for the response status

    • info

      removed the model enum value from the /// response property for the response status

    • info

      response property anyOf[subschema #1: PublicModelsListResponse]/data/items/datacenter_locations list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property anyOf[subschema #2: OpenRouterModelsResponse]/data/items/max_output_length list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property anyOf[subschema #2: OpenRouterModelsResponse]/data/items/quantization list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      added the required property //// to the response with the status

    • info

      added the required property //// to the response with the status

    • info

      added the required property //// to the response with the status

    • info

      added the required property //// to the response with the status

    • info

      added the required property //// to the response with the status

    • info

      added the required property //// to the response with the status