Skip to main content
GET
https://api.cerebras.ai
/
public
/
v1
/
models
curl -sS 'https://api.cerebras.ai/public/v1/models' | jq
{
  "object": "list",
  "data": [
    {
      "id": "llama3.1-8b",
      "object": "model",
      "created": 1234567890,
      "owned_by": "cerebras"
    },
    {
      "id": "llama-3.3-70b",
      "object": "model",
      "created": 1234567890,
      "owned_by": "cerebras"
    }
  ]
}
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 the format query parameter:
  • Default (Cerebras) - Native Cerebras format
  • OpenRouter - OpenRouter-compatible format
  • HuggingFace - HuggingFace-compatible format

Query Parameters

format
string
Response format. Options: openrouter, huggingface. Omit for default Cerebras format.

Response

Default Format

object
string
The object type, which is always list for list responses or model for single model responses.
data
array
Array of model objects (only in list responses).

OpenRouter Format

data
array
Array of model objects with extended metadata.

HuggingFace Format

data
array
Array of model objects.
curl -sS 'https://api.cerebras.ai/public/v1/models' | jq
{
  "object": "list",
  "data": [
    {
      "id": "llama3.1-8b",
      "object": "model",
      "created": 1234567890,
      "owned_by": "cerebras"
    },
    {
      "id": "llama-3.3-70b",
      "object": "model",
      "created": 1234567890,
      "owned_by": "cerebras"
    }
  ]
}

Retrieve Specific Model

You can also retrieve information about a specific model by appending the model ID to the endpoint:
GET https://api.cerebras.ai/public/v1/models/{model_id}

Path Parameters

model_id
string
required
The ID of the model to retrieve (e.g., llama3.1-8b, llama-3.3-70b, qwen-3-32b, gpt-oss-120b).
curl -sS 'https://api.cerebras.ai/public/v1/models/llama3.1-8b' | jq
{
  "id": "llama3.1-8b",
  "object": "model",
  "created": 1234567890,
  "owned_by": "cerebras"
}

Use Cases

Platform Integration - Use the OpenRouter or HuggingFace formats to integrate Cerebras models into existing platforms that support these standards. Model Discovery - Programmatically discover available models and their capabilities without authentication. Pricing Comparison - Compare pricing across different models using the structured pricing information. Feature Detection - Check which features (streaming, tools, JSON mode) are supported by each model.