Hosting an open-source LLM: what to measure before you decide
In short
Hosting an open-source LLM means choosing hardware that fits the model size, an inference engine and a place of execution: a local server or the API of a European host. The real cost is measured on your own usage: energy, depreciation, hosting, storage, backups, support and incidents. Local does not mean free.
This guide draws on real experience: the lab cluster on which AISIA is developed. It gives no total cost, because a total cost not measured on your workload would be made up.
Discuss your hosting projectThree ways to host an open model
- On your own hardware: a server, a workstation with a graphics card or an embedded module, with an inference engine such as Ollama. You keep everything and you operate everything.
- With a European cloud host that serves open models through an API: no hardware to manage, usage-based billing, data processed at the host.
- Hybrid: local for routine or sensitive requests, a cloud API as an explicit overflow. This is AISIA's choice: it routes local-first and makes every cloud call visible.
Hardware: start from the model size
Available memory (the video memory of a graphics card, or the unified memory of an embedded module) sets the size of usable models. Quantisation reduces the memory needed at the cost of some quality loss, which must be evaluated on your own questions.
A small model that fits one tier does not necessarily fit another: memory, engine and storage must be checked for each target machine. On AISIA's current local infrastructure, models selected for installation are capped at 14 billion parameters; the catalogue can reference larger models served by cloud providers.
Field notes: AISIA's lab cluster
AISIA currently runs on a Docker Swarm lab cluster, not in a qualified production data centre. What it taught us is useful, as long as it is read as such.
| Tier | Hardware | What it allows, what it does not |
|---|---|---|
| Edge | ARM64 Raspberry Pi, 8 GB of memory, no GPU compute | Small models, short answers; no large model or high throughput |
| GPU | NVIDIA Jetson Xavier AGX module | Mid-sized models with acceleration; local storage needs watching |
| Workstation | x86 workstation with an NVIDIA RTX graphics card | Chat fallback on a 7-billion-parameter model after the other tiers |
Lessons learned: active databases must stay on local disks (shared network storage is kept for models, exports and backups); images must be built for each machine's real architecture; the time to the first token depends as much on the safety guard and model loading as on the model itself.
Inference engine: what is qualified
In AISIA, Ollama is the only qualified engine. Adapters for vLLM, llama.cpp and TGI exist in the code but are not qualified: we do not recommend them until they have been tested on a real target.
According to its documentation, Ollama exposes a subset of the OpenAI API, including /v1/chat/completions, /v1/models and /v1/embeddings. Locally, the API key sent is ignored: authentication, quotas and a per-user log have to be added in front of it.
European hosts serving open models
OVHcloud presents AI Endpoints as a single API to a selection of open-weight models, with popular APIs such as OpenAI's, token-based billing, hosting and execution in the European Union, and states that your data is not used to train its models (page checked on 2026-11-29).
Other European hosts, such as Scaleway with its Generative APIs, publish their own documentation: read it directly, as we did not review it for this page. A gateway can call these APIs like any configured provider.
Cost items to measure
We publish no total cost: it depends on your workload, your models and your contracts. These are the items to record, per use case or per customer, before comparing local and cloud:
- Energy used by the inference machines.
- Hardware depreciation and replacement.
- Hosting, network and storage.
- Backups and restore tests.
- Calls to cloud providers on overflow.
- Integration, support and incident handling.
Reconcile these items with real invoices before promising any saving. A local model avoids a per-token price, not the cost of operations.
Frequently asked questions
Is a GPU required to host an LLM?
Not for small models: our edge tier runs on Raspberry Pi boards with no GPU compute, with clear limits on size and throughput. For larger models or sustained throughput, GPU acceleration becomes necessary.
How much does a locally hosted LLM cost?
We give no figure without measurement. The cost depends on energy, depreciation, hosting, storage, backups, support and incidents, recorded on your own usage.
Ollama or vLLM?
In AISIA only Ollama is qualified. The vLLM, llama.cpp and TGI adapters are not qualified yet, so we cannot recommend them on the basis of our own tests.
Can local and European cloud be mixed?
Yes. A gateway like AISIA sends requests to local models first and only calls a configured cloud provider as an explicit overflow, visible in the response.
Is AISIA's cluster a qualified production environment?
No. It is a lab infrastructure. Moving to a redundant French cloud production is part of the funding plan, not of what exists today.
Sources
Public facts checked on the dates shown. A vendor page can change: check it before you decide.
- OVHcloud — AI Endpoints, checked on
- Ollama — OpenAI compatibility, checked on