A self-hosted LLM is an open-weight language model — Llama, Mistral, DeepSeek, or Qwen — running on hardware your company controls, instead of a cloud API you send requests to. Prompts and data never leave your network. The trade-off is upfront hardware cost, sizing decisions, and someone to keep it running.
Why businesses self-host an LLM
The reason almost always comes down to one of three things: data that legally or contractually cannot leave the building, cost at volume once usage climbs high enough that owned hardware amortises against per-token pricing, or control — the ability to fine-tune, log, and audit exactly how the model behaves without depending on a vendor’s roadmap. None of these apply to every business. If your usage is light and nothing you send is sensitive, a cloud API is faster to start and cheaper at low volume, and that’s the right answer for plenty of companies. This guide is about the businesses where it isn’t.
What "self-hosted" actually requires
Choosing the model
Open-weight models used in production today — Llama, Mistral, DeepSeek, and Qwen among them — are capable enough for the workloads most businesses actually run: retrieval over internal documents, extraction, classification, drafting, summarisation, and tool-calling agents. They are not always the equal of the largest frontier cloud models on the hardest open-ended reasoning tasks, and treating them as if they were sets a project up to disappoint. The right question isn’t “is this as good as the best cloud model” but “is this good enough for this specific job, given the data can’t leave.”
Choosing the serving engine
The model weights need a serving stack to actually run — typically vLLM for production-grade, higher-throughput deployments, or Ollama for simpler single-team setups. On top of that most business deployments add a retrieval layer (a local vector database indexing your documents) so the model answers from your actual content instead of only what it learned during training, and sometimes a round of fine-tuning on your own data for tasks that need it.
Sizing the hardware
This is where most self-hosting projects go wrong before they even start. A single professional GPU workstation can run a small-to-mid model well for a team. Larger models, longer context windows, and many concurrent users need multi-GPU servers, and the honest answer is that sizing depends on model size, context length, and concurrency together — not any one number in isolation. Buying hardware before scoping the actual workload is the most expensive mistake in this field: a GPU bought on a vendor’s general recommendation, before anyone defined the model or the concurrency, is either idle capital or an underpowered box people quietly stop using.
Not sure what hardware you actually need?
Tell us the workload and we will size it against your real usage before you buy anything.
Get a Sizing EstimateSelf-hosted vs cloud API — the honest trade-off
Cloud APIs win on speed to start, lower upfront cost, and access to the largest frontier models. Self-hosting wins when data cannot leave the network, when volume is high enough that per-token pricing stops making sense against owned hardware, or when you need fine-grained control over logging and behaviour that a shared API doesn’t give you. Our AI agent cost guide covers the factors that drive cost either way — model it against your actual numbers rather than assuming either direction is automatically cheaper. Many companies land on a hybrid: sensitive documents and customer data processed locally, lower-sensitivity or public-facing work sent to a cloud API. Decide per workflow based on what data it touches, not as a single company-wide policy.
What a deployment involves
- Scope one use case. A defined workflow with defined documents — not “an AI for the company.”
- Size and procure hardware, or provision a private instance in the region you need.
- Deploy the serving stack — vLLM or Ollama, model weights, monitoring.
- Build the retrieval layer over your documents, with access control matching who is allowed to see what.
- Connect it to your systems — CRM, ERP, document store — through scoped integrations rather than raw database access.
- Document it. Architecture, data flow, retention, and logging, because auditors and clients will eventually ask.
- Maintain it. Models improve, dependencies change, and your document corpus keeps growing — this is an ongoing arrangement, not a project with an end date.
A worked example
Take a mid-size professional services firm handling contracts it cannot send to a third-party API for confidentiality reasons. The workflow: extract key clauses and obligations from incoming contracts, flag anything unusual against a set of internal rules, and draft a summary for the reviewing lawyer. That’s a retrieval-and-extraction task, not open-ended reasoning — well within what an open model handles reliably. The deployment is a single mid-tier GPU server, an open model chosen for its extraction accuracy, a retrieval layer indexing the firm’s own contract templates and past rulings, and access limited to the review team. Nothing about the document ever leaves the firm’s network. That’s the shape most successful self-hosted deployments take — narrow, well-defined, and sized to the actual job rather than an aspiration to “have an AI for everything.” When the workflow needs more than retrieval — multi-step actions across systems, approvals, tool use — that’s where it becomes an agent running on the self-hosted model rather than a single lookup.
Compliance considerations
Self-hosting removes the question of whether a cloud provider is processing your data outside a jurisdiction you’re comfortable with, which is often the hardest part of a compliance review. It does not automatically make you compliant with anything — GDPR, HIPAA, or an industry-specific framework still requires the same discipline around lawful basis, data minimisation, retention limits, and access control regardless of where the model runs. What self-hosting does give you is full control over the logging and audit trail those frameworks ask for, because the whole stack is yours to instrument rather than dependent on what a vendor exposes.
What goes wrong
Expecting frontier-model behaviour. Open models are strong at retrieval, extraction, classification, drafting, and tool use. If the first use case is chosen to showcase hard reasoning, it will underwhelm and the project loses internal support before it proves itself elsewhere.
Treating retrieval as solved. Most disappointing self-hosted deployments are retrieval failures, not model failures — documents chunked badly, no access control on the index, stale content, no way to trace which document an answer came from. This decides answer quality more than the model choice does.
No maintenance plan. Serving stacks release breaking changes, models improve, and the document corpus grows. A deployment with nobody responsible for upkeep degrades within months.
Access control as an afterthought. If the retrieval index contains HR files and every employee can query it, self-hosting has created a new data protection problem instead of solving one. Permissions belong in the retrieval layer from day one, not bolted on later.
How Inwizards approaches self-hosted LLM projects
On-premise AI is core to what Inwizards builds — open models on client hardware, retrieval over the client’s own documents, integrations into Odoo, SAP, and CRM systems, and agents that run entirely inside the network. Teams in the US, UAE, and India, building software since 2009. We assess the workload first, size the hardware to match, deploy behind your firewall, and stay on to maintain it as models and data change. See on-premise AI for the full stack, or our companion guide on choosing the right open-source model if you’re still deciding which one fits your workload.