---
title: "Real-time inference for robots at Physical Intelligence"
description: "Physical Intelligence runs closed-loop inference for its Visual-Language-Action robot models on Modal GPUs instead of on-board GPUs, adding only about 10-15 ms of network overhead."
url: "https://swe.quest/articles/real-time-inference-for-robots-at-physical-intelligence-e3fe41515a87309d"
canonical: "https://modal.com/blog/physical-intelligence-runs-real-time-remote-inference-for-robotic-control-on-modal"
source: "Modal"
published: "2026-04-08"
difficulty: "medium"
kind: "Case study"
reading_minutes: 3
tags: ["inference","networking","hardware","cloud"]
---

# Real-time inference for robots at Physical Intelligence

A post on [Modal](https://swe.quest/sources/modal.md), published 2026-04-08, 3 min read, Case study. Original: [https://modal.com/blog/physical-intelligence-runs-real-time-remote-inference-for-robotic-control-on-modal](https://modal.com/blog/physical-intelligence-runs-real-time-remote-inference-for-robotic-control-on-modal)

## Summary

Physical Intelligence runs closed-loop inference for its Visual-Language-Action robot models on Modal GPUs instead of on-board GPUs, adding only about 10-15 ms of network overhead. Because TCP head-of-line blocking and jitter can disrupt a continuous control loop, Pi and Modal built a QUIC-over-UDP portal in Rust. It uses STUN discovery and UDP hole punching, coordinated through Modal Dict, so robots behind NAT keep a persistent bidirectional stream to GPU containers without relay infrastructure. Checkpoints live in Modal Volumes and load in under 30 seconds, and region-pinned deployments keep round trips short. Off-board inference also lets the team test models too large for robot hardware.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [Networking](https://swe.quest/tags/networking.md) (Infrastructure)
- [Hardware](https://swe.quest/tags/hardware.md) (Infrastructure)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)

## Prerequisites

- TCP vs UDP ([easy posts on Networking](https://swe.quest/tags/networking.md?difficulty=easy))
- NAT traversal basics
- model inference ([easy posts on Inference & serving](https://swe.quest/tags/inference.md?difficulty=easy))

## Keywords

Modal, Physical Intelligence, QUIC, STUN, UDP hole punching, Modal Tunnels, Modal Volumes, Rust

## Related posts

- [Augment Your LiveKit Agent with Modal GPUs](https://swe.quest/articles/augment-your-livekit-agent-with-modal-gpus-7c537d7efe5221b2.md): Modal · 2026-10-15 · Medium · 2 min read · Serverless, Real-time systems, Inference & serving, Speech & audio, Video & media
  LiveKit agents can offload custom or open-weights models to Modal serverless GPUs, demonstrated with a BitHuman Expression video avatar voiced by Qwen3-TTS.
- [How we achieved truly serverless GPUs](https://swe.quest/articles/how-we-achieved-truly-serverless-gpus-d82b0620ff18c95f.md): Modal · 2026-05-12 · Medium · 23 min read · Serverless, Inference & serving, Containers, Storage systems, Capacity planning
  Modal cuts GPU inference replica cold starts from roughly 2,000 seconds to about 50 seconds, a 40x speedup, by attacking each stage of spin-up.
- [Learn how Cursor partnered with Together AI to deliver real-time, low-latency inference at scale](https://swe.quest/articles/learn-how-cursor-partnered-with-together-ai-to-deliver-real-time-low-latency-3678685ed13da235.md): Together AI · 2026-01-13 · Easy · 3 min read · Inference & serving, Hardware, AI for coding, Performance engineering
  Cursor and Together AI built real-time, low-latency inference for in-editor coding agents on NVIDIA Blackwell GB200 NVL72 and HGX B200, where suggestions must land before the developer's local code context changes.
- [Inside Modal Notebooks: How we built a cloud GPU notebook that boots in seconds](https://swe.quest/articles/inside-modal-notebooks-how-we-built-a-cloud-gpu-notebook-that-boots-in-seconds-cfb6050987f03347.md): Modal · 2025-09-16 · Medium · 8 min read · System design, Containers, Storage systems, Real-time systems, Developer tools
  Modal Notebooks runs Jupyter kernels inside Modal Sandboxes, using a \`modal-kernelshim\` daemon that translates ZeroMQ kernel protocol messages into HTTP tunneled through the control plane.
- [Asynchronous Robot Inference: Decoupling Action Prediction and Execution](https://swe.quest/articles/asynchronous-robot-inference-decoupling-action-prediction-and-execution-a4b96768ee8e5e44.md): Hugging Face · 2025-07-10 · Hard · 11 min read · Inference & serving, Machine learning, RPC & gRPC, Concurrency
  Robot policies that emit action chunks leave the robot idle during inference when run sequentially, causing lag and open-loop behaviour.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
