# Models

> Find a model, check that it's live, and call the endpoint that serves it.

## Model ids

A model id is `provider/name`, for example `physical-intelligence/pi0` or `meta/sam-3`. Send it as `model` in the request body. Browse them on the [models page](https://www.openrobotics.dev/models), list them with [`GET /models`](https://www.openrobotics.dev/docs/api/list-models) (filter with `?status=live&endpoint=act`, `type`, `provider` or `q`), or fetch one with [`GET /models/{id}`](https://www.openrobotics.dev/docs/api/get-model).

## What a model needs

Every model of a kind takes the same request, but models differ in which cameras they read, how long their state vector is and what each action row means. The `inputs` field of a model says so, or is `null` when the endpoint's plain request is all it needs. For example, a VLA trained on LIBERO:

- `cameras`: `agentview` (required) and `wrist` (optional), the names to use in `observation.images`;
- `state`: 8 numbers, with a `layout` saying what each one is;
- `action`: 7 numbers per row, and a `horizon` with the default and largest chunk;
- `instruction`: whether a language instruction is required;
- `notes`: anything else worth knowing.

Fields appear only when they apply, and more may be added, so read them as hints.

```bash
curl -s https://api.openrobotics.dev/v1/models/physical-intelligence/pi0 | jq .data.inputs
```

## Types and endpoints

Each model's `endpoint` field says which endpoint serves it. Calling the wrong one returns `400` with a message naming the right one.

| Type | Endpoint |
| --- | --- |
| VLA | [`/act`](https://www.openrobotics.dev/docs/api/act) |
| World model (video, latent or action-conditioned prediction) | [`/predict`](https://www.openrobotics.dev/docs/api/predict), as a job |
| Other world models | [`/act`](https://www.openrobotics.dev/docs/api/act) |
| Vision encoder | [`/embed`](https://www.openrobotics.dev/docs/api/embed) |
| Perception: depth | [`/depth`](https://www.openrobotics.dev/docs/api/depth) |
| Perception: segmentation | [`/segment`](https://www.openrobotics.dev/docs/api/segment) |
| Perception: detection | [`/detect`](https://www.openrobotics.dev/docs/api/detect) |
| Perception: tracking | [`/track`](https://www.openrobotics.dev/docs/api/track) |
| Perception: 6D pose | [`/pose`](https://www.openrobotics.dev/docs/api/pose) |
| Perception: grasping | [`/grasp`](https://www.openrobotics.dev/docs/api/grasp) |
| Perception: hand pose | [`/hands`](https://www.openrobotics.dev/docs/api/hands) |
| Perception: 3D reconstruction | [`/reconstruct`](https://www.openrobotics.dev/docs/api/reconstruct) |
| Embodied reasoning | [`/reason`](https://www.openrobotics.dev/docs/api/reason) |
| Embodied reasoning: reward (task `"Reward"`) | [`/reward`](https://www.openrobotics.dev/docs/api/reward) |

## Status

Only live models can be called.

| `status` | Shown as | Meaning |
| --- | --- | --- |
| `live` | Live | A real model runs on a GPU. Callable. |
| `simulated` | Coming soon | Listed, not served yet. Calls return `400` and are never billed. |
| `excluded` | Not served | Listed, but its license doesn't allow serving it. `excluded_reason` says why. |

Python:

```python
import requests

models = requests.get(
    "https://api.openrobotics.dev/v1/models", params={"status": "live", "endpoint": "act"}
).json()["data"]
for m in models:
    print(m["id"], m["price"])
```

cURL:

```bash
curl -s "https://api.openrobotics.dev/v1/models?status=live" | jq -r '.data[].id'
```

## Checkpoints and embodiments

Each model id serves one checkpoint, named in `checkpoint`, and `embodiments` lists the robots or benchmarks it was trained for. A VLA works best on the robot, cameras and action space its checkpoint was trained on. For models that support several, pick one with [`embodiment`](https://www.openrobotics.dev/docs/api/act).

## Cold starts

GPUs start on demand and stop when a model is idle. The first call after a quiet spell returns `503` with `Retry-After` while one boots, usually for a few minutes. `latency_ms` in the catalog is the typical time per call once a GPU is warm.
