How do I set up a team server?
A team server is one machine, one serving runtimeRuntimeThe software that loads a model file and runs it.Read more, a proxy with passwords in front, and a web chat for people who never open a terminal. Each layer is a separate program, so you can swap any of them later.
- Web chatOpen WebUI, or any OpenAI-compatible client
- Reverse proxyCaddy or nginx, with HTTPS
- Serving runtimevLLM, SGLang or llama-server
- HardwareOne GPU workstation or unified-memory box
Hardware
Buy for the model first, then for the number of people. The model sets the memory floor. The headcount sets how much spare memory you need for each person's context, as What changes when many people use one model? explains.
For a small team on a mid-class model, a single pro GPU is the usual answer. It has the memory for a large model plus many contexts, and it runs the serving runtimes that batch well.
Pro GPU workstation
$9,000 to $40,000+- Hardware
- RTX 6000 Ada (48 GB), RTX Pro 6000 Blackwell (96 GB, $16,000 list), multi-GPU 3090, 4090 or 5090 builds.
- Runs well
- 70B in VRAM on one 96 GB card. About 150B at Q4. V4-Flash native on two Pro 6000s (192 GB).
- Speed
- Pro 6000: 70B about 34 tok/s single-stream, about 8,400 tok/s aggregate on a 30B (vLLM).
As of 27 Nov 2026
A 128 GB unified-memory box from Are the big unified-memory boxes worth it? is the cheaper route for a large MoEMixture of expertsA model split into experts, where only a few run for each token.Read more model and a handful of users. It batches less well than a discrete GPU, so treat it as a server for a few people, not thirty. What should I buy? has the full decision.
Consumer GPUs work for a team of two or three, but a 24 to 32 GB card runs out of room for contexts fast. Plan memory for everyone's KV cacheKV cacheSaved work from earlier tokens, so the model does not reread the whole conversation for every new token.Read more, not just the weightsWeightsThe full set of a model's parameters, stored in a file.Read more.
Runtime
Pick a runtime with continuous batchingContinuous batchingAdding new requests to a running batch as old ones finish.Read more. On NVIDIA that means vLLM or SGLang. On a Mac or AMD box, llama-server with several slots is the practical choice. Which runtime should I use? covers the trade-offs.
vllm serve Qwen/Qwen3-30B-A3B \
--api-key "$VLLM_API_KEY" \
--max-model-len 32768 \
--gpu-memory-utilization 0.90This starts an OpenAI-compatible server on port 8000 that rejects requests without the key. --max-model-len caps each request's context so more requests fit. --gpu-memory-utilization is the share of GPU memory vLLM takes for weights and cache.
Ollama is fine for a household. For a team it batches less and gives you fewer controls, so we would not run an office on it.
If the office has several Macs or mixed machines instead of one big GPU, Superfluid from Base Compute serves one endpoint from all of them. Each machine holds a full copy of the model, and the server is pre-1.0. Which tools run a model across machines? covers the setup and its catches.
Authentication and a reverse proxy
Never expose a runtime port to the network on its own. Most runtimes ship with no authentication, and anyone who can reach the port can use your GPU. Is local AI actually private? covers why this matters.
Bind the runtime to localhost or block its port at the firewall, then put a reverse proxy in front that handles HTTPS. Caddy is the shortest path, because it fetches and renews certificates itself.
ai.example.com {
reverse_proxy localhost:3000
}That Caddyfile sends all traffic for the name to the web chat on port 3000. On a private network with no public name, use your internal certificate authority or tls internal, and colleagues accept the certificate once.
Give each person or service their own API key, so you can revoke one without changing everyone's. The runtime's single --api-key cannot do that. Open WebUI or a gateway such as LiteLLM can.
A front end for colleagues
Open WebUI is the common choice. It gives people a chat window, accounts, shared prompts and document upload, and it talks to any OpenAI-compatible server.
docker run -d -p 127.0.0.1:3000:8080 \
-e OPENAI_API_BASE_URL=http://host.docker.internal:8000/v1 \
-e OPENAI_API_KEY="$VLLM_API_KEY" \
-v open-webui:/app/backend/data \
--name open-webui ghcr.io/open-webui/open-webui:mainThe first account you create becomes the admin. Turn off open sign-ups in the admin settings, then create accounts for colleagues or connect your company login. Which chat app should I use? lists other front ends if this one does not suit.
Developers will want the API directly. Point their tools at the proxy with their own key, as in How do I share one model with my household or office? and How do I call a local model from code?.
Monitoring
Watch three things: tokensTokenA chunk of text, usually part of a word. Models read and write in tokens.Read more served, queue depth and memory. Tokens tell you how busy it is, queue depth tells you when people are waiting, and memory tells you when the next long context will fail.
vLLM and llama-server both expose Prometheus metrics. vLLM serves them at /metrics by default. llama-server needs the --metrics flag.
| Metric to watch | What it tells you |
|---|---|
| Requests running and waiting | Waiting above zero for long stretches means you need more capacity |
| KV cache use | Near full means new requests will queue or be cut short |
| Generation tokens total | Your real usage, which feeds the sums in When is local cheaper than an API? |
| Time to first token | What people complain about first |
Scrape them with Prometheus and graph them in Grafana. On NVIDIA, nvidia-smi shows memory and power at a glance.
If the queue is ever non-empty during normal working hours, the server is too small for the team. If KV cache use never passes half, it is too big for the model.
Keeping it updated
Serving runtimes ship often, and new models need new versions. Pin the exact version you run, in a container tag or a lockfile, so an update is a choice and not an accident.
Update on a schedule. Test the new version on a second port with the same model, run a few real prompts, then swap. Keep the old container image so you can roll back in a minute.
Models need the same care. When you change the default model, tell people. Answers will change, and some prompts that worked will stop working.
With the server running, check the key works and the model is listed.
curl -H "Authorization: Bearer $VLLM_API_KEY" http://localhost:8000/v1/modelsGo deeperThat's enough
One model or several
Each loaded model holds its weights in memory all the time. A team server is usually better off with one good model than three mediocre ones. If people need a small fast model for autocomplete as well, run it as a second process and give each its own memory budget.
vLLM takes a fixed share of GPU memory at start-up. Two vLLM processes on one card need their --gpu-memory-utilization values to add up to less than one.
Logs and privacy
The proxy and the web chat both log by default. Open WebUI keeps every conversation in its database. Decide who can read those, and say so to the team before they paste anything sensitive.
Rate limits
One person running an agent in a loop can fill the queue for everyone. Per-key rate limits in a gateway stop that. Without one, the cheapest fix is a separate small server for automated jobs.