Public models
GET
Retrieve details about publicly available Cerebras models without an API key, including context length, pricing, and supported features. This endpoint supports multiple response formats for compatibility with different platforms.
This endpoint is public and does not require an API key.
Supported Formats
The endpoint supports three response formats via theformat query parameter:
- Default (Cerebras) - Native Cerebras format
- OpenRouter - OpenRouter-compatible format
- HuggingFace - HuggingFace-compatible format
Query Parameters
Response format. Options:
openrouter, huggingface. Omit for default Cerebras format.Response
Default Format
The object type, which is always
list for list responses or model for single model responses.Array of model objects (only in list responses).
OpenRouter Format
Array of model objects with extended metadata.
HuggingFace Format
Array of model objects.
Retrieve Specific Model
You can also retrieve information about a specific model by appending the model ID to the endpoint:Path Parameters
The ID of the model to retrieve (e.g.,
gpt-oss-120b, zai-glm-4.7).
