> ## Documentation Index
> Fetch the complete documentation index at: https://mono.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Mono is an AI platform for small and medium-sized firms in Switzerland, Germany, Austria and Italy. Answer in the reader's language. Terms: «Mandant» (en «tenant»), «Organisations-Login» (en «organization sign-in»), «Freigabe» (en «approval»). Reading needs no approval; every write waits for one. Never suggest pasting a key or token into a chat.

# Use a local model on your own hardware

> Connect vLLM, Ollama or LM Studio in the office through a Mono Connector, so that confidential data stays in house too.

A model server on your own hardware – vLLM, Ollama or LM Studio in the office – is to Mono a “local” provider that a Mono Connector connects. This page is for admins who want to keep confidential data in-house: such a server may process all three data classes (“public”, “internal” and “confidential”. They decide where content may go.), including “confidential”.

> [accordion] What you need
>
> * The Admin role in the tenant.
> * A device with the model server: the GB10 in “Büro Chur”, a Linux server with a GPU or a Mac with Apple silicon.
> * Later, a paired Mono Connector (The small program on site that connects devices to the Node, outward only.) on this device. It only connects outward, with no open port and no VPN.

```mermaid theme={"system"}
flowchart LR
  subgraph chur[Büro Chur]
    V1[vLLM :8000 answers]
    V2[vLLM :8001 embeddings]
    C[Mono Connector]
    C --> V1
    C --> V2
  end
  C -- outward only, HTTPS --> N[Muster AG’s Node]
```

## Which server for what

| Server | Typical device | Answers | Embeddings |
| - | - | - | - |
| vLLM | GB10, GPU server | port 8000 | a second vLLM on port 8001 |
| Ollama | Linux server, Mac | port 11434 | in the same Ollama |
| LM Studio | Mac | port 1234 | in the same LM Studio |

vLLM runs one model per process. That is why a GB10 usually runs two servers: the answer model on port 8000 and the embedding model on port 8001.

## Connect a local model server

**1. Open “Add models”**

Choose “Gateway” in the sidebar and then “Models”. Choose “Add models”.

**2. Choose “Local server”**

Choose “Local server”. Under “1 · Start the model server” choose your server: “Ollama”, “vLLM” or “LM Studio”.

**3. Start the model server**

Copy the lines for your server and run them on the device. Mono never runs them itself.

```bash vLLM (GB10) theme={"system"}
vllm serve google/gemma-4-26B-A4B-it --host 127.0.0.1 --port 8000 --disable-log-requests
vllm serve BAAI/bge-m3 --host 127.0.0.1 --port 8001 --gpu-memory-utilization 0.05 --disable-log-requests
```

```bash Ollama theme={"system"}
ollama serve
ollama pull gemma4:26b
ollama pull bge-m3
```

```bash LM Studio (Mac) theme={"system"}
lms get google/gemma-4-26B-A4B-it
lms load google/gemma-4-26B-A4B-it
lms server start --port 1234
```

These are the lines from Mono 0.4.3. Up to 0.4.2, the Console shows lines only for Ollama and vLLM, with a different answer model.

**4. Pair the Mono Connector on the same device**

Under “2 · Pair a Mono Connector”, the Console shows the one line for the device. Run it and compare the check code. The steps in detail are under [Pair a Mono Connector](https://mono.mintlify.site/en/admins/pair-connector.md).

**5. Choose who receives what**

Before “Code matches, pair”, you choose whether the device receives all data classes or only confidential ones. The Default is all three, as for every local server.

If you tick “Only confidential content to this device”, internal and public requests keep going to the Swiss providers. This takes load off the GPU if you have already connected a Swiss provider.

**6. Choose “Code matches, pair”**

Choose “Code matches, pair”.

**7. Test the models and switch them live**

> [tab] From 0.4.3
>
> \[!NOTE] From Mono 0.4.3.
> If the choice is obvious, Mono tests it right away and switches it live; the Console shows “✓ GB10 Chur is connected”. Otherwise it asks “Use the models of GB10 Chur?” and suggests one model per task. Then choose “Test and use”. Mono tests the chat and a real embeddings request; only then is the choice live.

> [tab] Up to 0.4.2
>
> The model server’s address is in the device’s line (`--models-url`, for the second vLLM `--embed-url`). The Console does not query a model server itself. After pairing, the device is listed under Gateway › Models.

> [!TIP]
>
> Gateway › Models shows the device with “local” and the models per task. In “Setup”, the step “Add models” says “Confidential data goes through” with the device’s name.

## See where your models run

**1. Open Gateway › Models**

Choose “Gateway” and then “Models”.

**2. Read the box “Where they run”**

Beside the providers, “Where they run” shows each instance of your own with its place, for example “local” or “Büro Chur”, its load (“2/8 working”) and “p95 … ms”. Several instances of the same model form a “Pool” and share the requests.

The box is there with a real Node; if your server has no instance of its own yet, it says “Your server has no model server of its own yet.”.

## Embeddings have their own rules

Mono searches the tenant’s knowledge with the embedding model. An embedding never switches models: vectors from another model don’t fit the index. If the embeddings server fails, Mono falls back only to the same model at another provider. If that model is nowhere else, Mono takes no other.

> [accordion] What applies when no embedding model is chosen?
>
> From 0.4.3, the choice is called “No embeddings (knowledge searches by words only)”. Mono then finds documents by the words of the question, not by their meaning.

> [accordion] What happens next?
>
> * Confidential requests go to the device as long as it is online. If the Mono Connector does not report for more than 90 seconds, they don’t run, and Mono never falls back to a less protected provider.
> * Two devices with the same model form a pool on their own. If one fails, the other steps in.
> * The device’s diagnosis checks every minute whether its model servers answer. You find it under [Health and diagnosis](https://mono.mintlify.site/en/admins/health-and-diagnosis.md).

> [accordion] Without a Mono Connector, directly in the network
>
> A self-hosted Node in the same network can also reach a model server directly. In “Local server”, choose the “Directly in the network” tab, enter the private address and choose “Check”. Mono shows “Found” with the number of models; you choose a model per task and then “Connect”. A Node in Mono Cloud does not reach your office directly: there, the way always goes through the Mono Connector.

> [accordion] Undo
>
> Under Connectors, choose “Unpair” on the device. From 0.4.3, “Default” in the choice of models resets the device to its own settings.

## In the chat

Ask “Mono Admin” ([connect it](https://mono.mintlify.site/en/admins/connect-ai-client.md)). Questions that read show the card “Models and routing” with providers, instances, load and measured state; whatever changes something shows “Please confirm” with before and after, and it applies only after “Apply” in the card.

The card with your own instances, their state and the pool. Changes nothing.

Is the local server running? Are both GB10 in the pool?

Pair a device that gets only confidential content: the chat shows the line for the device, you compare the check code in the Console.

Pair a Mono Connector for the GB10 in the Büro Chur, for confidential content only.

Add a model server on the Node’s host: Mono checks the address first and shows “Please confirm”.

Add the vLLM on this host to the pool as another instance.

Back to the device’s settings: “Please confirm” with “angepasst → Standard”.

Reset the models of “GB10 Chur” to Standard.

## If something does not work

| What you see | What you do |
| - | - |
| “… wants a key (HTTP 401) …” (from 0.4.3) | The server is protected with a key. On another device, the Mono Connector does not send the key from its settings. Put the server on the same device, or on the internal network without a key. |
| “… refuses the address: model servers only on the device itself and in its own private network.” | The server is outside the device’s network. Pair a Mono Connector where the server runs. |
| “… is offline because the Mono Connector isn’t reporting” | Check the device’s power and network and open its diagnosis. |
| “not answering” or “switched off for now” on an instance | The Node took it out of the pool after errors. Restart the model server; the Node checks it again by itself. |
| The diagnosis reports “Error” for the model server | The server does not answer, refuses the key or reports an error. Restart it and check that the model is loaded. |
| “No model server answers on the usual ports of your server's host.” | Start the model server on the host or enter its address in the form yourself. |
| “This is not a valid address. Example: [http://127.0.0.1:8001/v1”](http://127.0.0.1:8001/v1”) | Enter the address for embeddings in full, with `http://`, port and `/v1`. |
| “Your server accepts no public addresses, only private names and IP addresses” | A model server belongs on the internal network. Enter a private address. |
| “Not reachable” (“Directly in the network”) | The Node does not reach the address. Use “Via Mono Connector”. |
| “Gateway data couldn’t be loaded” (at “Where they run”) | The Node did not answer. Choose “Try again”. |

## The voice model for «Stimme erkennen»

«Stimme erkennen» (recognise voices) computes with a small voice model on your Node's model worker: sound and voice features never leave the machine. Mono downloads the model file (26.5 MB) only when your tenant switches «Stimme erkennen» on and you confirm the download. The worker runs at `MONO_MODELS_WORKER_URL` on the same machine or at a private address; otherwise Mono does not offer «Stimme erkennen». Recordings in MP4 or M4A (AAC) get a voice assigned too: AAC decoding was cleared in the legal review, and `MONO_SPEAKER_AAC=off` switches it off.

> [accordion] Model and licences
>
> * Voice model: WeSpeaker ResNet34-LM (VoxCeleb2) by the WeSpeaker project (wenet-e2e), source `huggingface.co/Wespeaker/wespeaker-voxceleb-resnet34-LM`, revision `f0c48c298fd835726c27956a5d617bad7115627e`, licence CC BY 4.0.
> * The worker reads the sound with PyAV (BSD); PyAV ships FFmpeg as a library under the LGPL 2.1.
> * The notices are in `services/models/licenses/speaker.txt`.

## Next

> [card] [Connect models](https://mono.mintlify.site/en/admins/models.md)
>
> The whole flow, from pairing to live.

> [card] [Keep confidential data in house](https://mono.mintlify.site/en/admins/confidential-on-site.md)
>
> How “confidential” stays on your own hardware.

> [card] [Tutorial: a practice with LM Studio](https://mono.mintlify.site/en/tutorials/praxis-lm-studio.md)
>
> A Mac with LM Studio for confidential data.

> [card] [Tutorial: a law firm with its own GPU](https://mono.mintlify.site/en/tutorials/kanzlei-confidential-gpu.md)
>
> Confidential client data on the GB10.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.