How do you install local AI in an SME?
Running an open model on a machine takes a few commands. An installation that lasts needs more: a defined need, an inventory of the data, a model tested on real cases, access rights, backups and a person responsible for updates.
The software is the easy part
Downloading an open model and running it on a machine takes a few commands. What takes time is everything else: knowing what it will be used for, on which data, for whom, with which rights, and who will look after it afterwards. An installation that skips these questions works on day one and becomes a problem by month three.
The steps, in order
- Define the need. Which tasks, what volume, how many users at the same time, what error is acceptable. Gather a few dozen real examples with the expected answer: they will serve as a test bench at every following step.
- Inventory the data. Where it sits, in what format, who has access, which of it falls under professional secrecy (art. 321 of the Swiss Criminal Code) or is sensitive personal data under the FADP (art. 5 let. c). This work comes before any technical choice.
- Choose the model. Check the licence (some, such as Apache 2.0, allow commercial use; others set conditions), the quality in French or German, the size. Compare several candidates on the test bench rather than on public rankings.
- Size the hardware. The model's size sets the memory needed; the method is explained in Which server for local AI.
- Install the inference software, the program that loads the model and answers requests (see the table below).
- Connect the documents. To answer from your procedures or files, the documents are indexed through RAG rather than by training the model.
- Set up access rights. Authentication in front of the service, and permissions carried through into document search: an employee must not obtain through the AI a document they could not open.
- Plan backups and logs. Back up the configuration, the index and the source documents; record the model version. Logs often contain personal data: set their retention period.
- Organise updates. Operating system, drivers, inference software, model. Test each new version on the test bench before replacing the old one, and keep the old one so you can roll back.
Three common inference programs
| Software | Strength | What to watch |
|---|---|---|
| Ollama | Simple to get started; downloads and serves models through a programming interface | By default listens only on the machine itself (127.0.0.1, port 11434); its FAQ describes no authentication for access to the service. Default context window set according to graphics memory: 4,096 tokens below 24 GiB. Also offers models run in its own cloud. |
| llama.cpp | Open, lightweight engine, runs on processor as well as graphics card, many quantisation formats | More technical settings |
| vLLM | Built to serve many simultaneous requests; interface compatible with OpenAI's | More demanding to set up; check that the target hardware is supported. Comes into its own mainly with several simultaneous users |
Common pitfalls
- Opening the service to the network without access control. Changing the listening address so colleagues can reach it is enough to make the model reachable from any machine on the network. Controlled access (a proxy with authentication) must come first.
- Letting data out without knowing it. A model run in a vendor's cloud, an extension, a connector: check what actually leaves the machine, not just what the installer says.
- A context that is too short. With Ollama's default window on a machine with less than 24 GiB of graphics memory (4,096 tokens), a long contract does not fit whole; depending on the configuration, the text may be cut without a clear message, and the answer then covers only an extract. Set the context size explicitly.
- Choosing a model on reputation. The best model in a ranking is not necessarily the best on your documents.
- No designated owner. Updates then stop and the machine ages silently.
What to keep under control
- The list of people and applications with access to the service.
- Outgoing traffic from the machine: ideally none, apart from chosen updates.
- The version of the model and software in service, and the date they went live.
- What the logs contain and how long they are kept.
- A written procedure: restart, restore, roll back to the previous version.
A local installation does not exempt you from the Swiss FADP: the FDPIC points out that the law applies directly to AI-based data processing. Data security (art. 8 FADP) remains an obligation, wherever the model runs.
When not to do it
- No one to operate it, in-house or under contract: a managed service or a business cloud offering is safer than an abandoned server.
- A need that is still vague. Without a test bench, there is no way to know whether the chosen model fits.
- Data without sensitivity and occasional use: the operating cost then outweighs the benefit (see the cost of a private AI).
- Expected quality out of reach of open models on your own tests: better to find out before buying the hardware.
Frequently asked questions
Which software should run a model locally?
Ollama is the simplest to start with, llama.cpp the lightest, and vLLM is built to serve many simultaneous requests. The choice depends on the number of users and the skills available.
Can Ollama be opened to the whole company network?
By default, Ollama listens only on the machine itself, and its FAQ describes no authentication for access to the service. Before opening it to the network, controlled access has to be placed in front of it.
Should the model be trained on our documents?
Rarely. To answer from internal documents, they are indexed through RAG: the model consults them at question time, without being modified.
Does local AI exempt you from the Swiss FADP?
No. The FDPIC points out that the FADP applies directly to AI-based data processing; data security remains an obligation, even if nothing leaves the company.
Related articles
Sources
- Ollama — FAQ (consulté le 30.11.2026) — https://docs.ollama.com/faq
- Ollama — Context length (consulté le 30.11.2026) — https://docs.ollama.com/context-length
- vLLM — Documentation (consulté le 30.11.2026) — https://docs.vllm.ai/en/latest/
- llama.cpp — Dépôt du projet (consulté le 30.11.2026) — https://github.com/ggml-org/llama.cpp
- PFPDT — La loi actuelle sur la protection des données est directement applicable à l'IA — https://www.edoeb.admin.ch/fr/update-loi-actuelle-applicable-ia
- Loi fédérale sur la protection des données (LPD), RS 235.1 — Fedlex — https://www.fedlex.admin.ch/eli/cc/2022/491/fr
- Code pénal suisse (CP), RS 311.0, art. 321 — Fedlex — https://www.fedlex.admin.ch/eli/cc/54/757_781_799/fr