Skip to main content

Playground Serve

Tests License: Apache 2.0 Python: pgs 3.10+, client 3.8+ Status: alpha

Open source serving for robot policies and LLM agents. Serve π0.5, MolmoAct2, GR00T and more on a serverless GPU in your own cloud account, or run a robot-use LLM agent through OpenRouter on a CPU worker. pgs up pi05_libero starts a vision-language-action model over a websocket and scales to zero when your robot stops calling it.

Quickstart · Models · LLM agents · Benchmarks · Drive a robot

π0.5 on an RTX 4090, measured: ready about a minute after pgs up on a fresh account (median 65 s, 60 to 118 s over nine first starts), 31 to 34 ms per model call against 75 to 79 ms for stock openpi, 61 ms round trip from the US east coast to US-NC-1 (p50), 1.34 USD/hr only while a worker runs.

Bar chart of model time per call, stock against the fast path, on each model's default GPU: MolmoAct2 532.0 to 104.8 ms, Xiaomi-Robotics-1 267.9 to 65.5 ms, ABC-VLA 84.0 to 28.8 ms, Flex-π 318.5 to 131.9 ms, π0.5 75-79 to 31-34 ms, GR00T N1.7 118.4 to 68.5 ms, Cosmos 3 Edge 514.0 to 439.5 ms.

  • One command, no image to build. pgs up MODEL creates an endpoint in your account, prints the price before it creates anything, and waits until the model serves. Robot policies also use a network volume; LLM agents do not. pgs down stops the worker bill.
  • Eight robot model families, 23 entries: openpi π0 and π0.5, MolmoAct2, GR00T N1.7, ABC-VLA, Xiaomi-Robotics-1, Flex-π, Cosmos 3 and FLUX 3 Action.
  • Nine LLM agents: serve language models through OpenRouter with a CPU worker that converts tool calls into robot actions.
  • Faster, and still the same model. Each fast path keeps the weights, precision, steps and inputs, and must reproduce the stock actions at every start or the worker serves stock: model calls 1.2x to 5.1x faster.
  • Your account, your choices: the GPU, the region, a direct port past the gateway, your own checkpoints.
  • A small client: four lines of Python 3.8+, openpi's websocket protocol, an action queue for control loops.

Quickstart

You need a Runpod account with credit and Python 3.10 or later. The first pgs up asks for a Runpod API key, says where to create it and which permissions to pick, and saves it for later commands.

pip install playground-serve
pgs up pi05_libero   # start the GPU server: about 1 to 2 minutes the first time
pgs demo             # send a dummy observation, print the actions' shape and the round trip
pgs down             # keep no worker: GPU billing stops within about a minute

Terminal: pgs up pi05_libero creates a volume and an endpoint in US-NC-1 and is ready after 1:44; pgs demo returns actions of shape (10, 7) with a 91 ms median round trip; pgs down keeps no worker. Real output, trimmed.

Real output of one session on 2026-11-16, trimmed: a first start on a new volume in US-NC-1 (the checkpoint download and the fast path's conversion included), then pgs demo and pgs down from the US east coast.

On your robot or simulator:

from playground_serve import connect, example_obs

policy = connect("pi05_libero")       # finds the endpoint that `pgs up` made
actions = policy.act(example_obs())   # pass your robot's observation here
print(actions.shape)                  # (10, 7): 10 steps of 7 action values

What a first try costs: a few minutes of RTX 4090 time at 1.34 USD/hr, about 0.10 to 0.20 USD (estimate), plus the 40 GB volume that keeps the environment and checkpoint for faster restarts, about 2.80 USD/month until pgs delete pi05_libero --volume. These are Runpod list prices read 2026-11-13; pgs up prints the live ones.

If this is useful to you, a star helps other robotics people find it.

Status

Alpha (0.1.1). What is true today:

  • 12 of the 23 model entries have served real actions on a Runpod GPU. The other 11 are registered and untested: pi0_droid, pi0_fast_droid, the five ALOHA entries, three more GR00T N1.7 suites and Cosmos 3 Nano. pgs models says which is which.
  • The nine LLM agents each answered a tool call with images through OpenRouter; this does not establish robot task success.
  • Experimental (slow or not fully verified): Cosmos 3 Edge and Nano, and FLUX 3 Action (stock path only, 3.2 s per call).
  • Fast paths serve only on the GPUs where they were measured (MODELS.md); on any other GPU the model's stock path serves. Custom checkpoints have not run on a GPU.
  • pgs was tested on macOS only.
  • pgs run so101 (below) has driven a simulated arm, not yet a real one.

Models

pgs up NAME takes any entry; pgs models lists the 23 robot models and the nine LLM agents with GPU or CPU, price, license and status.

Family Entries Robot Default GPU, USD/hr Model time p50, stock → fast Status
π0.5 (openpi) pi05_libero LIBERO (sim) RTX 4090, 1.34 75–79 → 31–34 ms ran on a GPU
π0.5 (openpi) pi05_droid DROID RTX 4090, 1.34 86.6 ms, stock path ran on a GPU
π0, π0-FAST, π0.5 (openpi) pi0_droid, pi0_fast_droid, pi05_aloha, four pi0_aloha_* DROID, ALOHA RTX 4090, 1.34 untested
MolmoAct2 (Ai2) molmoact2_libero, _droid, _so101, _yam LIBERO, DROID, SO-101, bimanual YAM RTX 4090, 1.34 521–575 → 104–139 ms ran on a GPU
ABC-VLA (Amazon FAR) abc_vla_yam bimanual YAM RTX 4090, 1.34 84.0 → 28.8 ms ran on a GPU
Xiaomi-Robotics-1 xiaomi_r1_robocasa365 RoboCasa365 (sim) RTX 4090, 1.34 267.9 → 65.5 ms ran on a GPU
GR00T N1.7 (NVIDIA) gr00t_n17_libero; _goal, _object, _10 untested LIBERO RTX 4090, 1.34 118.4 → 68.5 ms ran on a GPU; needs HF_TOKEN
Flex-π flex_pi_libero LIBERO A40, 1.22 318.5 → 131.9 ms ran on a GPU
Cosmos 3 (NVIDIA) cosmos3_edge_droid, cosmos3_nano_droid DROID RTX 5090, 1.89; Nano: A100, 2.99 514.0 → 439.5 ms (Edge) experimental; Nano untested
FLUX 3 Action (Black Forest Labs) flux3_action_droid DROID A40, 1.22 3180–3228 ms, stock path only experimental; needs HF_TOKEN
LLM agents (through OpenRouter) fable_5_2, opus_5_5, gemini_4_carbon, gemini_4_argon, gemini_3_8_flash_high, gpt_6_astra, gpt_6_1_sol, muse_wonder_1_0, kimi_3_1 any robot with an embodiment card CPU (cpu3c, 2 vCPU), 0.072 seconds to minutes per model call answered a tool call with images; needs OPENROUTER_API_KEY (MODELS.md)

Model time is the server's infer_ms median on the default GPU. MODELS.md has the p90s, other GPUs, first-start times (up to 7:54 for Flex-π) and the conditions. Licenses differ: FLUX 3 Action is non-commercial, MolmoAct2 is meant for research and educational use, and the openpi and ABC-VLA weights carry the Gemma Terms of Use; pgs models prints each. Flex-π defaults to the A40: the RTX 5090 is 6.7 ms faster (125.2 ms) but had Serverless stock only in Europe on 2026-11-16, which costs a robot in the US more round trip than that; --gpu "RTX 5090" picks it.

LLM agents

Serve one of nine robot-use language models through OpenRouter. A Runpod CPU worker runs the agent loop: the model receives camera images and robot state, calls motion tools, and the worker converts targets into action chunks using an embodiment card. The LLM itself runs at its provider. The same websocket protocol serves both agents and robot policies.

export OPENROUTER_API_KEY=...  # your OpenRouter key
pgs up opus_5_5                # start the CPU worker and print its websocket URL
pgs down opus_5_5              # stop the worker when finished

Alternatively, run the same agent on your own machine (Python 3.11+), with no Runpod account or CPU worker:

pip install 'playground-serve[llm] @ git+https://github.com/playground-systems/playground-serve.git'
export OPENROUTER_API_KEY=...  # your OpenRouter key
pgs local opus_5_5             # serves ws://127.0.0.1:8000; Ctrl-C to stop

Connect a client to ws://127.0.0.1:8000. The LLM still runs at its provider, and OpenRouter token charges apply. The local server listens only on the same machine and needs to stay running for the client to use it.

An agent client supplies an episode ID and an embodiment card describing the robot, cameras and action space; the built-in libero_franka card is one option. Requests can take seconds to minutes. The worker costs 0.072 USD/hr while running (Runpod cpu3c, 2 vCPU, list price); OpenRouter token charges are separate. Each model has answered a tool call with images, but that check does not establish task success. See MODELS.md for the nine models, prices and setup, and agent notes for request and reply fields.

Why your own account

  • Your GPU. --gpu H100 serves on another Runpod Serverless GPU (RTX 4090, RTX 5090, A40, L40S, A100, H100, H200) at its price, which pgs up prints first.
  • Your region. A new endpoint goes to the nearest data center with stock, by round trips measured from your machine (by its time zone until they are measured); --region US-CA-2 picks one. Moving π0.5 from US-IL-1 to US-NC-1 took 24 ms off every request from the US east coast.
  • Your network path. --direct sends requests straight to the worker's own address, with TLS and a per-boot token, instead of through Runpod's gateway: 13.2 ms less at p50 with hot=True, from the US east coast to US-CA-2 (trade-offs).
  • Your bill. A worker bills only while it runs and stops 5 minutes after the last client leaves (--idle); the next connect starts one in about a minute. --warm keeps one running.
  • Your checkpoints. pgs up pi05_droid@gs://my-bucket/pi05_droid_finetune/30000 serves your fine-tune of any openpi config (untested on a GPU so far).
  • Your data. Robot policy observations go from your machine to a worker in your account. LLM agent observations also go to OpenRouter and the model provider; the OpenRouter key is stored in your Runpod endpoint settings.

Drive a robot

pgs run so101 connects an SO-101 arm to molmoact2_so101 through LeRobot's driver and plays the action chunks at the model's 30 Hz, with limits on the robot side: the calibrated joint ranges, a speed cap, a hold when no action arrives, a prompt before the first motion, and a return to the start pose on Ctrl-C. It starts no GPU.

pip install "playground-serve[so101]"   # Python 3.12
pgs up molmoact2_so101
pgs run so101 --instruction "put the cube in the bowl" --dry-run   # reads the arm and cameras, moves nothing
pgs run so101 --instruction "put the cube in the bowl"             # asks, then moves for up to 60 s

Top and side camera views of a simulated yellow SO-101 arm on a table with a cube and a red bowl: the arm unfolds from its rest pose and reaches toward the cube and the bowl.

A simulated SO-101 (pgs run so101 --sim, MuJoCo) driven by molmoact2_so101 on an RTX 4090: the two camera views the model gets, 13 s of a 180 s run at about 3x speed. A plumbing check of the units, timing and limits, not a solved task: the rendered scene is not what the model was trained on.

Status: it ran end to end against a simulated arm (--sim, MuJoCo) with the real model on an RTX 4090, 180 s at 29.7 Hz without an error. It has not run on a real SO-101 yet. Setup, units and safety: docs/RUN.md.

Documentation

  • docs/USAGE.md: install options, the API key, every command and option, costs, how it works, limits.
  • MODELS.md: every entry with its GPU, price, first start, model time, license and checks.
  • docs/BENCHMARKS.md: π0.5's start times, round trips and model time per GPU, with conditions.
  • docs/WIRE.md: the wire protocol, for a client in another language.
  • docs/RUN.md: pgs run, the setup of an SO-101 arm, units and safety.

Roadmap

  • Run the 11 untested entries on a GPU, and bring the fast paths to more GPUs.
  • pgs run so101 on a real SO-101 arm.
  • A local mode that serves on your own GPU, without Runpod.

Contributing

Issues and pull requests are welcome. CONTRIBUTING.md has the development setup with uv, the tests and the release check that run on every pull request, and how to add a model family. A family is one folder, src/playground_serve/families/<family>/, and changes no shared file; its fast path keeps the weights, precision, steps and inputs, and must reproduce the stock actions at every start or the worker serves stock. Security problems go through SECURITY.md; the code of conduct is CODE_OF_CONDUCT.md.

License and credits

Apache License 2.0 (LICENSE). Playground Serve builds on openpi by Physical Intelligence (Apache 2.0) and realtime-vla by Dexmal (MIT), whose Triton kernels run π0.5's fast path. It serves models by Physical Intelligence, Ai2 (MolmoAct2), NVIDIA (GR00T N1.7, Cosmos 3), Amazon FAR (ABC-VLA), Xiaomi (Xiaomi-Robotics-1), the Flex-π authors and Black Forest Labs (FLUX 3 Action), each under its own license. NOTICE lists the third-party code and data; the openpi checkpoints are subject to the Gemma Terms of Use.

Metadata

Release files for playground-serve 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for playground-serve 0.1.1
File Size Uploaded Provenance Actions
playground_serve-0.1.1.tar.gz 2.6 MB With provenance Details for playground_serve-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for playground-serve 0.1.1
File Interpreter ABI Platform Actions
playground_serve-0.1.1-py3-none-any.whl Python 3 none any Details for playground_serve-0.1.1-py3-none-any.whl

Total release size: 3.2 MB

Release files / playground_serve-0.1.1.tar.gz

Download URL playground_serve-0.1.1.tar.gz
Size 2.6 MB
Tags Source
SHA-256 checksum
How to use checksums
72eb53af0b4432fcd205ebbf6f846e996cc97cf684a7047c0b836e75207ba576
BLAKE2b-256 checksum
How to use checksums
9808faa9ffdcc42c08e92554d091f8e0da3365651fdc473cc0ce5cd192d63aae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / playground_serve-0.1.1-py3-none-any.whl

Download URL playground_serve-0.1.1-py3-none-any.whl
Size 641.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5fff373c911a917e194e93a1e10b95f835714dd75865806fa22b6abc81375029
BLAKE2b-256 checksum
How to use checksums
e2b78b5f3b96602e42aa3fe5cac7e2bef9e82eba2811199247c42766c9e5e329
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for playground-serve 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for playground_serve-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page