Installing Apertus locally

Updated

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

ModelApproximate memorySuitable for
Apertus 8B (compressed)About 6 GBRecent laptop, workstation
Apertus 70B (4-bit)About 48 GBServer or very well-equipped workstation
Apertus 1.1 MiniLowModest machines, testing

Orders of magnitude reported by swissAI based on official information; full precision needs several times more memory.

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).

  1. Install Ollama from ollama.com.
  2. Download the model:
    ollama pull MichelRosselli/apertus-v1.1
  3. 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.

Good practice

Need help with an installation in your company? See Local AI in French-speaking Switzerland.

Sources

Sources consulted on 29 November 2026.