API Reference

Models

The live catalog, one entry per served model, with context windows, capabilities, and supported parameters.

Endpoint
GET https://inference.pearlresearch.ai/v1/models

This is the OpenAI-compatible model list, extended with per-model metadata. It's the machine-readable companion to Choosing a model, poll it if your application selects models dynamically or wants to feature-detect before sending a request.

Example

curl https://inference.pearlresearch.ai/v1/models \
  -H "Authorization: Bearer $PEARL_API_KEY"
{
  "data": [
    {
      "id": "zai-org/GLM-5.2",
      "hugging_face_id": "zai-org/GLM-5.2",
      "name": "Z.AI: GLM-5.2",
      "created": 1781568000,
      "input_modalities": ["text"],
      "output_modalities": ["text"],
      "quantization": "fp8",
      "context_length": 1000000,
      "max_output_length": 1000000,
      "pricing": {"prompt": "…", "completion": "…", "input_cache_read": "…"},
      "supported_sampling_parameters": ["temperature", "top_p", "top_k",
        "frequency_penalty", "presence_penalty", "stop", "seed", "max_tokens"],
      "supported_features": ["tools", "json_mode", "reasoning"],
      "description": "GLM-5.2 on the Pearl inference network."
    }
  ]
}

Entry fields

FieldTypeNotes
idstringThe value you pass as model in requests.
namestringHuman-readable display name (also used in the dashboard).
hugging_face_idstringThe upstream open-weight checkpoint the deployment serves.
createdintegerUnix timestamp of the model's release.
input_modalitiesstring[]What the model accepts, text, plus image on vision models. Check this before sending multimodal content.
output_modalitiesstring[]All catalog models output text.
quantizationstringServing precision (fp8, int8).
context_lengthintegerMaximum tokens (prompt + response) per request.
max_output_lengthintegerCeiling for generated tokens, the effective upper bound for max_tokens.
pricingobjectprompt / completion / input_cache_read (the discounted cached-input rate) as USD-per-token strings. Your organization's billed rates are on the dashboard Models page.
supported_sampling_parametersstring[]The authoritative per-model list of accepted sampling parameters (e.g. whether min_p is available).
supported_featuresstring[]Capability flags: tools, json_mode, reasoning. The model guide documents verified capability per model.

Treat context_length, max_output_length, and supported_sampling_parameters as the source of truth for request limits, they change when the catalog changes, without a docs release.

Models, API reference, Pearl Inference Docs