SGLang iPhone app: a native iOS client for your SGLang server
Connect Vanta on iPhone and iPad to an SGLang server: port 30000, the base URL, LAN binding, API key and model ID, plus the tool-call parser you need for tools.
Vanta is an iPhone and iPad app that works as a native client for SGLang. Your GPU server runs the model with SGLang; Vanta connects to its chat API and gives you a mobile chat app with history, PDFs, tools and group chats.
Settings at a glance
| Setting | Value |
|---|---|
| API base URL | http://YOUR-SERVER:30000/v1 |
| API key | Optional: start with --api-key |
| Model ID | The Hugging Face model path you served (or --served-model-name) |
| Model list | /v1/models |
Make SGLang reachable from your iPhone
SGLang binds to 127.0.0.1 unless you pass --host. SGLang’s quickstart serves on every interface:
sglang serve Qwen/Qwen3-8B --host 0.0.0.0 --port 30000
Older guides use python3 -m sglang.launch_server --model-path … --host 0.0.0.0 --port 30000, which still works. Wait for “The server is fired up and ready to roll!” before connecting. For tools, launch with a --tool-call-parser that matches your model (for example qwen25 or llama3).
On a real iPhone, localhost means the phone itself, so always use your computer’s network address. Away from home, use a private VPN such as Tailscale, or an HTTPS reverse proxy with authentication.
Add it to Vanta
- Open Settings → Providers → Add provider, choose On my computer or server, then More server software and SGLang, and read the short guide.
- Enter the address:
http://192.168.1.30:30000(Vanta adds/v1). Typing just192.168.1.30works too; Vanta adds port 30000. - Enter the
--api-keyvalue, or leave it empty. - Check the connection and save.
- Create a model preset: choose the served model; its ID is the model path, such as
Qwen/Qwen3-8B. - Start a chat.
Common problems
| Symptom | Fix |
|---|---|
| Connection refused | Add --host 0.0.0.0, or check the port and firewall. |
| Tool calls arrive as plain text | Start SGLang with --tool-call-parser for your model family. |
| Model not found | Use the exact ID from /v1/models. |
What works
Streaming works. Tools work when SGLang runs with a tool-call parser. Vision models such as Qwen2.5-VL accept images. Vanta adds the rest on the phone: PDFs, memory, group chats, and switching to an on-device model when you’re offline.
Your conversations stay on your iPhone or iPad, whichever model answers: Vanta has no servers and no account, and requests go straight to the address you entered. Stuck? Write to the developer at ezel964@icloud.com or use Settings → About → Contact developer.
Also works with: Ollama · LM Studio · vLLM · llama.cpp · LocalAI · Open WebUI · all setups
Your next chat starts here.
One purchase. Your choice of models.