The setup
The hardware is a Lenovo Legion 5 Pro with an RTX 3070 laptop GPU. The author says it already hosts his Jellyfin and Immich servers. The software is llama.cpp's llama-server, which runs the model and serves a web chat page that any browser can open.
His first pick was a 6.72GB quantization-aware-training build of Gemma 4 12B. It didn't work well:
- Chrome and other background apps were using VRAM.
- The vision encoder and context cache needed space on top of the model weights.
- VRAM climbed to about 7.6GB.
- Output crawled along at 13.4 tokens per second, too slow to share.
He then switched to Gemma 4 E4B, using Unsloth's UD-Q4_K_XL quantization and a 992MB vision encoder. With an 8K-token context and a Q8_0 key/value cache, he reports 73.12 tokens per second.
The launch command he used:
llama-server.exe --model gemma-4-E4B-it-qat-UD-Q4_K_XL.gguf --mmproj mmproj-BF16.gguf --host 0.0.0.0 --port 8080 --ctx-size 8192 -ngl 99 -ctk q8_0 -ctv q8_0 --jinja --temp 1.0 --top-p 0.95 --top-k 64
Here is what the main flags do:
--modelloads the language model file.--mmprojloads the vision projector, so the server can read photos and PDFs.--host 0.0.0.0makes the server listen on all network interfaces.--port 8080sets the port.-ngl 99offloads as many layers as possible to the GPU.-ctk q8_0 -ctv q8_0stores the key/value cache in Q8_0 to save VRAM.- The
--temp,--top-pand--top-kvalues match the sampling settings Unsloth's Gemma 4 guide recommends.
Your filenames will probably differ, so match them to what you actually downloaded.
Unsloth's guide supports the general approach. It lists E4B as a small model for laptops and fast local multimodal use, but I only checked that against the Unsloth text in the packet, so treat the author's exact numbers as his, not a guarantee.
Using it from other devices
The author says any device on his Wi-Fi can open the laptop's IP address on port 8080 with no app or account. He tested an iPhone, and says a MacBook or another PC would work the same way. He also gave the laptop a static IP in Windows' Wi-Fi settings, so one bookmark keeps working after a router restart.
His demo was an old paystub PDF sent from the phone. He asked how much National Insurance had been deducted, and the model found the figure in the Deductions section. The vision encoder lets the chat page send PDFs as images, which keeps tables and layouts intact. That is one anecdote, not an accuracy test, so don't assume every document will go as smoothly.
The security caveat
0.0.0.0 does not mean "home network only." It means "all interfaces." llama.cpp binds to 127.0.0.1 by default, so only the local machine can reach it. Changing the host value is what opens it up. As the author discovered, Windows Firewall blocks the connection until you allow it.
His first fix was to turn the firewall off. That worked, but it is the wrong fix. Microsoft's firewall guidance says to keep the default settings where possible and to be as specific as possible when creating inbound rules. For services meant only for a home or small-business network, Microsoft recommends restricting the remote address to Local Subnet.
The author then did the right thing. He added an inbound rule for llama-server.exe in Windows Defender Firewall with Advanced Security, limited to Private networks and scoped to the local subnet.
A community write-up on running llama.cpp on Windows shows the same idea in PowerShell. It is a third-party example, not an official Microsoft or llama.cpp recipe:
New-NetFirewallRule -DisplayName "llama.cpp API - Private LAN" -Direction Inbound -Program "C:\llama.cpp\llama-server.exe" -Protocol TCP -LocalPort 8080 -RemoteAddress LocalSubnet -Profile Private -Action Allow
Adjust the program path and port to your own setup. For the rule to apply, Windows must classify your Wi-Fi network as Private.
What the firewall rule doesn't do
The author's command doesn't set a password. llama.cpp offers --api-key, and several guides recommend setting it whenever you listen beyond localhost. One guide notes that the key protects API routes but leaves the web UI page itself reachable. Treat the firewall rule as a network boundary, not as authentication. Anyone on your Wi-Fi who can reach the port can probably use your GPU and see the chat page. That matters if you have guests, smart-home gadgets or a kid's cheap tablet on the same network.
The privacy claim also needs a narrow reading. His offline test shows the model answers prompts without an internet connection. It doesn't prove that no software component ever sends data anywhere. It also doesn't cover downloading models, which needs a connection.
The offline test
To check that the model doesn't need a cloud connection, the author set the laptop's static IP with no gateway. That cuts it off from the internet but keeps it on the Wi-Fi. A prompt from his iPhone still got an answer, at 89.07 tokens per second. This is his reported test, not a standard Windows procedure. If you copy it, pick an address outside your router's DHCP range. A DHCP reservation on the router is often the cleaner way to keep an address stable.
How it compares with LM Studio
The author prefers llama.cpp to LM Studio's LM Link, saying LM Link needs an account and an app on every device. LM Studio's documentation backs up the account part: log-in is required to associate devices with users. It also describes Locally, a mobile app for iPhone and iPad. So the two are different trade-offs: LM Link is friendlier but account-based, while llama.cpp is more manual and uses a bare browser.
A practical checklist
- Check that your GPU has enough free VRAM for the model, projector and cache. Close Chrome and other GPU-hungry apps first.
- Start with a smaller model if the larger one is slow. The author's jump from 13.4 to 73.12 tokens per second came from picking the right size.
- Keep Windows Firewall on. Create a rule for the specific program, limited to the Private profile and Local Subnet.
- Set
--api-keyif anyone else shares your network. Treat--no-webuias a way to hide the chat page, bearing in mind that it also removes the chat interface. - Give the host a stable address, preferably through a DHCP reservation.
- Never port-forward the server through your router.
The bottom line
The headline claim holds up in a limited sense. Local inference on a spare gaming laptop is practical, and the author's 8GB RTX 3070 handled a small multimodal model comfortably. The setup earns its privacy label only if the exposure is controlled. The firewall rule is the right start, but an API key and a trusted network would make it considerably safer. The article's opening claims about ChatGPT's legal privilege and OpenAI's ad targeting aren't backed by the evidence I checked, so I haven't repeated them here.
References
- I turned my 8GB laptop into an AI server, and my data doesn't leave my home network XDA · 2026-11-30T15:30:22+00:00
- Running a server — llama.app llama.app
- README.md github.com