Updated 27 November 2026

Service · Local AI

# Local LLMs for business: _you decide where your data runs._

A local LLM runs on your own devices or servers instead of in a provider's cloud. We run models in three places: EU-hosted through our AI gateway, as small open models in the browser, and offline in a closed system. Which one fits depends on which data may leave your building and how hard the task is. Each place costs you something different in quality, speed or effort. On the gateway route you control budgets and the log yourself, and the gateway replaces e-mail addresses, IBANs, phone numbers and the names your system passes on with placeholders.

[Start your brief ](https://miragedigital.de/contact)[The three places](https://miragedigital.de/local-ai#three-places)

Whether your setup meets the GDPR is for your data protection officer and your lawyers to judge. We show what the technology does with the data.

Outside the EU only if the use case's policy allows it

EU-hosted through the gatewayThe text goes to a data centre in the EU

Offline in a closed systemThe text stays on your network

In the browserThe model runs on the device

Your data

Three frames around your data, from the inside out: in the browser the model runs on the device, offline the text stays on your network, EU-hosted it goes through the gateway to a data centre in the EU. The dashed outer frame stands for locations outside the EU, which a use case only uses if its policy allows it.

Author

Lehel Kakonyi

Founder of Mirage Digital

We have spent more than 20 years building and scaling digital businesses, in commerce and marketplaces, connected cars, IoT and logistics. That taught us how technology behaves in day-to-day operations: between systems, teams and processes, and under the pressure of running a business.

Today we bring that experience to AI. We build and run AI agents ourselves, in our own products Mirage Scout, Office and Academy, and in solutions we build with clients. We know what it takes to get AI from a demo into production, and where it creates measurable value for the business.

Mirage is an independent technology company in Berlin. We help businesses turn AI into a dependable part of how they work.

[Profile on LinkedIn →](https://www.linkedin.com/in/lehel-kakonyi-90903834/)

01 · Three places

## A local LLM is one of three places your model can run, and each suits different data

For us, local means one of two things: in the browser on the device, or offline on a server on your network. The third place is a data centre in the EU, reached through our AI gateway.

1. Your systemGatewayData centre in the EU  
01  
### EU-hosted through the gateway  
Large language models run in a data centre that you reach through our AI gateway. By default the gateway only takes models hosted in the EU. A request leaves the EU only if its use case's policy allows it.  
Suits  
Tasks a small model cannot handle, such as long documents or weighing things up over several steps  
What you give up  
The text leaves your network, and every request costs money. You govern both with policies and budgets.
2. InputBrowser on the device  
02  
### In the browser  
A small open model is downloaded to the device once and then runs in the browser of the person using it. For the model run, what they type stays on their device.  
Suits  
Short, clearly bounded tasks at one person's desk  
What you give up  
The device needs enough power, the first start takes minutes, and a small model can do less than a large one.
3. Your systemServer on your network  
03  
### Offline in a closed system  
The models run on a server on your network, with no connection to the outside. It fits when data must stay in the building, at a bank or an insurer for example.  
Suits  
Data that must not leave your building  
What you give up  
Servers, updates and operation are yours, and the models are smaller than in a data centre.

Three places side by side. Above each column is the route the text takes: through the gateway to a data centre in the EU, only as far as the browser on the device, or to a server on your network. Below it is what the place suits and what you give up there.

02 · Decision

## For a local LLM in your business, two questions settle the place

We ask them in the first conversation, for each use case on its own. A company can use different places for different use cases.

1. 01  
### May the text leave your network?  
Your policies, your contracts and your data protection officer decide that. If HR files, patient data or account details must stay in the building, only a model on your network will do. If a small model at the desk is enough for the task, the browser works too.

  * NoOffline in a closed system
  * Yes

    1. 02  
      ### Is a small model enough, and does a person work with it on their own computer?  
      Small models handle short, clearly bounded tasks, as our measurement in the next chapter shows. If both hold, the model can run in the browser. For long documents, hard trade-offs or tasks that run in the background with no person involved, we use a larger model through the gateway.

      * YesIn the browser
      * NoEU-hosted through the gateway

A decision tree with two questions. If the text must not leave your network, the route leads offline to a closed system. If it may and a small model on the person's own computer is enough, it leads to the browser. Otherwise it leads to an EU-hosted model through the gateway.

03 · Measurement

## In the browser, five small models solved all six test tasks on the one device we measured

Download at mostany1 GB1.5 GB2.5 GB3 GBSpeed at leastany30 tokens/s40 tokens/s60 tokens/s

5 of 5 models fit: Qwen3-1.7B, Qwen3.5-2B, Phi-4-mini, Qwen3-4B, Gemma 4 E2B.

Test of 10 November 2026 · Mac with Apple M4 Pro, 24 GB · Chrome 157

| Model       | Download | First start | Later start | Tokens per second | Tasks solved | Licence    | Within your limits |
| ----------- | -------- | ----------- | ----------- | ----------------- | ------------ | ---------- | ------------------ |
| Qwen3-1.7B  | 0.99 GB  | 1:42 min    | 0.9 s       | 64.0              | 6/6          | Apache-2.0 | yes                |
| Qwen3.5-2B  | 1.08 GB  | 2:00 min    | 1.2 s       | 45.5              | 6/6          | Apache-2.0 | yes                |
| Phi-4-mini  | 2.18 GB  | 2:57 min    | 2.0 s       | 38.1              | 6/6          | MIT        | yes                |
| Qwen3-4B    | 2.28 GB  | 3:12 min    | 1.9 s       | 32.5              | 6/6          | Apache-2.0 | yes                |
| Gemma 4 E2B | 2.84 GB  | 4:43 min    | 3.0 s       | 21.5              | 6/6          | Apache-2.0 | yes                |

Rule: a model fits when its download is at most as large and its output at least as fast as set. This only filters the table from one device. We have no figures for other devices.

First start: downloading and loading the model in the test. Later start: loading it from the browser's storage. Licence as stated on the model card, checked on 10 November 2026\. We did not measure other devices or browsers. Qwen3.5-2B ran with its thinking mode on, so its speed is not directly comparable with the others.

The measurement table with five models and two settings: largest download and lowest speed. Models outside the limits are marked as not fitting. Every number stays in the table.

On 10 November 2026 we tested open models directly in the browser, with WebLLM 0.2.86 on WebGPU. Each model got three kinds of task, each in German and in English, six tasks in all: pull the details from a short self-introduction into JSON, call a tool with the right values, and answer a question from given passages, citing the source. A program checked each answer against fixed rules.

Five models solved all six tasks. Other small models in the same test solved fewer. The smallest of the five, Qwen3-1.7B, was also the fastest. The first start took from just under two to almost five minutes, because the model has to download first. After that it sat in the browser's storage and was ready in 0.9 to 3.0 seconds.

We measured on a single device. We have no figures for weaker laptops, phones, Windows machines or other browsers, where a model may run slower or not start at all. So before a project we measure on the devices your people actually use.

04 · On-premise

## On-premise AI, as we build it: four kinds of offline AI models on your network, with no connection to the outside

An on-premise LLM is one of these building blocks. Searching documents or spotting names often needs no language model at all, because smaller, specialised models do that job.

Your network, no connection to the outside

1. ### Search in your documents  
Embedding models turn paragraphs into vectors of numbers, so a search finds similar passages even when they use other words.  
Models: multilingual-e5MiniLM
2. ### Recognise names and terms  
Named entity recognition models find people, companies and places in a text, for example to redact them or link them to your master data.  
Models: BERT NERGerman NER (our own model)
3. ### Speech to text  
Whisper turns spoken recordings into text. The recording stays on your network while it does.  
Models: Whisper
4. ### Short answers from your texts  
Small language models answer questions from given passages and pull details out of texts. This is the on-premise LLM in the narrow sense.  
Models: Qwen3-1.7BQwen3-4BPhi-4-miniGemma 4

We set up the models, measure them on your tasks and hand operation over to your team.

A server rack inside a dashed boundary that stands for your network with no connection to the outside. Four units: document search with multilingual-e5 and MiniLM, recognising names and terms with BERT NER and our own German NER, speech to text with Whisper, short answers with Qwen3-1.7B, Qwen3-4B, Phi-4-mini and Gemma 4.

05 · Data path

## What GDPR-compliant AI means in practice: the data path of a request through our gateway

For the EU-hosted place we set up the gateway for your project. A request passes six stations there. The first and the fourth are among those that can refuse it.

1. ### Check the input  
When a person typed the text, the gateway cleans it and checks its length, known prompt injection patterns and whether it fits the use case's topic.  
Can refuse here
2. ### Insert placeholders  
Before a model sees the text, e-mail addresses, IBANs and phone numbers become placeholders. The gateway replaces names only when your system passes them on; a name it has not been told about, it will not find on its own.  
InputCall back anna.berg@example.de or 030 1234567  
What the model readsCall back \[EMAIL\_1\_a3f9\] or \[PHONE\_1\_a3f9\]
3. ### Pick a model in the EU  
The model must be one the use case may use, hosted in the EU. A location outside the EU needs the use case's policy to allow it, and for use cases that evaluate people the database refuses that policy outright.
4. ### Check the answer  
When a person asked the question, the gateway checks the answer too. If it contains parts of the system prompt, code where the use case allows none or the wrong format, your application never receives it.  
Can refuse here
5. ### Log without text  
The gateway logs a checksum, the token count, the cost and, after a refusal, the check that refused. Your text is not stored there, and by default the entry is deleted after 183 days.
6. ### Put the real values back  
If the use case needs the real address or number, this is where it goes back into the answer.

If a check in the gateway cannot run, the gateway refuses the request. It also refuses when a budget is empty, the maximum number of requests per minute is reached or no allowed model is available.

The path of a request through the gateway in six stations: check the input, insert placeholders, pick a model in the EU, check the answer, write a log without text, put the real values back. At the second station an example turns an e-mail address and a phone number into placeholders. The first and the fourth station are among those that can refuse the request.

06 · Cost and access

## You cap the cost yourself: per company, per use case and per person

A model in the browser or on your own network has no fee per request. On the gateway route, we set the limits the way you decide them.

Limits for your project

* ### Company budget  
We agree the limit for your company together. Each call first books its estimated cost against the budget. Once the budget is used up, the call ends in a refusal and no provider charges anything.  
limit set
* ### Budget per use case  
A single use case can have its own limit, which applies on top of the company budget.  
own limit
* ### Caps per person  
Caps for individual people are set together with you. Such a cap cannot sit above the company budget.  
never above the company budget
* ### Requests per minute  
Each use case has a maximum number of requests per person per minute, and a burst of parallel requests cannot get past it either.  
maximum per minute

A control panel with four limits: the company budget, a budget per use case, indented below them the caps per person, which never sit above the company budget, and a maximum number of requests per person per minute. The three budgets are highlighted because a cost limit holds there.

[How we plan costs in an AI implementation →](https://miragedigital.de/ai-implementation)

07 · Sovereignty

## Sovereign AI means you switch models, turn use cases off and read back every change

This applies on the gateway route. With open models in the browser or offline, the model files sit with you anyway.

1. Switch  
### Switch the model  
Which models a use case may use is a list in the gateway. When the list changes, your application stays as it is.  
WhereList of allowed models per use case
2. Turn off  
### Turn a use case off  
One switch stops a single use case, and from then on the gateway refuses every new request for it. The others keep running.  
WhereSwitch per use case
3. Read back  
### Read back every change  
Whoever changes a limit, a model or a switch is recorded in the change log, with the state before and after. The log only takes new entries; old ones stay as they are.  
WhereCall log and change log
4. Approve  
### Approve models for high-risk use  
Where AI evaluates people, for example in hiring or grading, the gateway only uses a model that the administrator has approved. The approval needs a side-by-side report and a statement that the fairness check passed. Without them, the database does not accept it.  
WhereApproval list for high-risk use cases

Four keys that sit with you: Switch, Turn off, Read back and Approve. Under each key is what it does and where it is set. Approve is highlighted because a person decides there.

08 · Price and timeline

## You know your price as one number before signing, and the earliest first results arrive after a week

Small projects

below 5,000€

Small projects stay below 5,000€. You get one number before you sign.

Large projects

above 50,000€

Large projects can cost more than 50,000€. Where yours lands depends on the solution.

In every offer

* One number before you sign
* No hourly billing
* AI usage through the gateway only up to your budgets

Timeline

1. Before you signtimeline and fixed price
2. From one weekfirst results at the earliest
3. Up to a year or longerlarge projects

Two price cards: small projects below 5,000€, large ones above 50,000€. Next to them is what every offer includes: one number before you sign, no hourly billing, AI usage through the gateway only up to your budgets. Below is the timeline from signing to large projects that take a year or longer.

We do not bill by the hour. Small projects stay below 5,000€, large ones can cost more than 50,000€; you get one number before you sign. Where yours lands follows from the solution we agree on.

As a rule you pay a setup fee. If requests run through the gateway, you pay for AI usage on top, at most up to the budgets from chapter 6.

We give you the timeline with the fixed price. A large project can take a year, sometimes more.

## Questions we hear

### What is a local LLM, and does it really run without the internet?

A local LLM is a language model that runs on your own device or server. In the browser, the device downloads the model once and then does the work itself. Offline in a closed system, it runs with no connection to the outside at all.

### Is an EU-hosted model enough, or does it have to be on-premise?

That depends on whether the text may leave your network. If it may, a model in the EU through our gateway is enough for many tasks. If it may not, an on-premise LLM fits, or for short tasks at the desk, a small model in the browser.

### Is a local model automatically GDPR compliant?

No. Whether a setup meets the GDPR depends on the data, the purpose and the contracts, and your data protection officer and your lawyers judge that. We show where the text goes and what happens to it on the way: placeholders, an EU location by default and a log without text.

### How good are small local models compared with large ones?

For short, clearly bounded tasks they can be enough: in our test, five small models solved all six tasks in the browser. We have not tested them on long documents or reasoning over many steps. For those we use a larger model through the gateway.

### What does a private LLM deployment cost?

Small projects stay below 5,000€, large ones can cost more than 50,000€. You get one number before you sign, usually as a setup fee. For requests through the gateway, AI usage comes on top, capped by your budgets.

### How long does it take?

The earliest you see first results is after one week. Big projects can run a year or longer, and the exact plan comes with the fixed price.

### How do we keep costs under control?

With budgets in the gateway: one for the company, one per use case if you want, and caps per person that we set together with you. Once a budget is empty, the call never reaches a provider. Models in the browser or offline have no fee per request.

### Which models do you use, and under which licence?

Among others, the gateway can connect Gemini on Vertex AI in an EU region and Mistral. Claude on Anthropic's API and OpenAI's embeddings do not run through an EU location; a use case takes those routes only if its policy explicitly allows it. In the browser and offline: open models such as Qwen3, Phi-4-mini and Gemma 4\. According to their model cards, checked on 10 November 2026, Qwen3 and Gemma 4 are under Apache-2.0 and Phi-4-mini under MIT. Your lawyers check the licences for your project.

### What does sovereign AI mean in practice?

You can switch the model per use case, turn a use case off and read back every call and every change. Models for use cases that evaluate people are approved by the administrator. With open models in the browser or offline, the model files sit with you.

### How is this different from AI agents or an AI implementation?

This page is about where a model runs. What an agent does in your systems is on our AI agents page. How to roll out AI across a company step by step is on the AI implementation page.

## Which data must not leave your building?

Tell us in the brief, together with the task. We will tell you which of the three places fits.

[Start your brief ](https://miragedigital.de/contact)[Roll out AI in your company](https://miragedigital.de/ai-implementation)
