Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Cerebras Systems Public Models API

The Public Models API from Cerebras Systems — 2 operation(s) for public models.

Cerebras Systems Public Models API is one of 5 APIs that Cerebras Systems publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Public Models. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, API documentation, and authentication docs.

This API exposes 2 operations across 2 paths, and defines 19 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://api.cerebras.ai.

2 operations 2 paths 19 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.cerebras.ai
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Cerebras Systems Public Models API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (BearerAuth). By default, every request must be authenticated.

  • BearerAuth — API key for authentication. Obtain your key from the Cerebras Cloud console and pass it as Authorization: Bearer YOURAPIKEY.

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Public Models 2
GET
/public/v1/models
List all available models
list_public_models_endpoint_public_v1_models_get 3 params → 200422
GET
/public/v1/models/{model_id}
Retrieve a specific model
get_public_model_public_v1_models__model_id__get 4 params → 200422

Schemas 19

The contract defines 19 schemas that model the data the API accepts and returns. The most detailed are PublicModel (16 properties), OpenRouterModel (15 properties), SupportedParameters (11 properties), ModelCapabilities (10 properties). Each schema is shown below with its type and property counts.

OpenRouterPricing
object
OpenRouter pricing format.
6 properties 2 required
HuggingFacePricing
object
HuggingFace pricing format - price in USD per million tokens.
2 properties 2 required
PublicModel
object
Complete model specification following OpenAI-compatible schema with extensions for OpenRouter/HuggingFace compatibility.
16 properties 10 required
ModelCapabilities
object
Capabilities and features supported by the model.
10 properties
HuggingFaceCapabilities
object
HuggingFace capabilities format.
4 properties
OpenRouterInfo
object
OpenRouter metadata.
1 property 1 required
DatacenterLocation
object
Datacenter location information.
1 property 1 required
ModelLimits
object
Rate limits and constraints for the model.
4 properties 2 required
ModelArchitecture
object
Architecture details of the model.
3 properties 2 required
PublicModelsListResponse
object
OpenAI-compatible list of models.
2 properties 1 required
OpenRouterModel
object
Model in OpenRouter-compatible format.
15 properties 6 required
HuggingFaceModel
object
Model in HuggingFace-compatible format for inference providers. This format is used by HuggingFace to power their provider comparison table and provider select…
8 properties 5 required
OpenRouterModelsResponse
object
OpenRouter-compatible list of models.
1 property 1 required
ValidationError
object
3 properties 3 required
SupportedParameters
object
Sampling parameters supported by the model.
11 properties
HTTPValidationError
object
1 property
ModelPricing
object
Pricing information for a model.
2 properties 2 required
HuggingFaceModelsResponse
object
HuggingFace-compatible list of models.
2 properties 1 required
ModelFormat
string
Output format for public models endpoint.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cerebras-systems-public-models-api-openapi.yml Raw ↑

Other APIs Cerebras Systems publishes across the network.

Cerebras Systems Chat API
Cerebras Systems Completions API
Cerebras Systems Models API
Cerebras Systems Tcp Warming API