# SpatialVLA API

> PaliGemma 2-based VLA with Ego3D position encoding and adaptive action grids for spatial understanding. Pretrained on 1.1M episodes.

## Details

- Model id: `spatialvla/spatialvla-4b`
- Provider: Shanghai AI Lab, ShanghaiTech et al.
- Type: VLA
- Parameters: 4B
- Output: Adaptive spatial action grid tokens
- Embodiments: Single arm
- Endpoint: `POST /v1/act`
- Price: $0.35 per 1,000 calls
- Checkpoint served: `IPEC-COMMUNITY/spatialvla-4b-224-sft-bridge`
- License: MIT
- Released: January 2025
- Status: Live
- Paper or model card: https://arxiv.org/abs/2501.15830

## Inputs

What a request to SpatialVLA needs beyond the endpoint's generic fields (also in `GET https://api.openrobotics.dev/v1/models/spatialvla/spatialvla-4b` as `inputs`).

- Cameras (`observation.images` keys):
  - `primary`: Third-person camera over the WidowX workspace (Bridge)
- State: none, leave `observation.state` out.
- Actions: 7 numbers per step, up to 4 steps per call: `delta_x`, `delta_y`, `delta_z`, `delta_roll`, `delta_pitch`, `delta_yaw`, `gripper`. Units: end-effector deltas in the dataset's units (m, rad); gripper as in Bridge: 0 closed … 1 open
- Instruction: required
- Notes: The single camera may also be sent as observation.image.

## Call SpatialVLA

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": "spatialvla/spatialvla-4b",
    "instruction": "put the black bowl on the plate",
    "observation": {
      "images": {
        "primary": "<base64 JPEG or PNG>",
      },
    },
    "action_horizon": 4,
  },
).json()
res["actions"]          # up to 4 rows × 7: delta_x, delta_y, delta_z, delta_roll, delta_pitch, delta_yaw, 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: "spatialvla/spatialvla-4b",
    instruction: "put the black bowl on the plate",
    observation: {
      images: {
        primary: "<base64 JPEG or PNG>",
      },
    },
    action_horizon: 4,
  }),
}).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":"spatialvla/spatialvla-4b","instruction":"put the black bowl on the plate","observation":{"images":{"primary":"<base64 JPEG or PNG>"}},"action_horizon":4}'
```

## Guides about SpatialVLA

- [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.

## SpatialVLA FAQ

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

Call POST /v1/act on the OpenRobotics API with "model": "spatialvla/spatialvla-4b". We run SpatialVLA on cloud GPUs that start on demand, so there is nothing to install or host.

### How much does the SpatialVLA API cost?

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

### What license does SpatialVLA use?

The weights we serve (IPEC-COMMUNITY/spatialvla-4b-224-sft-bridge) are released under MIT. Check the license for your use case.

### Which robots does SpatialVLA work with?

SpatialVLA is listed for: Single arm. The checkpoint we serve is IPEC-COMMUNITY/spatialvla-4b-224-sft-bridge; a VLA works best on the robot, cameras and action space its checkpoint was trained on.

### Is SpatialVLA open source?

SpatialVLA's weights are publicly available under MIT. 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
