π0 (pi0) API

Also written: pi 0, pi zero

Generalist VLA built on PaliGemma with a flow-matching action expert, trained on cross-embodiment robot data. Weights and code are released through openpi.

Live$0.40 per 1,000 callsGet an API key

Call π0

Send one request with your API key. The response comes back in the same call. See the API reference for every field.

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, 0, 0, 0, 0, 0, 0, 0],  # 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_horizon": 5,  },).json()res["actions"]          # up to 5 rows × 7: delta_x, delta_y, delta_z, delta_axis_angle_x, delta_axis_angle_y, delta_axis_angle_z, gripper

GPUs start on demand. If π0 hasn't been called for a while, the first request returns 503 with a Retry-After header while it boots (usually a few minutes, never billed).

Inputs

What π0 needs in a request as served (lerobot/pi0_libero_finetuned_v044), beyond the fields every /v1/act call takes. The same spec is in inputs on GET /v1/models.

Cameras
observation.images keys
  • agentview · Third-person (agent view) camera, upright: LIBERO's raw render rotated 180°
  • wrist · Wrist (eye-in-hand) camera, upright: LIBERO's raw render rotated 180°
State
observation.state: 8 numbers
  • eef_x
  • eef_y
  • eef_z
  • eef_axis_angle_x
  • eef_axis_angle_y
  • eef_axis_angle_z
  • gripper_qpos_left
  • gripper_qpos_right

end-effector position (m) and axis-angle rotation (rad) in the robot base frame; the two gripper finger joint positions

Actions
7 numbers per step, up to 50 steps per call (its own evaluation executes 5 before asking again)
  • delta_x
  • delta_y
  • delta_z
  • delta_axis_angle_x
  • delta_axis_angle_y
  • delta_axis_angle_z
  • gripper

LIBERO's OSC_POSE delta command, each in [-1, 1] (position and axis-angle rotation deltas, scaled by the controller); gripper -1 open, +1 close

Instruction
Required: what the robot should do.

Guides about π0

π0 (pi0), π0-FAST and π0.5 explained: openpi models guide
What Physical Intelligence's π0, π0-FAST and π0.5 VLA models are, what's in the openpi repo, how to fine-tune them, and where π0.6 and π0.7 stand.
VLA API requests: action chunks, contracts and failures
Build a VLA client around action horizons, embodiment-specific units, bounded retries and offline validation of the OpenRobotics /v1/act contract.
Diffusion Policy and imitation learning, explained
What imitation learning is, how ACT and Diffusion Policy (Chi et al. 2023) generate robot actions, and how flow matching carries over to π0 and SmolVLA.
Physical AI explained: the open model stack for robots
What physical AI (embodied AI) means, the five kinds of models a robot uses, from perception to VLAs and world models, and open examples of each.

π0 FAQ

How do I run π0 without my own GPU?
Call POST /v1/act on the OpenRobotics API with "model": "physical-intelligence/pi0". We run π0 on cloud GPUs that start on demand, so there is nothing to install or host.
How much does the π0 API cost?
$0.40 per 1,000 calls, billed only for successful calls. Pay with prepaid credits or monthly pay-as-you-go.
What license does π0 use?
The weights we serve (lerobot/pi0_libero_finetuned_v044) are released under Gemma Terms of Use. Check the license for your use case.
Which robots does π0 work with?
π0 is listed for: Single arm, Bimanual, Mobile manipulator. The checkpoint we serve is lerobot/pi0_libero_finetuned_v044; a VLA works best on the robot, cameras and action space its checkpoint was trained on.
Is π0 open source?
π0's weights are publicly available under Gemma Terms of Use. OpenRobotics serves them behind an API so you can use the model without hosting it.

Run π0 with one API call

Create a key, send POST /v1/act with "model": "physical-intelligence/pi0", and pay $0.40 per 1,000 calls.

Get an API keyRead the /v1/act referenceBrowse VLA models