Installing Apertus locally
Installing Apertus on your own hardware ensures that your data never leaves your machine. The simplest route is Ollama with a community build; for production, use the official Hugging Face weights with Transformers or vLLM.
Hardware required
| Model | Approximate memory | Suitable for |
|---|---|---|
| Apertus 8B (compressed) | About 6 GB | Recent laptop, workstation |
| Apertus 70B (4-bit) | About 48 GB | Server or very well-equipped workstation |
| Apertus 1.1 Mini | Low | Modest machines, testing |
Orders of magnitude reported by swissAI based on official information; full precision needs several times more memory.
Memory needed by model size
A model has to fit in the computer’s memory (RAM, or the graphics card’s memory). The sizes below are those of the published files; add the memory used by the conversation (the “context”) and by the system.
| Model (build) | File size | Recommended memory (rough guide) |
|---|---|---|
| Apertus 1.1 Mini 0.5B (Ollama, bf16) | 1.2 GB | 4 GB or more |
| Apertus 1.1 Mini 1.5B (Ollama, bf16) | 3.0 GB | 8 GB |
| Apertus 1.1 Mini 4B (Ollama, bf16) | 7.7 GB | 16 GB |
| Apertus 8B, 4-bit quantised (Ollama, q4_k_m) | 5.1 GB | 8 GB minimum, 16 GB recommended |
| Apertus 1.5 8B, 8-bit (GGUF Q8_0, text only) | 8.6 GB | 16 GB |
| Apertus 8B, full precision (Ollama, bf16) | 16 GB | 24 to 32 GB |
| Apertus 70B, 4-bit quantised (Ollama, q4_k_m) | 44 GB | 64 GB |
| Apertus 70B, full precision (Ollama, bf16) | 141 GB | Server with several GPUs |
Sizes read on 3 December 2026 on Ollama (community builds by Michel Rosselli) and Hugging Face (Q8_0 build by Andreas Martin, verified by the project). Measured example published on Hugging Face: Apertus 8B in Q8_0 takes 8.8 GB, plus 1.7 GB for a context of about 8,000 tokens. LM Studio recommends at least 16 GB of memory. Note: the command ollama pull MichelRosselli/apertus-v1.1 downloads the 4B version (7.7 GB) by default.
Ollama commands by size
ollama run MichelRosselli/apertus:8b-instruct-2509-q4_k_m
ollama run MichelRosselli/apertus-v1.1:1.5b-instruct-bf16
ollama run MichelRosselli/apertus:70b-instruct-2509-q4_k_m
These Ollama builds correspond to Apertus 1.0 (8B, 70B) and 1.1 Mini. Text support for Apertus 1.5 was added to llama.cpp, the engine behind Ollama and LM Studio, on 1 December 2026; it will reach these tools with their next updates.
Method 1: Ollama (the simplest)
The project documentation lists community builds for Ollama. They are not officially supported by the Apertus team, and the current 1.5 builds are text-only (no image or audio).
- Install Ollama from ollama.com.
- Download the model:
ollama pull MichelRosselli/apertus-v1.1 - Run it and ask your question:
ollama run MichelRosselli/apertus-v1.1
GGUF versions verified by the project also exist for version 1.5 8B and version 1.0; see the Ollama page of the documentation for the current list.
Method 2: official weights on Hugging Face
The official models are published by the swiss-ai organisation, for example swiss-ai/Apertus-v1.5-8B and swiss-ai/Apertus-v1.5-70B. For the 1.5 weights, you must accept the terms of use on Hugging Face (automatic approval according to swissAI). Deployment is supported by the open-source frameworks Transformers and vLLM.
pip install vllm
vllm serve swiss-ai/Apertus-v1.5-8B
Generic vLLM command to serve a Hugging Face model; adapt it to your graphics card and check the model card.
Method 3: LM Studio (graphical app)
LM Studio is a free (not open source) app for macOS, Windows and Linux that lets you download and use a model without the command line.
- Check your setup: Apple silicon Mac (M1 to M4) with macOS 14 or later; Windows x64 PC with AVX2 instructions, or Windows ARM; Linux (AppImage, Ubuntu 20.04 or later). 16 GB of memory recommended; on a PC, 4 GB of dedicated graphics memory recommended.
- Install LM Studio from lmstudio.ai.
- In the model search, type “Apertus 1.5”. On a Mac, choose a community MLX build (for example by Andreas Martin or mlx-community). An indicator shows whether the model fits in your memory.
- Download the model (about 15 minutes on a fast connection, according to the project’s documentation), then load it.
- Apply the system prompt and temperature recommended on the swiss-ai page of the LM Studio hub, then start chatting.
Method 4: Open WebUI (web interface for a team)
Open WebUI is an open-source chat interface that you install on your computer or an internal server. It connects to Ollama and can, for example, put the same question to several models side by side. You need Docker and Ollama already installed with an Apertus model.
- Start Open WebUI with the command from its official documentation:
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:main - Open
http://localhost:3000in your browser and create the local administrator account requested at first launch. - Pick the Apertus model downloaded with Ollama in the model selector, then type your request.
For team use, keep Open WebUI on the internal network and create one account per person.
Troubleshooting
- “unknown model architecture: 'apertus'”
- Your tool uses an outdated version of llama.cpp. Update Ollama or LM Studio (the project specifies llama.cpp b6686 or later; LM Studio 0.3.30 works with the GGUF builds of Apertus 1.0).
- “Failed to load the model” (LM Studio)
- Not enough memory. Choose a lighter (4-bit) or smaller (8B, Mini) version. You can turn off LM Studio’s guardrail, but the computer may freeze if memory runs out.
- “The AI has nothing to say” or truncated answers
- The context is full: too many attached documents, an overly long prompt or active tools. Start a new conversation or remove documents.
- Answers are very slow
- The model does not fit in graphics memory and runs partly on the processor. Use a lighter version, close memory-hungry apps, or switch to 8B.
- Images or audio are ignored
- The community builds of Apertus 1.5 for Ollama and llama.cpp are text only. For images, use the official weights with vLLM or an online service.
- Access error when downloading the weights from Hugging Face
- The 1.5 weights require you to accept the terms of use on the model page (instant approval), then to log in with a Hugging Face token.
- Open WebUI does not see Ollama’s models
- Check that the Docker command includes the option
--add-host=host.docker.internal:host-gatewayand that Ollama is running. - The model answers in another language
- Ask for it explicitly at the start of your message, for example “Answer in English”.
Technical terms (quantisation, GGUF, context…): see the glossary.
Good practice
- Start with the 8B version to validate your use cases, then move to the 70B if needed.
- To answer from your own documents, combine the model with document search (RAG).
- Keep the machine up to date and restrict network access to the service if the data is sensitive.
Need help with an installation in your company? See AI services for SMEs.
Sources
- apertus-ai.org – Ollama (builds communautaires)
- apertus-ai.org – Documentation, versions et licences
- Hugging Face – fiche du modèle swiss-ai/Apertus-v1.5-70B
- Hugging Face – organisation swiss-ai
- swissAI – Utiliser Apertus (7 octobre 2026)
- Ollama – build communautaire Apertus 8B / 70B (tailles des fichiers)
- Ollama – build communautaire Apertus 1.1 Mini (tailles des fichiers)
- Hugging Face – Apertus 1.5 8B en GGUF Q8_0 (Andreas Martin, texte seul)
- Hugging Face – discussion « unknown model architecture: apertus »
- llama.cpp – prise en charge du texte d’Apertus 1.5 (1er décembre 2026)
- LM Studio – configuration requise
- apertus-ai.org – utiliser Apertus avec LM Studio
- LM Studio – réglages recommandés pour Apertus (swiss-ai)
- Open WebUI – dépôt officiel et installation
Sources consulted on 3 December 2026.