A.The Ollama way
-
Install Ollama
Download it from ollama.com and install it on your computer.
-
Download a model
Open Terminal and pull a model —
llama3.2is a good small starting point, but any model from the Ollama library works:ollama pull llama3.2 -
Start the server so your iPhone can reach it
OLLAMA_HOST=0.0.0.0 ollama serve⚠️The
OLLAMA_HOST=0.0.0.0part is what makes Ollama reachable from your iPhone or iPad — without it, Ollama listens only to the computer itself and Lampira's connection test will find nothing. -
Find your computer's name
Open System Settings → General → Sharing — the local hostname is shown at the bottom, something like
my-mac.local. -
Connect Lampira
In Lampira, open Settings → Intelligence → Local Model, choose the Ollama chip, enter
my-mac.local(your computer's name) and tap Test Connection. -
Pick a model — done
After a successful test, Lampira lists the models your server offers live. Pick one, keep or edit the suggested name (for example “Ollama on my-mac”), and you're set. From then on Lampira shows only that friendly name — never the address.
💡Nothing is saved until a connection test succeeds — you can't end up with a half-working setup.
B.The LM Studio way
-
Install LM Studio and get a model
Download it from lmstudio.ai, then use its built-in browser to download a model.
-
Start the server
Open the Developer tab and click Start Server.
⚠️Turn Serve on Local Network ON — it's off by default, and while it's off your iPhone can't see the server at all.
-
Connect Lampira
In Lampira, open Settings → Intelligence → Local Model, choose the LM Studio chip, enter your computer's name (from System Settings → General → Sharing), tap Test Connection, pick a model — done.
C.Something else entirely
Any OpenAI-compatible server works. Choose the Custom chip and enter the full base URL — for example http://localhost:1234/v1 — plus an API Key if your server requires one. The key is only needed for protected servers and is stored in your device Keychain, nowhere else.
Troubleshooting
The messages below are exactly what Lampira shows under Test Connection.
| Lampira says | What to try |
|---|---|
| “Nothing answered at this address. Check that the server is running and both devices are on the same Wi-Fi.” |
|
| “The server asked for an API key. Add it under Custom.” | Your server is protected. Switch to the Custom chip, enter the full URL and the key — it's stored in your device Keychain. |
| “That doesn't look like a valid address.” | Check for typos. Pasting localhost:11434-style addresses works — Lampira honors an explicit port. Just remember that on an iPhone or iPad, localhost means the phone itself: use your computer's name (my-mac.local) instead. |
| “The server answered, but not like an AI server (error …).” | Something is listening at that address, but it isn't an OpenAI-compatible endpoint. Check the port (Ollama 11434, LM Studio 1234) and, for Custom, that the URL ends in /v1. |
| Test succeeds, but the model list is empty | The server has no models yet — run ollama pull llama3.2, or download a model inside LM Studio, then test again. |