# RDT2 API

> RDT successor trained on large-scale UMI handheld-gripper data for zero-shot cross-embodiment transfer. Released in VQ and flow-matching variants.

## Details

- Model id: `thu-ml/rdt2`
- Provider: Tsinghua University
- Type: VLA
- Output: RVQ action tokens (RDT2-VQ) or flow-matching expert (RDT2-FM)
- Embodiments: Bimanual, Single arm
- Endpoint: `POST /v1/act`
- Price: $1.00 per 1,000 calls
- Checkpoint served: `robotics-diffusion-transformer/RDT2-FM`
- License: Apache-2.0
- Released: September 2025
- Status: Live
- Paper or model card: https://rdt-robotics.github.io/rdt2

## Inputs

What a request to RDT2 needs beyond the endpoint's generic fields (also in `GET https://api.openrobotics.dev/v1/models/thu-ml/rdt2` as `inputs`).

- Cameras (`observation.images` keys):
  - `left_wrist`
  - `right_wrist`
- State: none, leave `observation.state` out.
- Actions: 20 numbers per step, up to 24 steps per call: `right_x`, `right_y`, `right_z`, `right_rot6d_0`, `right_rot6d_1`, `right_rot6d_2`, `right_rot6d_3`, `right_rot6d_4`, `right_rot6d_5`, `right_gripper_width`, `left_x`, `left_y`, `left_z`, `left_rot6d_0`, `left_rot6d_1`, `left_rot6d_2`, `left_rot6d_3`, `left_rot6d_4`, `left_rot6d_5`, `left_gripper_width`. Units: relative end-effector poses per arm: position (m), 6-d rotation, gripper width (m, 0–0.088); right arm (robot0) first
- Instruction: required
- `seed` (optional): Integer seed for the sampling noise (default 0): the same request gives the same actions.

## Call RDT2

Send one request with your API key to `POST https://api.openrobotics.dev/v1/act`. The response comes back in the same call. The [API reference](https://www.openrobotics.dev/docs/api/act) lists every field. GPUs start on demand: after a quiet spell the first call returns `503` with `Retry-After` while one boots (never billed).

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": "thu-ml/rdt2",
    "instruction": "put the black bowl on the plate",
    "observation": {
      "images": {
        "left_wrist": "<base64 JPEG or PNG>",
        "right_wrist": "<base64 JPEG or PNG>",
      },
    },
    "action_horizon": 24,
  },
).json()
res["actions"]          # up to 24 rows × 20: right_x, right_y, right_z, right_rot6d_0, right_rot6d_1, right_rot6d_2, right_rot6d_3, right_rot6d_4, right_rot6d_5, right_gripper_width, left_x, left_y, left_z, left_rot6d_0, left_rot6d_1, left_rot6d_2, left_rot6d_3, left_rot6d_4, left_rot6d_5, left_gripper_width
```

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: "thu-ml/rdt2",
    instruction: "put the black bowl on the plate",
    observation: {
      images: {
        left_wrist: "<base64 JPEG or PNG>",
        right_wrist: "<base64 JPEG or PNG>",
      },
    },
    action_horizon: 24,
  }),
}).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":"thu-ml/rdt2","instruction":"put the black bowl on the plate","observation":{"images":{"left_wrist":"<base64 JPEG or PNG>","right_wrist":"<base64 JPEG or PNG>"}},"action_horizon":24}'
```

## Guides about RDT2

- [VLA models explained: what they are and the best open ones in 2026](https://www.openrobotics.dev/blog/vla-models.md): What a vision-language-action (VLA) model is, how it turns a camera image and an instruction into robot actions, and how π0, OpenVLA, GR00T and SmolVLA compare.
- [π0 (pi0), π0-FAST and π0.5 explained: openpi models guide](https://www.openrobotics.dev/blog/pi0.md): 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.

## RDT2 FAQ

### How do I run RDT2 without my own GPU?

Call POST /v1/act on the OpenRobotics API with "model": "thu-ml/rdt2". We run RDT2 on cloud GPUs that start on demand, so there is nothing to install or host.

### How much does the RDT2 API cost?

$1.00 per 1,000 calls, billed only for successful calls. Pay with prepaid credits or monthly pay-as-you-go.

### What license does RDT2 use?

The weights we serve (robotics-diffusion-transformer/RDT2-FM) are released under Apache-2.0. Check the license for your use case.

### Which robots does RDT2 work with?

RDT2 is listed for: Bimanual, Single arm. The checkpoint we serve is robotics-diffusion-transformer/RDT2-FM; a VLA works best on the robot, cameras and action space its checkpoint was trained on.

### Is RDT2 open source?

RDT2's weights are publicly available under Apache-2.0. OpenRobotics serves them behind an API so you can use the model without hosting it.

## Similar models

- [SmolVLA](https://www.openrobotics.dev/models/huggingface/smolvla.md): `huggingface/smolvla`, $0.04 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
- [CrossFormer](https://www.openrobotics.dev/models/berkeley/crossformer.md): `berkeley/crossformer`, $0.05 per 1,000 calls
- [OpenVLA 7B](https://www.openrobotics.dev/models/openvla/openvla-7b.md): `openvla/openvla-7b`, $0.15 per 1,000 calls
- [MiniVLA](https://www.openrobotics.dev/models/stanford-iliad/minivla.md): `stanford-iliad/minivla`, $0.15 per 1,000 calls
