# Get actions

> Send a VLA model the robot's current observation and an instruction, and get back the next chunk of actions.

`POST https://api.openrobotics.dev/v1/act`

Call it in a loop: run the first few actions, take a new observation, and call again. Every VLA takes the same request, so switching models means changing `model`.

## Authorization

`Authorization: Bearer sk-orb-v1-…`, your [API key](https://www.openrobotics.dev/docs/authentication), or a free [test key](https://www.openrobotics.dev/docs/authentication#test-keys) (`sk-orb-test-…`; no account? get one with [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key)).

## Request body

JSON, with `Content-Type: application/json`.

- `model` (string, required): The VLA to run, e.g. `physical-intelligence/pi0`. The live models for this endpoint are listed below.
- `instruction` (string, required): The task in plain language, e.g. `"put the black bowl on the plate"`. 1–1,000 characters.
- `observation` (object): What the robot sees and feels now. Most models need at least one image. Images are base64 JPEG or PNG; all of them together must be under 4 MB of base64.
  - `image` (string): The main camera image.
  - `images` (object): Several cameras by name, e.g. `{ "agentview": "<base64>", "wrist": "<base64>" }`. 1–8 cameras; names are 1–64 letters, digits, `_`, `.` or `-`. Use the names in `inputs.cameras` of the model (`GET /v1/models`, also on its model page).
  - `state` (number[]): Proprioception: joint angles or end-effector pose, and gripper. Up to 128 numbers. Send exactly `inputs.state.dim` numbers in the order of `inputs.state.layout` (none when it is 0).
  - `depths` (object): Depth maps by camera name, keyed like `images`: 16-bit grayscale PNGs of depth in millimetres. 1–8 cameras, under 4 MB of base64 together.
  - `cameras` (object): Calibration by camera name, keyed like `images`: `{ intrinsics, extrinsics? }`, where `intrinsics` is a 3×3 pinhole matrix and `extrinsics` an optional 4×4 camera-to-robot transform. 1–8 cameras.
  - `history` (object): Past frames by camera name, keyed like `images`, oldest first, for models that look back in time (e.g. Alpamayo 2: the front cameras at −2, −1, −0.5 and −0.1 s, the others at −1 and −0.1 s). Up to 32 frames per camera, under 4 MB of base64 together.
  - `state_history` (number[][]): Earlier states, oldest first, for models that take a history (e.g. Alpamayo 2: the car's 19 previous poses `[x, y, z, yaw]`, 0.1 s apart, in the same frame as `state`; GEAR-SONIC: the 9 previous control ticks). Up to 32 rows of up to 128 numbers.
  - `reference` (number[][]): Reference frames a tracking controller follows, nearest first (e.g. GEAR-SONIC and GigaBrain-WBC: 10 frames of the humanoid's target joint positions and root motion; the layout is in the model's `inputs`). Up to 32 rows of up to 128 numbers.
  - `recurrent` (object): Stateful models only: the `recurrent` object of the model's previous answer, sent back unchanged to continue the rollout (e.g. COMPASS's world-model state, GigaBrain-WBC's 98,304-number attention cache). Up to 16 arrays of up to 131,072 numbers.
- `action_horizon` (integer): The most action steps to return, 1–100. Default `50`. A model whose chunk is shorter returns its whole chunk.
- `embodiment` (string): The robot or benchmark the actions are for, e.g. `"libero"`. It picks the checkpoint, cameras, state layout and action space for models that support several. A checkpoint trained on several datasets may also take a variant that selects one dataset's statistics, e.g. `"libero_spatial"` for OpenVLA-OFT (the model's inputs list them). Up to 64 letters, digits, `_`, `.` or `-`.

## Response

- `id` (string): Unique id of this call, e.g. `act_48213`. It matches the call in your Activity dashboard.
- `model` (string): The model that answered.
- `backend` (string): `"http"`: the real model ran on a GPU. `"simulated"`: stand-in output of the same shape, as test keys get.
- `sandbox` (boolean): `true` when the call was made with a [test key](https://www.openrobotics.dev/docs/authentication#test-keys): the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise.
- `actions` (number[][]): The action chunk: one row per time step, earliest first. The row layout is the model's action space (see its model page), often a 7-number end-effector delta and gripper command. Driving models return the planned trajectory: Alpamayo 2 gives one `[x, y, z, yaw]` pose per 0.1 s in the car's current frame (meters, x forward, y left; radians).
- `recurrent` (object): Stateful models only: the state to send back as `observation.recurrent` with the next observation (e.g. COMPASS, UniVLA, GigaBrain-WBC).
- `reasoning` (string): Reasoning models only: the explanation the model wrote before its actions (e.g. Alpamayo 2's driving reasoning).
- `usage` (object): What the call cost.
  - `cost_usd` (number): Charged to your credits, in US dollars.
  - `latency_ms` (integer): Time the model took, in milliseconds.

## Errors

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

## Example request

Python:

```python
import os, requests

res = requests.post(
  "https://api.openrobotics.dev/v1/act",
  headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"},
  json={
    "model": "physical-intelligence/pi0",
    "instruction": "put the black bowl on the plate",
    "observation": {
      "images": {
        "agentview": "<base64 JPEG or PNG>",
        "wrist": "<base64 JPEG or PNG>",
      },
      "state": [-0.09, -0.13, 0.56, 3.2, 0.18, -0.12, 0.04, -0.04],
    },
    "action_horizon": 50,
  },
).json()
res["actions"]          # one row per time step
```

TypeScript:

```typescript
const res = await fetch("https://api.openrobotics.dev/v1/act", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "physical-intelligence/pi0",
    instruction: "put the black bowl on the plate",
    observation: {
      images: {
        agentview: "<base64 JPEG or PNG>",
        wrist: "<base64 JPEG or PNG>",
      },
      state: [-0.09, -0.13, 0.56, 3.2, 0.18, -0.12, 0.04, -0.04],
    },
    action_horizon: 50,
  }),
}).then((r) => r.json());
```

cURL:

```bash
curl https://api.openrobotics.dev/v1/act \
  -H "Authorization: Bearer $OPENROBOTICS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"physical-intelligence/pi0","instruction":"put the black bowl on the plate","observation":{"images":{"agentview":"<base64 JPEG or PNG>","wrist":"<base64 JPEG or PNG>"},"state":[-0.09,-0.13,0.56,3.2,0.18,-0.12,0.04,-0.04]},"action_horizon":50}'
```

## Example response

```json
{
  "id": "act_48213",
  "model": "physical-intelligence/pi0",
  "backend": "http",
  "actions": [
    [0.012, -0.034, 0.041, 0.05, -0.05, -0.11, 1],
    …
  ],
  "usage": { "cost_usd": 0.0004, "latency_ms": 412 }
}
```

## Models

63 live for `/act`:

- [π0](https://www.openrobotics.dev/models/physical-intelligence/pi0.md): `physical-intelligence/pi0`, $0.40 per 1,000 calls
- [π0.5](https://www.openrobotics.dev/models/physical-intelligence/pi0.5.md): `physical-intelligence/pi0.5`, $0.60 per 1,000 calls
- [π0-FAST](https://www.openrobotics.dev/models/physical-intelligence/pi0-fast.md): `physical-intelligence/pi0-fast`, $1.00 per 1,000 calls
- [GR00T N1.7](https://www.openrobotics.dev/models/nvidia/gr00t-n1.7.md): `nvidia/gr00t-n1.7`, $0.35 per 1,000 calls
- [OpenVLA 7B](https://www.openrobotics.dev/models/openvla/openvla-7b.md): `openvla/openvla-7b`, $0.15 per 1,000 calls
- [OpenVLA-OFT](https://www.openrobotics.dev/models/openvla/openvla-oft.md): `openvla/openvla-oft`, $0.50 per 1,000 calls
- [MiniVLA](https://www.openrobotics.dev/models/stanford-iliad/minivla.md): `stanford-iliad/minivla`, $0.15 per 1,000 calls
- [Octo Base](https://www.openrobotics.dev/models/octo/octo-base.md): `octo/octo-base`, $0.05 per 1,000 calls
- [Octo Small](https://www.openrobotics.dev/models/octo/octo-small.md): `octo/octo-small`, $0.05 per 1,000 calls
- [SmolVLA](https://www.openrobotics.dev/models/huggingface/smolvla.md): `huggingface/smolvla`, $0.04 per 1,000 calls
- [RDT-1B](https://www.openrobotics.dev/models/thu-ml/rdt-1b.md): `thu-ml/rdt-1b`, $0.15 per 1,000 calls
- [RDT2](https://www.openrobotics.dev/models/thu-ml/rdt2.md): `thu-ml/rdt2`, $1.00 per 1,000 calls
- [CogACT](https://www.openrobotics.dev/models/microsoft/cogact.md): `microsoft/cogact`, $0.50 per 1,000 calls
- [Rho](https://www.openrobotics.dev/models/microsoft/rho.md): `microsoft/rho`, $0.50 per 1,000 calls
- [CrossFormer](https://www.openrobotics.dev/models/berkeley/crossformer.md): `berkeley/crossformer`, $0.05 per 1,000 calls
- [RoboVLMs](https://www.openrobotics.dev/models/robovlms/robovlms.md): `robovlms/robovlms`, $1.00 per 1,000 calls
- [SpatialVLA](https://www.openrobotics.dev/models/spatialvla/spatialvla-4b.md): `spatialvla/spatialvla-4b`, $0.35 per 1,000 calls
- [UniVLA](https://www.openrobotics.dev/models/opendrivelab/univla.md): `opendrivelab/univla`, $1.00 per 1,000 calls
- [X-VLA](https://www.openrobotics.dev/models/x-vla/x-vla.md): `x-vla/x-vla`, $0.15 per 1,000 calls
- [VLA-Adapter](https://www.openrobotics.dev/models/openhelix/vla-adapter.md): `openhelix/vla-adapter`, $0.15 per 1,000 calls
- [Xiaomi-Robotics-0](https://www.openrobotics.dev/models/xiaomi/xiaomi-robotics-0.md): `xiaomi/xiaomi-robotics-0`, $0.35 per 1,000 calls
- [LingBot-VLA 2.0](https://www.openrobotics.dev/models/robbyant/lingbot-vla-2.md): `robbyant/lingbot-vla-2`, $0.50 per 1,000 calls
- [MolmoAct](https://www.openrobotics.dev/models/allenai/molmoact.md): `allenai/molmoact`, $0.50 per 1,000 calls
- [MolmoAct 2](https://www.openrobotics.dev/models/allenai/molmoact2.md): `allenai/molmoact2`, $1.00 per 1,000 calls
- [Being-H0.5](https://www.openrobotics.dev/models/beingbeyond/being-h0.5.md): `beingbeyond/being-h0.5`, $0.35 per 1,000 calls
- [AIRoA-0](https://www.openrobotics.dev/models/airoa/airoa-0.md): `airoa/airoa-0`, $1.00 per 1,000 calls
- [ABot-M0](https://www.openrobotics.dev/models/alibaba-amap/abot-m0.md): `alibaba-amap/abot-m0`, $0.35 per 1,000 calls
- [MolmoBot](https://www.openrobotics.dev/models/allenai/molmobot.md): `allenai/molmobot`, $0.35 per 1,000 calls
- [AsyncVLA](https://www.openrobotics.dev/models/berkeley/asyncvla.md): `berkeley/asyncvla`, $0.35 per 1,000 calls
- [MBRA / LogoNav](https://www.openrobotics.dev/models/berkeley/mbra-logonav.md): `berkeley/mbra-logonav`, $0.15 per 1,000 calls
- [NoMaD (with ViNT, GNM)](https://www.openrobotics.dev/models/berkeley/nomad.md): `berkeley/nomad`, $0.15 per 1,000 calls
- [OmniVLA](https://www.openrobotics.dev/models/berkeley/omnivla.md): `berkeley/omnivla`, $0.35 per 1,000 calls
- [DM0.5](https://www.openrobotics.dev/models/dexmal/dm0.5.md): `dexmal/dm0.5`, $0.35 per 1,000 calls
- [HiMoE-VLA](https://www.openrobotics.dev/models/fudan/himoe-vla.md): `fudan/himoe-vla`, $0.35 per 1,000 calls
- [GigaBrain-0.7](https://www.openrobotics.dev/models/gigaai/gigabrain-0.7.md): `gigaai/gigabrain-0.7`, $0.35 per 1,000 calls
- [GigaBrain-WBC-0.5](https://www.openrobotics.dev/models/gigaai/gigabrain-wbc-0.5.md): `gigaai/gigabrain-wbc-0.5`, $0.15 per 1,000 calls
- [ReconVLA](https://www.openrobotics.dev/models/hkust/reconvla.md): `hkust/reconvla`, $0.35 per 1,000 calls
- [HoloBrain 0.5](https://www.openrobotics.dev/models/horizon/holobrain-0.5.md): `horizon/holobrain-0.5`, $0.15 per 1,000 calls
- [FineART-VLA](https://www.openrobotics.dev/models/huggingface/fineart-vla.md): `huggingface/fineart-vla`, $0.35 per 1,000 calls
- [TurboVLA](https://www.openrobotics.dev/models/hust/turbovla.md): `hust/turbovla`, $0.15 per 1,000 calls
- [InternW0](https://www.openrobotics.dev/models/internrobotics/internw0.md): `internrobotics/internw0`, $1.00 per 1,000 calls
- [FLOWER VLA](https://www.openrobotics.dev/models/kit/flower-vla.md): `kit/flower-vla`, $0.15 per 1,000 calls
- [BitVLA](https://www.openrobotics.dev/models/microsoft/bitvla.md): `microsoft/bitvla`, $0.15 per 1,000 calls
- [Alpamayo 2](https://www.openrobotics.dev/models/nvidia/alpamayo-2.md): `nvidia/alpamayo-2`, $0.15 per 1,000 calls
- [COMPASS](https://www.openrobotics.dev/models/nvidia/compass.md): `nvidia/compass`, $0.35 per 1,000 calls
- [Cosmos 3 Policy (Nano / Edge)](https://www.openrobotics.dev/models/nvidia/cosmos-3-policy.md): `nvidia/cosmos-3-policy`, $0.35 per 1,000 calls
- [GEAR-SONIC](https://www.openrobotics.dev/models/nvidia/gear-sonic.md): `nvidia/gear-sonic`, $0.15 per 1,000 calls
- [CityWalker](https://www.openrobotics.dev/models/nyu/citywalker.md): `nyu/citywalker`, $0.15 per 1,000 calls
- [UD-VLA](https://www.openrobotics.dev/models/openhelix/ud-vla.md): `openhelix/ud-vla`, $0.35 per 1,000 calls
- [HybridVLA](https://www.openrobotics.dev/models/pku/hybridvla.md): `pku/hybridvla`, $1.00 per 1,000 calls
- [VLA-0-Smol](https://www.openrobotics.dev/models/rlc/vla-0-smol.md): `rlc/vla-0-smol`, $0.15 per 1,000 calls
- [Hume](https://www.openrobotics.dev/models/sjtu/hume.md): `sjtu/hume`, $0.35 per 1,000 calls
- [VLA-JEPA](https://www.openrobotics.dev/models/sjtu/vla-jepa.md): `sjtu/vla-jepa`, $0.35 per 1,000 calls
- [Spirit v1.5](https://www.openrobotics.dev/models/spirit-ai/spirit-v1.5.md): `spirit-ai/spirit-v1.5`, $1.00 per 1,000 calls
- [VLA Foundry (Foundry-Qwen3VLA-2.1B)](https://www.openrobotics.dev/models/tri/vla-foundry.md): `tri/vla-foundry`, $0.35 per 1,000 calls
- [Motus](https://www.openrobotics.dev/models/tsinghua/motus.md): `tsinghua/motus`, $0.35 per 1,000 calls
- [TraceVLA](https://www.openrobotics.dev/models/umd/tracevla.md): `umd/tracevla`, $0.35 per 1,000 calls
- [UnifoLM-WLA-1.0](https://www.openrobotics.dev/models/unitree/unifolm-wla-1.0.md): `unitree/unifolm-wla-1.0`, $0.35 per 1,000 calls
- [Xiaomi-Robotics-1 (XR-1)](https://www.openrobotics.dev/models/xiaomi/xiaomi-robotics-1.md): `xiaomi/xiaomi-robotics-1`, $0.35 per 1,000 calls
- [WALL-OSS 1.0 Lite](https://www.openrobotics.dev/models/x-square-robot/wall-oss-1.0-lite.md): `x-square-robot/wall-oss-1.0-lite`, $1.00 per 1,000 calls
- [LingBot-VA](https://www.openrobotics.dev/models/robbyant/lingbot-va.md): `robbyant/lingbot-va`, $2.00 per 1,000 calls
- [OpenWAM-α](https://www.openrobotics.dev/models/openwam/openwam-alpha.md): `openwam/openwam-alpha`, $2.00 per 1,000 calls
- [Praxis-1](https://www.openrobotics.dev/models/runway/praxis-1.md): `runway/praxis-1`, $2.00 per 1,000 calls
