Small
About 16 gigabytes of weights at 16-bit, 4–5 at 4-bit. One data-centre GPU with room for a large cache, or a workstation card.
- Classification, extraction
- Fast, cheap to serve
Running a language model on your own hardware is a stack of decisions — memory, serving software, model, licence and operations — each with a cost.
An on-premise LLM keeps prompts, documents and answers inside your own data centre. This guide sizes the hardware from first principles, compares the serving software teams actually use, shows how to choose an open-weight model, and sets out where a cloud API still wins.
Updated · 11 sources
An on-premise LLM is a large language model whose weights run on hardware you own or control — in your data centre or a private facility — so prompts and outputs never travel to an outside AI provider. Deploying one means sizing GPU memory for the model and its working cache, choosing an inference server such as vLLM, NVIDIA NIM or Ollama, picking an open-weight model whose licence fits, and running it behind a gateway that controls who may use it.
A model must fit in GPU memory twice over: once for its weights, and again for the key-value cache that grows with every token of context and every concurrent user. Weights are easy to estimate — parameters times bytes per parameter. The cache is what decides how many people the box can serve.
About 16 gigabytes of weights at 16-bit, 4–5 at 4-bit. One data-centre GPU with room for a large cache, or a workstation card.
About 40–70 gigabytes at 16-bit. One 80-gigabyte GPU at the smaller end; at the larger end two GPUs, or one with 4-bit weights.
About 140 gigabytes at 16-bit — more than one 80-gigabyte GPU. Two to four GPUs with tensor parallelism, leaving room for the cache — or one GPU with 4-bit weights.
Hundreds of gigabytes even when quantised. A full eight-GPU node or several nodes; mixture-of-experts models activate only part of it per token.
How to read the sizes. The gigabyte figures are our arithmetic for weights alone: parameters times two bytes at 16-bit, one at 8-bit, half a byte at 4-bit. Add the key-value cache and runtime overhead on top, and confirm against the cache size the server reports when it starts.
The inference server turns weights into an endpoint. All four below expose an OpenAI-compatible API, so applications written for a cloud model can usually point at your own server with a URL change. They differ in how many people they are built to serve.
# a ~70B model at 16-bit: one node, four GPUs
vllm serve meta-llama/Llama-3.1-70B-Instruct \
--tensor-parallel-size 4
# then, from any OpenAI client
POST /v1/chat/completions
{ "model": "meta-llama/Llama-3.1-70B-Instruct",
"messages": [{ "role": "user",
"content": "Summarise this contract" }] }Open-weight models now cover most enterprise tasks, from extraction to multi-step reasoning. Two questions narrow the field fast: will it fit the hardware you have, and does its licence allow your use?
Cloud model APIs are quick to start, scale without hardware and get new models first. An on-premise LLM trades that for control. The decision is usually made by data rules first and cost second.
Weights run in your facility. Prompts and outputs stay inside your network.
You call a hosted model over the network and pay per token or reserved capacity.
Which deployment fits your workload?
A single model server can be answering requests within a day. Making it something hundreds of people rely on takes the rest of the stack: a gateway, monitoring and a way to change models safely.
Name the workload, its volume, its latency target and the data rules it must follow.
Two or three open-weight candidates that fit the licence; score them on your own golden dataset.
Weights plus cache at peak concurrency, with headroom; decide GPUs per node and nodes.
Run the inference server in containers on Kubernetes with health checks and metrics, and put a gateway in front for sign-in, per-team access, routing, logging and spend.
Watch latency, cache use and errors; re-score on every model or prompt change; patch on a schedule.
On Botminds, models are records you configure, and every call goes through the model gateway inside your deployment. Point the gateway at a model on your own hardware and agents use it like any other model.
Read the deployment shapes in private AI deployment, and how models are scoped and routed in the LLM gateway.
For an on-premise LLM, enough GPU memory for the model’s weights plus its key-value cache. A rough guide for weights: two bytes per parameter at 16-bit, half a byte at 4-bit — so a 70B model needs about 140 gigabytes at 16-bit, or roughly 35–40 when quantised to 4-bit.
Small quantised models run on CPUs with llama.cpp or Ollama, which is fine for one person or a pilot. Serving many users at useful speed needs data-centre GPUs and a batching server such as vLLM.
For many users, vLLM or NVIDIA NIM — both batch requests efficiently and expose an OpenAI-compatible API. For a single machine, Ollama or llama.cpp. Pick by concurrency, hardware and the support you need.
It can be when GPUs stay busy on steady, heavy volume, because the hardware is paid for once. For spiky or light use, per-token cloud pricing usually wins. Include power, cooling, staff and refresh cycles in the comparison.
Many: OpenAI’s gpt-oss models (Apache 2.0), Meta’s Llama family (community licence), DeepSeek-R1 (MIT), and others. Check each licence’s terms and test the model on your own tasks before choosing.
On-premise means hardware you own in a facility you control. A private cloud deployment runs a model in your own cloud account and region. Both keep data under your rules; only on-premise works with no outside connection.
Yes. The vLLM server exposes chat completions, completions, embeddings and model listing endpoints in the OpenAI format, so most OpenAI clients work by changing the base URL.
Yes. Point the Botminds model gateway at a model deployment on your own hardware, and agents use it like any other model. The platform itself runs on Kubernetes in your data centre, including disconnected sites.
Bring one process and its documents. We’ll show you the agents, the controls and the record, running on your data.