Overview
Both servers speak the OpenAI API. The one thing to get right is tool calling: without the right flags the model just writes text where a tool call should go.
Set it up
- 1vLLM: start it with
vllm serve <model> --host 0.0.0.0 --enable-auto-tool-choice --tool-call-parser <parser>. The parser must match your model, for examplellama3_jsonfor Llama 3.1 and 3.3,hermesfor Qwen, ormistral. The default port is 8000. - 2llama.cpp: start it with
llama-server -m model.gguf --jinja --host 0.0.0.0 --port 8080.--jinjaturns on the model’s chat template, which tool calling needs. - 3Allow the port through your computer’s firewall for your private network, and note the computer’s address on the Wi-Fi.
Cost. Free. You use your own hardware.
Add it to Loom
- 1Open Loom, then Providers in the menu, and choose Add provider.
- 2Pick vLLM or llama.cpp (the search box finds it).
- 3Fill in the fields in the table below.
- 4Choose Connect. Loom checks the key and says how many models it found. If it cannot check, it says so, and you can Save anyway and try a message.
- 5Open the model chip below the message box and pick a model.
- Endpoint:
http://192.168.1.20:8000/v1for vLLM, orhttp://192.168.1.20:8080/v1for llama.cpp (your computer’s address). - Add a key only if you started the server with
--api-key.
| Field in Loom | What to put | Needed |
|---|---|---|
| API key | Only if the server or service asks for one | Optional |
| Endpoint | http://localhost:8000/v1 | Pre-filled |
| Name | Anything you like. It is shown in the model picker | Optional |
At a glance
| Appears in Loom as | vLLM or llama.cpp |
| Sign-in | None, or a key if you start the server with one |
| Models | Loom fetches the list from your account |
| Tools (connectors, search) | If started as above |
| Photos | Depends on the model |
| PDFs | No |
If something goes wrong
| What you see | What to do |
|---|---|
| The model writes tool calls as plain text | Start the server with the tool flags above. |
| Can’t connect | Check the port, the --host 0.0.0.0 flag and the firewall. |