01
The data can’t leave.
Patient records, contracts, source code, anything under NDA or a client’s security policy. If the model runs inside your network, nothing has to be sent out to be processed.
On-prem, in your cloud account or air-gapped: the model runs where your data already is, and prompts never reach an outside AI provider. Here’s what fits, how fast it runs and what it takes, from the box I run every day.
01
Patient records, contracts, source code, anything under NDA or a client’s security policy. If the model runs inside your network, nothing has to be sent out to be processed.
02
API pricing scales per token. A model on your own GPU costs the same at 3 a.m. as at peak, so sustained, high-volume workloads can come out cheaper.
03
No silent model updates, no deprecations on someone else’s schedule. You pin the weights, the quantisation and the prompt format, and your evals stay valid.
This is my own box: one RTX 4090 serving a 27B Qwen model, quantised to Q4_K_M, to my coding agents all day. The weights take about 17 GB. The KV cache, the memory that holds the conversation, is what usually decides whether long context fits.
No, but it removes the hardest part. When the model runs on your hardware, prompts and documents aren’t sent to an outside AI provider, so the AI provider drops out of the picture for that system: no extra processor to vet and no transfer of prompts outside your infrastructure.
What stays is yours either way: a legal basis, retention rules, access control and, where the use case calls for it, a data protection impact assessment. I build the system so those are easy to evidence, with logs, access control and isolation in place. Your DPO or lawyer signs off; I’m an engineer, not a lawyer.
when not to
Yes. At Q4_K_M the weights take about 17 GB. With a 4.125-bit KV cache, 262K tokens of context fit in about 20 GB in total, and decode peaks at 82 tok/s on my box.
It depends on volume and on how sensitive the data is. Low volume usually favours an API; sustained volume on data that can’t leave usually favours local. I run the numbers on your workload during the teardown.
The one that passes your evals on your tasks. For agentic coding on 24 GB, the dense 27B models led my benchmark of ten local models.
Yes. Inference, retrieval over your documents and the API all run without internet access; models and updates are brought in deliberately.
30-minute technical call with the engineer who builds it. No sales team, no slides.