Run a 26B model across spare phones as a local GPU

A developer split Gemma 4 across an iPhone, iPad, Galaxy S24 and Pixel over Wi-Fi, then served it to Continue in VS Code.

Used for
Side business
Skill needed
Requires coding
Shown in video
Partial demo
Summary based on
Transcript

I Turned My Spare Phones Into a Wireless GPU for AI Agents (It Actually Works)

Published Nov 4, 20265:40498,407 views10,044 likes

Key moments

  • 2:50Layer split across four devices
  • 4:0726B model running at 4–5 tokens/sec
  • 4:55Laptop coding with the phone-hosted model

What they made

Ran Gemma 4 (26B) across four devices at 4–5 tokens/sec and connected it to AnythingLLM and Continue in VS Code on an 8 GB MacBook Air.

4–5 tokens/sec

4:07

How they did it

  1. Human0:15

    Hit the memory wall: an 8 GB MacBook Air and each phone individually cannot load a 26B model.

    Stated in video
  2. Human1:47

    Added a Phone Cluster feature to PrivateLM that splits model layers across devices by free memory and speed.

    Stated in video · PrivateLM
  3. Human2:18

    Paired an iPhone, iPad, Galaxy S24 and Pixel over the same Wi-Fi via QR codes, with the iPhone as master.

    Stated in video · PrivateLM
  4. AI2:50

    The cluster loaded Gemma 4 and distributed layers (iPhone 38%, iPad 32%, Samsung 21%, Pixel 9%), passing each token through every device.

    Stated in video · PrivateLM
  5. Human4:23

    Enabled the server tab to expose the phone cluster as an OpenAI-compatible API on the local network.

    Stated in video · PrivateLM
  6. AI + human4:55

    Connected AnythingLLM and the Continue extension in VS Code to the phone API and used the model for chat and coding.

    Stated in video · Continue

What you can reuse

  • Splitting model layers across several phones lets you run a model none of the devices could load alone.
  • An OpenAI-compatible server on the cluster makes the phones usable by desktop tools like Continue and AnythingLLM.
  • Expect 4–5 tokens/sec for a 26B model; more devices add memory but also Wi-Fi hops.

Trade-offs

  • Speed is low at 4–5 tokens/sec and degrades as more devices add Wi-Fi hops.
  • Requires an Android phone as master and all devices on the same Wi-Fi network.
  • The creator built the clustering feature himself; it is not an off-the-shelf setup.

AI-generated case summaries can contain mistakes. Report an error

Related cases