What is self-hosted AI?
Self-hosted AI is a deployment in which the model and related services run on servers the organisation manages, rather than as a service run by an outside provider.
It differs from air-gapped AI in connectivity: a self-hosted system need not be cut off from outside networks, while an air-gapped one is fully isolated. On-premise AI stresses running in the organisation's environment; self-hosted stresses that the organisation operates the service.
- Topic
- Enterprise and on-premises AI
- Also known as
- Self-managed AI
How self-hosted AI works
Open-weights or licensed model weights are copied to storage the organisation controls and verified. The model is loaded onto its GPU or CPU resources with an inference server such as vLLM or llama.cpp; internal applications send requests to that endpoint on the internal network.
Access control and audit logs connect to the organisation's identity and logging systems. Updates, patches, scaling and model changes are planned and applied by its IT team.
In more detail
Model artefact verification and serialisation security
Before loading external open-weight checkpoints, security teams must verify cryptographic hashes (SHA-256) against trusted registries and prefer the Safetensors format over legacy Python Pickle (.bin/.pt) files, which can execute arbitrary malicious code upon deserialisation.
Open-weight licences and the shift to provider duties
Self-hosting shifts licensing and regulatory duties onto the organisation. Teams must verify open-weight licence restrictions (such as monthly active user caps or field-of-use clauses) and understand that substantially modifying or fine-tuning a model can trigger provider obligations under regulations like the EU AI Act. Under the Commission's GPAI guidelines, a modification using more than one third of the original training compute makes the modifier a provider.
The production serving stack: gateways, GPU partitioning and guardrails
Enterprise self-hosting goes beyond running a raw inference engine: production stacks typically pair vLLM, SGLang or TensorRT-LLM with an internal AI gateway (for rate limiting, OpenAI-compatible routing and token metering), Kubernetes GPU scheduling (e.g., MIG partitioning) and input/output guardrails.
Total cost of ownership and break-even utilisation
A major operational nuance of self-hosted AI is hardware utilisation economics: dedicated GPUs incur fixed capital, power, cooling and engineering costs regardless of traffic. Self-hosting typically beats commercial APIs only above a sustained utilisation threshold, often paired with quantised open-weight models to maximise tokens per second per GPU.
Commonly confused terms
| Term | How it differs |
|---|---|
| Managed private cloud AI | Managed Private Cloud AI (e.g., AWS Bedrock PrivateLink, Azure OpenAI in VNet or dedicated vendor endpoints) isolates network traffic within a private cloud perimeter, yet the cloud provider, not the customer, operates the inference stack, model updates and underlying weights. |
Why self-hosted AI matters for on-premises AI
Prompts and answers never reach an outside model provider; on rented servers, though, the infrastructure provider may still be a data processor. The model version is in the organisation's hands; a provider silently changing or retiring a model cannot break the application. At high query volumes fixed hardware cost replaces variable per-token fees. In return, hardware maintenance, GPU capacity, security scanning and high availability become the organisation's job; hosting alone does not make a system secure.
This page gives general information and is not legal advice.
A hospital runs its clinical document search on servers it manages; prompts and answers stay on the hospital network and IT decides the model version.
Common questions
What extra responsibilities does self-hosting bring?
Hardware maintenance, GPU capacity management, inference server updates, model security scanning and high availability move directly to the organisation.
Which software is used for self-hosted models?
Inference engines such as vLLM or llama.cpp are commonly used with container-based deployment to serve model weights efficiently.
Related terms
- Air-gapped AI
- On-premise AI
- Private AI
- Local model
- Open-weights model
- AI data sovereignty
- Inference server
- Model serving
Sources
- NIST SP 800-145, The NIST Definition of Cloud Computing, 2011 (deployment models)
- Kwon et al., Efficient Memory Management for Large Language Model Serving with PagedAttention, 2023
Related page on this site: Related FAQ · In the glossary: Glossary, R to Z