# SmolVLA API

> Compact open VLA trained on LeRobot community datasets. It runs on consumer hardware and supports asynchronous inference.

## Details

- Model id: `huggingface/smolvla`
- Provider: Hugging Face (LeRobot)
- Type: VLA
- Parameters: 450M
- Output: Flow-matching action expert
- Embodiments: Single arm
- Endpoint: `POST /v1/act`
- Price: $0.04 per 1,000 calls
- Checkpoint served: `HuggingFaceVLA/smolvla_libero`
- License: Apache-2.0
- Released: June 2025
- Status: Live
- Paper or model card: https://huggingface.co/blog/smolvla

## Inputs

What a request to SmolVLA needs beyond the endpoint's generic fields (also in `GET https://api.openrobotics.dev/v1/models/huggingface/smolvla` as `inputs`).

- 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`. Units: 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 1 per call): `delta_x`, `delta_y`, `delta_z`, `delta_axis_angle_x`, `delta_axis_angle_y`, `delta_axis_angle_z`, `gripper`. Units: 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

## Call SmolVLA

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": "huggingface/smolvla",
    "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": 1,
  },
).json()
res["actions"]          # 1 row × 7: delta_x, delta_y, delta_z, delta_axis_angle_x, delta_axis_angle_y, delta_axis_angle_z, gripper
```

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: "huggingface/smolvla",
    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: 1,
  }),
}).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":"huggingface/smolvla","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]},"action_horizon":1}'
```

## Guides about SmolVLA

- [SmolVLA explained: Hugging Face's 450M VLA for the SO-101](https://www.openrobotics.dev/blog/smolvla.md): What SmolVLA is, how its 450M-parameter architecture works, what the paper reports, and how to fine-tune it with LeRobot on an SO-101 arm.
- [LeRobot: Hugging Face's open robotics library, explained](https://www.openrobotics.dev/blog/lerobot.md): What Hugging Face LeRobot is: the LeRobotDataset format, its policies (ACT, π0, SmolVLA, GR00T), SO-101 hardware, and how to record, train and evaluate.
- [Diffusion Policy and imitation learning, explained](https://www.openrobotics.dev/blog/diffusion-policy.md): 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.
- [LIBERO benchmark: suites, VLA scores and how to evaluate](https://www.openrobotics.dev/blog/libero-benchmark.md): What the LIBERO robot benchmark is, its Spatial, Object, Goal and Long suites, published VLA success rates with sources, and the caveats behind them.

## SmolVLA FAQ

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

Call POST /v1/act on the OpenRobotics API with "model": "huggingface/smolvla". We run SmolVLA on cloud GPUs that start on demand, so there is nothing to install or host.

### How much does the SmolVLA API cost?

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

### What license does SmolVLA use?

The weights we serve (HuggingFaceVLA/smolvla_libero) are released under Apache-2.0. Check the license for your use case.

### Which robots does SmolVLA work with?

SmolVLA is listed for: Single arm. The checkpoint we serve is HuggingFaceVLA/smolvla_libero; a VLA works best on the robot, cameras and action space its checkpoint was trained on.

### Is SmolVLA open source?

SmolVLA'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

- [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
- [RDT-1B](https://www.openrobotics.dev/models/thu-ml/rdt-1b.md): `thu-ml/rdt-1b`, $0.15 per 1,000 calls
