**I Turned My Spare Phones Into a Wireless GPU for AI Agents (It Actually Works) — Transcript & Summary | SozAI**
Source: https://sozai.app/transcript/turn-spare-phones-into-wireless-gpu-ai-agents/

A developer shows how to pool spare phones, iPad and laptop over Wi-Fi with the Private LLM app to run a 26B Gemma 4 model no single device could load.

## Key Takeaways

- Layer-wise splitting lets several weak devices collectively run models larger than any one of them could hold.
- Distributed on-device inference over local Wi-Fi is practical for private, offline-capable AI use, though slower than dedicated hardware.
- A phone cluster can serve as a local OpenAI-compatible backend for other tools such as chat apps and code editors.

## What the video covers

- The video demonstrates running Gemma 4, a 26 billion parameter model, across multiple devices that individually lack the memory to load it.
- The creator's app, Private LLM, runs AI models on-device and offers chat, image generation, and image understanding.
- A new 'Phone Cluster' feature splits a model's layers across a master device and worker devices connected via QR code on the same Wi-Fi network.
- The app assigns each device a share of the model based on its available memory and processing power (iPhone 38%, iPad 32%, Samsung S24 21%, Pixel 9%).
- Prompts pass sequentially from device to device, with each phone processing its layers and forwarding the data onward.
- The cluster achieves roughly 4 to 5 tokens per second, which the creator acknowledges is not fast.
- A server tab exposes the clustered model as an OpenAI-compatible API on the local network.
- The laptop, which could not load the model itself, connects to the phone cluster through AnythingLLM and chats with the 26B model.
- A coding model can also be served and connected to the Continue extension in VS Code for AI-assisted coding.
- Limitations include modest speed and added Wi-Fi communication overhead as more phones are added.

## Chapters

1. 00:00 Introduction: Running Gemma 4 Across Phones
2. 00:26 The Problem: No Single Device Can Load the Model
3. 00:55 Private LLM App Overview
4. 01:22 Why Multiple Phones: Limits of One Device
5. 01:46 Setting Up the Phone Cluster
6. 02:19 Device Connection and Workload Distribution
7. 03:08 How Layer Splitting Works
8. 03:53 Performance: Tokens per Second
9. 04:19 Server Mode and Connecting a Laptop
10. 04:51 Coding with VS Code and Limitations

Answers

## Questions about this video

How does the phone cluster split a model that no single phone can run?

The model's layers are divided across the connected devices, with each device handling a share based on its memory and processing power. When a prompt is sent, the first phone processes its layers and passes the data to the next phone, continuing until a response is generated.

What speed can be expected from running the 26B model across the phones?

The creator reports about 4 to 5 tokens per second. He acknowledges this is not particularly fast, though he considers it notable given that the model runs across four phones over Wi-Fi.

How can a laptop use the model running on the phones?

The app's server tab exposes the cluster as an OpenAI-compatible API on the local network. The laptop connects to it by entering the phone's address and API key in an application such as AnythingLLM, and can also use it for coding via the Continue extension in VS Code.

## Full Transcript — Download SRT & Markdown

00:00

Speaker A

This is Gemma 4, a 26 billion parameter AI model. Normally, you'd need a pretty powerful PC to run something like this, but I'm running it locally, and I can access it from my phone, my iPad, and even my laptop. Now, here's the weird

00:17

Speaker A

part. It's not actually running on any of these devices individually. This MacBook Air has just 8 GB of RAM.

00:26

Speaker A

It can't even load this model. I've tried and none of my phones can run it either. So, how is this working? Well, all of them are running it together. And I'll show you how. A while ago, I built

00:40

Speaker A

an app called Private LLM. The whole idea was to run AI models directly on your phone without sending your data to some server. You can chat with it just like chat GPT. The only difference is that the model is running

00:55

Speaker A

on your phone. You can generate images, too. On my iPhone, it takes around 30 seconds. You can even add multiple prompts to a queue and let it generate them one by one. There's image understanding as well. Just take a

01:10

Speaker A

photo, upload it, and ask the model what it can see. And there's a library of models inside the app. It checks your phone and shows you which models you can actually run. But there's a problem.

01:22

Speaker A

My phone can comfortably run models around 7 or 8 billion parameters depending on the model and its quantization.

01:30

Speaker A

Anything bigger and it starts running out of memory. So I started thinking what if I could use multiple phones and load different parts of a bigger model on each one. Basically make them work together as one system. And that's what

01:46

Speaker A

I added to private LLM. It's called phone cluster. I've spent quite a few late nights getting this project to work. So, if you enjoy projects like this, consider subscribing. It really helps me keep building and sharing more open-source stuff. Anyway, let's get

02:02

Speaker A

into it. Open the settings and go to phone cluster. First, you need to select a master device. I'd recommend choosing your most powerful phone because this is the one you'll use to interact with the model. Now, pick up your second phone.

02:19

Speaker A

Open the same settings, but this time select worker. You'll get a QR code on the screen. Just scan it using your master phone and the two devices will connect.

02:30

Speaker A

You can repeat the same process to add more phones. For this video, I'm connecting my iPhone, iPad, Samsung S24, and Pixel. Just make sure all of them are connected to the same Wi-Fi network.

02:45

Speaker A

Once they're connected, the app figures out how much of the model each device should handle. It checks their available memory and processing power and distributes the workload accordingly.

02:56

Speaker A

As you can see, my iPhone is handling 38% of the model. The iPad gets 32%, the Samsung gets 21%, and the Pixel gets just 9%.

03:08

Speaker A

Now, let's load Gemma 4, the same 26 billion parameter model I showed you at the beginning.

03:14

Speaker A

While it's loading, let me quickly explain how this actually works. An AI model is made up of multiple layers.

03:22

Speaker A

Normally, all of them need to fit inside one device. But here, we're splitting those layers across multiple phones. So, when you send a prompt, the first phone processes its part and passes the data to the next phone. That phone does its

03:38

Speaker A

part and passes it along. This keeps happening until the model generates a response. So, we're not running four different models here. All four phones are working together to run one model. And that's how we're able to load something that

03:53

Speaker A

none of these phones could handle individually. I'm getting around 4 to 5 tokens per second. It's not particularly fast, obviously, but considering that we're running a 26 billion parameter model across four phones over Wi-Fi, that's pretty interesting. And honestly, the

04:12

Speaker A

main reason I wanted to build this wasn't just to chat on my phone. It was to get this working on my laptop.

04:19

Speaker A

There's a server tab inside the app. Just enable allow network access and tap start server. Now the model running across your phones is available as an open AAI compatible API on your local network. Basically this means other AI

04:35

Speaker A

applications on your computer can connect to it. So here's anything LLM on my MacBook. Remember this is the same laptop that couldn't even load the model. I'm just pasting in the phone's address and the API key from the app.

04:51

Speaker A

And that's it. I'm now chatting with a 26 billion parameter model while all the processing is happening on the phone sitting on my desk. And it doesn't stop at chatting. I can load a coding model, connect it to the continue extension in

05:06

Speaker A

VS Code and use it for coding, too. So yeah, my phones are doing the AI processing and my laptop is using that model to write code. Of course, there are limitations. The speed isn't great, and adding more phones also means more

05:23

Speaker A

communication over Wi-Fi. But the interesting part is that I can now run a model this big on devices that couldn't run it on their own. Everything is available in the description, including the app and the project links. Thanks

05:37

Speaker A

for watching. I'll see you in the next one.

Topics: on-device AI distributed inference Gemma 4 local LLM phone cluster Private LLM OpenAI-compatible API edge computing model sharding VS Code

Study this video

- [Flashcards from this video](https://sozai.app/tools/flashcard-maker/#from=transcript&id=92595)
- [Quiz on this video](https://sozai.app/tools/quiz-generator/#from=transcript&id=92595)
- [Crossword from this video](https://sozai.app/tools/crossword-maker/#from=transcript&id=92595)
- [Word search from this video](https://sozai.app/tools/word-search-maker/#from=transcript&id=92595)
- [Study guide from this video](https://sozai.app/tools/study-guide-maker/#from=transcript&id=92595)

Free, made by AI from this transcript. No signup.


---
This is the markdown twin of https://sozai.app/transcript/turn-spare-phones-into-wireless-gpu-ai-agents/ — the same content, without the markup.
Published by SozAI (https://sozai.app). Reuse and quotation are allowed with attribution and a link back.
Machine-readable index: https://sozai.app/llms.txt · data API: https://sozai.app/api/
