What are the limits of local AI models?
A local model keeps your data in-house, but it costs quality, hardware and operating effort. This article brings together the published measurements of the gap with the best closed models, the constraints of context, speed and language, the risks specific to model files and the actual licences of the main open families, so you can decide task by task.
What we are talking about
A local model is a model with published weights that runs on your own hardware. Its benefit is well known: the data does not leave. This article is about what you give up, or have to manage, in return.
The quality gap, measured
Epoch AI, a research institute that tracks how models evolve, publishes regular measurements of this gap:
- Since January 2026, the best open-weight models have lagged the best closed models by four months on average, according to Epoch's capabilities index (published 29 May 2026).
- Models that fit on a single consumer graphics card reach the level of the best models 6 to 12 months later (published August 2025). Epoch notes that small models may be tuned to the benchmarks, and that the gap in real-world usefulness is probably longer.
The second figure matters more for an SME: the best open models can be very large. Alibaba's largest open model, Qwen3.8-2.4T-A95B, released in August 2026, has 2.4 trillion parameters according to its Hugging Face model card. Only 95 billion are active at each step of the computation, but all of them must fit in memory.
Assumptions: weights quantised to 4 bits, i.e. 0.5 byte per parameter; memory for context and software not counted.
An 8-billion-parameter model takes about 8 × 0.5 = 4 GB; a 70-billion model about 35 GB; a 2.4-trillion model about 1,200 GB. Compare with the memory of the graphics card or server you are considering, minus the room needed for context.
Context length
Context is the amount of text the model takes into account at once. In the cloud, recent commercial models accept contexts in the order of a million tokens. Locally, model cards give for example 32,768 tokens natively for Qwen3-8B (131,072 with the YaRN extension) and 65,536 for Apertus. Locally, every token of context uses memory: the Epoch study on consumer graphics cards assumed a context of 8,000 tokens. And accuracy tends to drop as context grows, in the cloud too: a 2023 study showed that models make less use of information placed in the middle of a long context.
Speed and load
A local server has a fixed capacity, bought in advance: fast for one person, it slows down when several query it at once. A cloud service absorbs peaks. Before buying, measure on the target hardware, with documents of realistic length and the expected number of simultaneous users — not on a demo.
Languages: French, German, Swiss German
A model can be good in English and approximate in French or German; the only reliable measure is a test on your own texts. Swiss German, which has no standard spelling, is a special case. Apertus, released on 2 September 2025 by EPFL, ETH Zurich and CSCS, explicitly includes it, along with Romansh; its model card lists 1,811 languages and the Apache 2.0 licence. The card also shows that it does not lead every comparison: in pre-training, its 70B version averages 67.5 against 69.8 for Qwen2.5-72B.
Maintenance
The model does not improve on its own: moving to a newer version means retesting use cases, instructions and output formats. The inference software, graphics drivers and operating system evolve, with their vulnerabilities. And someone has to monitor, back up and restart; without that person, local becomes a weak point.
Security of the model itself
- The file can run code. The pickle format, long common for PyTorch weights, allows arbitrary code to run on loading; Hugging Face documents this. Prefer the safetensors format and trusted sources.
- The behaviour can be booby-trapped. Researchers showed in 2024 that a backdoor trained into a model can survive standard safety training techniques. A model modified by a stranger should be treated like software from a stranger.
- Local does not protect against everything. OWASP lists supply chain (LLM03) and data and model poisoning (LLM04) among the top ten risks of large language model applications (2025 edition); prompt injection (LLM01) comes first. It affects a local model just as much as a cloud model once it reads documents or e-mails from outside.
Licences: "open" does not mean free
Terms as recorded on 30.11.2026; read them on the card of the exact version, because two models from the same family can carry different licences.
| Family | Licence | Points to watch |
|---|---|---|
| Llama 4 (Meta) | Llama 4 Community License | Licence to request above 700 million monthly active users; "Built with Llama" notice; derivative model names must start with "Llama"; California law. Multimodal models: rights not granted to individuals domiciled in, or companies with their principal place of business in, the EU (end users excepted) |
| Mistral | Apache 2.0 for most open models | Some models under a modified MIT licence: above USD 20 million in monthly revenue, a commercial licence or use through Mistral's own offering |
| Qwen (Alibaba) | Apache 2.0, for example for Qwen3-8B and Qwen3.8-27B | Qwen3.8-2.4T-A95B has its own licence (Qwen3.8-Max): a separate licence is required to offer the model as a service to third parties or to build a work assistant on it, above USD 50 million in revenue over 12 consecutive months; internal use is exempt |
| Gemma (Google) | Apache 2.0 since Gemma 4 (April 2026) | Earlier versions fall under the Gemma Terms of Use, whose prohibited uses must be passed on to downstream users |
| Apertus | Apache 2.0 | Weights, training data and method published; 8B and 70B versions |
Switzerland is not an EU member, but a Swiss company with subsidiaries or staff in the EU should read the Llama 4 clause closely.
When a local model is enough, and when it is not
| Rather suited to local | Rather unsuited to local |
|---|---|
| Bounded tasks: extracting fields, classifying, summarising a short document | Long multi-step reasoning, fine-grained analysis |
| Searching your documents (RAG) over a controlled corpus | Very long documents to be processed in one go |
| Regular, predictable volume | Sharp, unpredictable peaks |
| Standard French and German, after a conclusive test | Written Swiss German or rare languages, without a conclusive test |
| Data under secrecy, which must not leave | Tasks where an error is costly and the best available model makes a measured difference |
The method: gather 30 to 50 real cases with the expected answer, then compare local and cloud models on those cases, using non-sensitive test data for the cloud. The decision follows the result.
The limits of this comparison
- Rankings measure averages on public tests; your task is not an average.
- The figures age quickly. The gap is counted in months and model cards change with each version: check again before any decision.
Frequently asked questions
Is a local model as good as a cloud model?
Not on average. According to Epoch AI, the best open-weight models have lagged the best closed models by about four months since January 2026; those that fit on a single consumer graphics card lagged by 6 to 12 months in a measurement from August 2025. For a specific task, only a test on your own cases settles it.
Can a company use Llama or Qwen?
Often, but the licence depends on the exact model. Several Qwen and Mistral models, as well as Gemma 4, are under Apache 2.0. The Llama 4 licence requires, among other things, a "Built with Llama" notice and grants no rights to its multimodal models to companies whose principal place of business is in the EU. Read the licence of the exact version before any commercial use.
Does a local model understand Swiss German?
It depends on the model and cannot be assumed. Apertus, released by EPFL, ETH Zurich and CSCS, explicitly includes it. For other models, a test on real texts is needed.
Can a downloaded model be dangerous?
Yes. A file in pickle format can run code when loaded, and researchers showed in 2024 that a backdoor trained into a model can survive standard safety training. Prefer the safetensors format and trusted sources.
Related articles
Sources
- Epoch AI — Écart entre modèles ouverts et fermés (indice ECI, 29.05.2026) — https://epoch.ai/data-insights/open-closed-eci-gap
- Epoch AI — Écart des modèles tenant sur une carte graphique grand public (août 2025) — https://epoch.ai/data-insights/consumer-gpu-model-gap
- Hugging Face — Fiche du modèle Qwen3.8-2.4T-A95B (paramètres) — https://huggingface.co/Qwen/Qwen3.8-2.4T-A95B
- Alibaba Qwen — Licence Qwen3.8-Max (texte intégral) — https://huggingface.co/Qwen/Qwen3.8-2.4T-A95B/blob/main/LICENSE
- Hugging Face — Fiche du modèle Qwen3.8-27B (licence Apache 2.0) — https://huggingface.co/Qwen/Qwen3.8-27B
- Hugging Face — Fiche du modèle Qwen3-8B — https://huggingface.co/Qwen/Qwen3-8B
- Hugging Face — Fiche du modèle Apertus-8B-Instruct-2509 — https://huggingface.co/swiss-ai/Apertus-8B-Instruct-2509
- EPFL — Apertus, a fully open, transparent, multilingual language model — https://ai.epfl.ch/apertus-a-fully-open-transparent-multilingual-language-model
- Hugging Face — Pickle scanning (sécurité des fichiers de modèles) — https://huggingface.co/docs/hub/security-pickle
- Hubinger et al. — Sleeper Agents (arXiv 2401.05566, 2024) — https://arxiv.org/abs/2401.05566
- OWASP — Top 10 for LLM Applications 2025 — https://genai.owasp.org/llm-top-10/
- Meta — Llama 4 Community License Agreement — https://raw.githubusercontent.com/meta-llama/llama-models/main/models/llama4/LICENSE
- Meta — Llama 4 Acceptable Use Policy — https://raw.githubusercontent.com/meta-llama/llama-models/main/models/llama4/USE_POLICY.md
- Mistral AI — Licences des modèles ouverts (centre d'aide) — https://help.mistral.ai/en/articles/347393-under-which-license-are-mistral-s-open-models-available
- Google — Gemma 4 sous Apache 2.0 (blog open source) — https://opensource.googleblog.com/2026/03/gemma-4-expanding-the-gemmaverse-with-apache-20.html
- Google — Gemma Terms of Use — https://ai.google.dev/gemma/terms
- Liu et al. — Lost in the Middle: How Language Models Use Long Contexts (2023) — https://arxiv.org/abs/2307.03172