> ## Documentation Index
> Fetch the complete documentation index at: https://hub.hcompany.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> H Platform has three products: the Agents API (managed computer-use agents, base URL https://agp.eu.hcompany.ai/api/v2 or https://agp.hcompany.ai/api/v2 for the US), the Models API (OpenAI-compatible Holo vision-language models at https://api.hcompany.ai/v1), and HoloTab (a free no-code Chrome extension that runs Holo in the user's browser, with recordable routines and schedules). The `holo` CLI (`pip install "hai-agents[cli]"`) runs Agents API agents from a terminal, drives the user's own desktop with `-a h/holo-desktop`, and serves coding agents through `holo mcp`.
> Authenticate with a bearer API key from the HAI_API_KEY environment variable. SDKs: `pip install hai-agents` (Python, `from hai_agents import Client`) and `npm install hai-agents` (TypeScript, `import { HaiAgentsClient } from "hai-agents"`). CLI: `holo`.
> Agents do work in a browser or on a desktop; describe the task as an imperative instruction. To run a task quickly, prefer the pre-built agent `h/web-surfer-flash`. Read results from the session's `latest_answer` after it reaches a terminal status.
> Sessions are the unit of work; wait for a terminal status (completed, failed, timed_out, interrupted) before reading the answer. Use webhooks or the `changes` long-poll endpoint to follow progress.

# List models

> Served models, limits, pricing, and deprecation dates.

## Response

`200` with a list object whose `data` array contains one object per model. Model cards are on the [Quickstart](https://hub.hcompany.ai/models-api/overview.md#models).

**data\[].id** `string`

The model ID to pass as `model` in [Chat completions](https://hub.hcompany.ai/models-api/chat-completions.md), for example `holo4-27b`.

**data\[].name** `string`

Display name, for example `Holo3.1 35B A3B`.

**data\[].description** `string`

Short description of the model.

**data\[].context\_length** `integer`

Total context window in tokens.

**data\[].max\_output\_length** `integer`

Hard ceiling on output tokens per request. 8,192 on Holo3 and Holo3.1.

**data\[].input\_modalities** `string[]`

`["text", "image"]` for all Holo models.

**data\[].output\_modalities** `string[]`

`["text"]` for all Holo models.

**data\[].supported\_features** `string[]`

Capability flags: `reasoning` on every model, and `tools` for native function calling on every model except `holo3-122b-a10b`.

**data\[].supported\_sampling\_parameters** `string[]`

Accepted sampling fields, for example `temperature`, `top_p`, `top_k`, `max_tokens`, `stop`, `frequency_penalty`, `presence_penalty`, `seed`.

**data\[].pricing** `object`

Per-token USD rates as decimal strings.

**prompt** `string`

Per input token.

**completion** `string`

Per output token.

**input\_cache\_read** `string`

Per prompt token served from the [cache](https://hub.hcompany.ai/models-api/build-an-agent/core-concepts.md#prompt-caching).

**data\[].deprecation\_date** `string | null`

Set when the model is scheduled for removal, otherwise `null`. After removal, requests to the ID fail with `model_not_found`.

**data\[].is\_active** `boolean`

Whether the model is currently serving traffic.

**data\[].is\_ready** `boolean`

Whether the model is ready to accept requests right now.

```python Python theme={"system"}
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.hcompany.ai/v1/",
    api_key=os.environ["HAI_API_KEY"],
)

models = client.models.list()
for m in models.data:
    print(m.id)
```

```typescript TypeScript theme={"system"}
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.hcompany.ai/v1/",
  apiKey: process.env.HAI_API_KEY,
});

const models = await client.models.list();
for (const m of models.data) {
  console.log(m.id);
}
```

```bash cURL theme={"system"}
curl https://api.hcompany.ai/v1/models \
  -H "Authorization: Bearer $HAI_API_KEY"
```

```json 200 theme={"system"}
{
  "object": "list",
  "data": [
    {
      "id": "holo3-1-35b-a3b",
      "object": "model",
      "name": "Holo3.1 35B A3B",
      "description": "Holo3.1 35B (3B active) vision-language model optimized for GUI agents and computer use.",
      "context_length": 65537,
      "max_output_length": 8192,
      "input_modalities": ["text", "image"],
      "output_modalities": ["text"],
      "supported_features": ["reasoning", "tools"],
      "supported_sampling_parameters": ["temperature", "top_p", "top_k", "max_tokens", "stop", "frequency_penalty", "presence_penalty", "seed"],
      "pricing": {"prompt": "0.00000025", "completion": "0.0000018", "input_cache_read": "0.000000025"},
      "is_active": true,
      "is_ready": true,
      "deprecation_date": null
    }
  ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.