
ChatGPT, Claude and Gemini are powerful, but for many organisations they come with three problems: data leaves the organisation, payment and access are not always simple, and they become unavailable when international internet access is cut or disrupted. The alternative is to run an open model on your organisation's own server.
Ollama makes this simple: with a few commands you download and run models such as Llama, Qwen, Gemma and DeepSeek, and with Open WebUI you give every employee a ChatGPT-like chat interface. This article covers the whole path, from choosing hardware to a secure setup.

What is local AI good for?
- Summarising and searching internal documents: analyse contracts, procedures and reports without sending them outside.
- Drafting letters and customer replies: in your organisation's tone, without worrying about leaks.
- An in-house coding assistant: for teams whose code must not leave the network.
- Automation: connect the model to n8n to sort email, pull data out of invoices or send automatic replies.
An honest comparison: local models running on an ordinary server do not match large cloud models such as Claude or GPT in complex reasoning or in less common languages. They are excellent for repetitive, well-defined work; for very complex tasks the cloud services are still ahead. See Claude, ChatGPT, Gemini, Grok and Codex compared.
What hardware do you need?

The most important part is GPU memory (VRAM). The model has to fit in memory to answer quickly. Ollama usually downloads models quantised to 4 bits, which cuts their size to roughly a quarter. A rough guide:
| Model size | Approximate VRAM | Use |
|---|---|---|
| 7B to 8B | about 6 GB | Simple chat, summaries, classification |
| 14B | about 10 GB | Better writing and analysis |
| 32B | about 20 GB | Document analysis and more serious coding |
| 70B | about 40 GB or more | The closest to cloud models; two GPUs or a server GPU |
These figures are approximate and grow with the length of the input (the context). A few more points:
- It also runs without a GPU, but answers on a CPU are slow; fine for testing and small models, not for a whole company.
- System RAM should be larger than the model, especially when running on the CPU.
- An SSD with a few dozen gigabytes free; each model is several gigabytes.
- For a company server, HP servers with a suitable GPU are a reliable choice; for choosing a server, see Physical servers and virtualisation.
Installing Ollama
On a Linux server (for example Ubuntu), with the official command:
curl -fsSL https://ollama.com/install.sh | shOn Windows and macOS, get the official installer from ollama.com. Then download and run your first model:
ollama pull qwen2.5:7b
ollama run qwen2.5:7b
ollama listTake each model's exact name and version from the Ollama model library; models are updated often. Ollama opens an API on port 11434, which other programs use.
Working offline: models are downloaded once and then work without the internet. If the server has no internet access, you can download the model on another machine and copy Ollama's models folder to the server.
Which model?
| Model | Strength | Note |
|---|---|---|
| Qwen | Multilingual, good at coding and reasoning | Usually a good starting point for non-English languages |
| Llama | Large ecosystem and wide support | Read its licence before commercial use |
| Gemma | Light and fast | For limited hardware |
| DeepSeek-R1 | Step-by-step reasoning | Its small versions in Ollama are distilled models and answer more slowly |
The best way to choose is to test with your own real data: prepare ten questions or sample documents from everyday work and compare the answers of two or three models. Quality varies a lot between models and sizes, especially outside English. Before commercial use, also check each model's licence.
A company chat interface with Open WebUI
Staff should not have to use a command line. Open WebUI is a ChatGPT-like web interface with user accounts, chat history and document upload. Install it with Docker:
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:mainThen open http://server-address:3000. The first account created is the administrator; after that, create users or restrict open sign-up. In Open WebUI you can upload documents and ask the model about them (an approach called RAG), which is very useful for questions about internal procedures and policies.
Connecting to automation
Ollama has a simple API, and n8n has a ready-made node for it. Some practical examples:
- Read incoming email, classify it and route it to the right department
- Extract the amount, date and customer from invoice text
- Draft replies to frequent customer messages
How to install n8n is in Installing n8n on localhost.
Security tips
- Do not open port 11434 to the internet. Ollama's own API has no authentication; anyone who can reach it can use your server. If other programs on the network need it, allow it only inside the network, behind the firewall.
- Give users access through Open WebUI with user accounts, and close open sign-up.
- Put the server in a separate VLAN and log access.
- A local model can also give wrong answers; for important decisions, have a person check the output.
Summary
Local AI has become a real option for organisations with sensitive data or that do not want to depend on an outside service. A server with a suitable GPU, Ollama to run the model and Open WebUI for staff is the starting point; after that you can connect it to internal documents and automation.
If you want us to set up local AI or a custom agent for your organisation, see the AI agent development and HPE servers and virtualisation services or get in touch.
Official sources: Ollama, the Ollama model library and the Open WebUI documentation.



