# Get a model

> Get one model by id: its endpoint, price, status and the inputs it expects (cameras, state and action layout).

`GET https://api.openrobotics.dev/v1/models/{provider}/{name}`

No key needed. The model id is `provider/name`, so it fills two path segments: `GET /models/physical-intelligence/pi0`. Check `inputs` before building a request for a model you haven't used.

## Path parameters

- `provider` (string, required): The part of the id before the slash, e.g. `physical-intelligence`.
- `name` (string, required): The part after it, e.g. `pi0`.

## Response

- `data` (object): The model.
  - `id` (string): What you send as `model`, e.g. `physical-intelligence/pi0`.
  - `name` (string): Display name.
  - `provider` (string): Who made it.
  - `type` (string): `"VLA"`, `"World model"`, `"Vision encoder"`, `"Perception"` or `"Embodied reasoning"`.
  - `task` (string | null): For perception, reasoning and world models, e.g. `"Depth"` or `"Video prediction"`.
  - `endpoint` (string | null): The endpoint to call, e.g. `"act"` or `"segment"`.
  - `status` (string): `"live"`: callable. `"simulated"`: coming soon. `"excluded"`: listed but not served (see `excluded_reason`).
  - `price` (number): US dollars per 1,000 calls (for `predict`: per 1,000 clips).
  - `latency_ms` (integer): Typical time per call once a GPU is warm.
  - `embedding_dim` (integer | null): Vision encoders: the embedding width.
  - `params` (string): Parameter count, e.g. `"3.3B"`.
  - `action` (string): VLAs: how actions are produced.
  - `embodiments` (string[]): Robots or benchmarks it was trained for.
  - `inputs` (object | null): What a request to this model needs, or `null` when it takes the endpoint's plain request. Fields appear when they apply; read them as hints, since more may be added.
    - `cameras` (object[]): The `observation.images` keys it reads: `name`, `required` and `description`, e.g. `{ "name": "wrist", "required": true }`.
    - `state` (object): What it expects in `observation.state`: `dim` (0 means send none), `layout` (one name per number), `units`.
    - `action` (object): Each returned action row: `dim`, `layout`, `units`, and `horizon.max` (the most rows one call returns). `horizon.default`, when present, is how many rows the model's own evaluation executes per call.
    - `instruction` (string): `"required"`, `"optional"` or `"unused"`.
    - `fields` (object[]): Extra request fields this model takes: `name` (a dotted path, e.g. `observation.history`), `required`, `description`.
    - `notes` (string): Anything else worth knowing, including what couldn't be determined.
  - `license` (string | null): License of the served weights.
  - `checkpoint` (string | null): The exact checkpoint served.
  - `open_weights` (boolean): Whether the weights are public.
  - `released` (string | null): First release, `"YYYY-MM"`.
  - `source` (string | null): Paper, model card or announcement.
  - `description` (string): A short description.
  - `excluded_reason` (string | null): Why an excluded model isn't served.
  - `pack` (string | null): The worker pack that serves it on GPUs.

## Errors

- `404`: No model with this id (`not_found_error`)

Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors).

## Example request

cURL:

```bash
curl https://api.openrobotics.dev/v1/models/physical-intelligence/pi0
```

Python:

```python
import requests

model = requests.get("https://api.openrobotics.dev/v1/models/physical-intelligence/pi0").json()["data"]
print(model["status"], model["inputs"])
```

TypeScript:

```typescript
const { data: model } = await fetch("https://api.openrobotics.dev/v1/models/physical-intelligence/pi0").then((r) => r.json());
```

## Example response

```json
{
  "data": {
    "id": "physical-intelligence/pi0",
    "name": "π0",
    "provider": "Physical Intelligence",
    "type": "VLA",
    "task": null,
    "endpoint": "act",
    "status": "live",
    "price": 0.4,
    "latency_ms": 73,
    "embodiments": ["LIBERO"],
    "inputs": {
      "cameras": [
        { "name": "agentview", "required": true },
        { "name": "wrist", "required": true }
      ],
      "state": {
        "dim": 8,
        "layout": ["eef_x", "eef_y", "eef_z", "eef_axis_angle_x", "eef_axis_angle_y", "eef_axis_angle_z", "gripper_qpos_left", "gripper_qpos_right"]
      },
      "action": {
        "dim": 7,
        "layout": ["delta_x", "delta_y", "delta_z", "delta_axis_angle_x", "delta_axis_angle_y", "delta_axis_angle_z", "gripper"],
        "horizon": { "max": 50 }
      },
      "instruction": "required"
    },
    "license": "Gemma Terms of Use"
  }
}
```
