Advisories NL Log in Contact

Infrastructure for private AI: what do you need to run a language model yourself?

Which hardware, storage, software and security you need to run a language model in your own environment. With rules of thumb for GPU memory and capacity.

Frank VosCo-founder and consultantPublishedCloud & infrastructure4 min read
Short answer

For your own language model you mainly need GPU memory: as a rule of thumb the number of parameters times the number of bytes per parameter, plus room for the context. A model of around eight billion parameters already runs compressed on a single GPU; large models need several GPUs. In addition you need an inference server, a vector database for RAG, monitoring and the same security as for any other critical system.

You have decided that sensitive AI applications should run in your own environment. See self-hosting or the cloud for that. The next question is practical: what is needed? The answer depends on the model, the number of users and the application. A few rules of thumb get you a long way.

The building blocks

  1. Compute: GPUs with enough memory.
  2. Inference server: software that loads the model and handles requests, such as vLLM or llama.cpp, with an API compatible with common AI tools.
  3. Knowledge layer: a vector database and search for RAG, plus the integrations with your documents and systems.
  4. Access: a gateway with authentication, permissions per user or application and limits.
  5. Operations: monitoring, logging, updates, backups and capacity planning.

How much GPU memory do you need?

The model has to fit in the GPU's memory. The rule of thumb for the weights: number of parameters times the number of bytes per parameter.

Model16-bit8-bit4-bit
approx. 8 billion parametersapprox. 16 GBapprox. 8 GBapprox. 5 GB
approx. 30 billion parametersapprox. 60 GBapprox. 30 GBapprox. 17 GB
approx. 70 billion parametersapprox. 140 GBapprox. 70 GBapprox. 40 GB

On top of that comes memory for the context: the text of the question, the documents passed along and the answer, per concurrent user. With long contexts and many users that can add up considerably. So plan generously.

Compression (quantisation) to 8 or 4 bit makes models much smaller, with limited loss of quality. For most business applications 8-bit is a good balance, and 4-bit a fine choice to start with.

Capacity: users and speed

Two numbers determine whether it feels good to use: the time to the first word and the number of words per second. Modern inference servers handle requests from multiple users at once efficiently. For an organisation with a few dozen concurrent users, a single powerful GPU server with a medium-sized model can be enough. Agents that process many documents need more, but are often less sensitive to waiting time and can run at night.

Own hardware or a sovereign cloud?

  • Own hardware gives the most control and, with continuous use, is often the cheapest in the long run. You do need a suitable location for power and cooling, and you are tied to the hardware you buy.
  • GPUs in a sovereign cloud give flexibility: scale up when needed, new generations without investment, and operations by a partner. The data stays under European law.

An in-between option: start in a sovereign cloud to prove the application, and only invest in your own hardware once usage is stable and high.

Security: treat it like any critical system

An AI environment often contains your most sensitive documents. The same rules apply as for any other system:

  • the inference server is not reachable from the internet, only through a gateway with authentication;
  • permissions per user are carried into the RAG layer;
  • requests and answers are logged, with attention to privacy;
  • limits on usage, so that a mistake or abuse does not consume all capacity (OWASP calls this unbounded consumption);
  • the servers are hardened, patched and monitored 24/7, just like your other Linux environments.

Operations after go-live

An AI environment is not a project that is ever finished. New models appear, your documents change and usage grows. So plan periodically: measure quality with a fixed set of questions, test new models, adjust capacity and review security.

See how we set up and manage private AI, on infrastructure we build ourselves and monitor 24/7.

Frequently asked questions

Can a language model run without a GPU?

Small models run on a modern processor, but slowly. For an application with multiple users a GPU is needed in practice.

Which model should I choose?

That depends on the language, the task and the licence. Test two or three candidates with your own questions and documents. Also check the licence terms for business use.

How long does it take to set up your own AI environment?

A first working environment with RAG on a limited set of documents can be running within a few weeks. Integrations with more systems and permission management take longer.

Sources

  1. OWASP Top 10 for LLM Applications 2025 (LLM10: Unbounded Consumption)OWASP
  2. Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (Lewis e.a., 2020)arXiv
About the author
Frank VosCo-founder and consultant, Beyond

Consultant in cybersecurity, AI integration and cloud & infrastructure, and how the three work together.

A question about this topic? Talk to an engineer.

Schedule a no-obligation conversation. We will get back to you within one working day.

Direct contact+31 50 234 0811Weekdays 09:00–17:00 · emergencies 24/7 as per SLASchedule a call