# Ollama auf VPS installieren – LLM lokal hosten (DSGVO)

Ollama auf VPS: Installation, Modelle laden, API nutzen, RAM/VRAM, Open WebUI – KI lokal in Frankfurt ohne OpenAI-Abhängigkeit.

**Kurzantwort:** **Ollama** auf VPS = lokale KI-Modelle ohne Cloud. Install: `curl -fsSL https://ollama.com/install.sh | sh`, dann `ollama pull llama3`.

**Wenn du hier landest:** Du willst ChatGPT-ähnliche KI **DSGVO-konform** auf eigenem Server in Deutschland betreiben.

## Installation

`# Ubuntu VPS (8 GB+ RAM empfohlen)
curl -fsSL https://ollama.com/install.sh | sh

# Modell laden
ollama pull llama3
ollama pull mistral

# Testen
ollama run llama3 "Erkläre Docker in 3 Sätzen"

# API läuft auf Port 11434
curl http://localhost:11434/api/generate -d '{
  "model": "llama3",
  "prompt": "Hallo!",
  "stream": false
}'`
## Mit Open WebUI (Docker)

`docker run -d -p 3000:8080 \
  --add-host=host.docker.internal:host-gateway \
  -v open-webui:/app/backend/data \
  --name open-webui \
  ghcr.io/open-webui/open-webui:main`
## RAM-Übersicht

ModellRAM (Q4)

llama3 8B~6 GB

mistral 7B~5 GB

llama3 70B Q4~40 GB

## Weiterführend

- [Open Source AI Models](/de/open-source-ai-models)
- [AI LLM Integration](/de/ai-llm-integration)
- [Open WebUI installieren](/de/selbst-hosten/open-webui-installieren)
- [VPS Vergleich](/de/root-v-server/vps-vergleich-deutschland)
*Selbst hosten auf VPS: [VPS bestellen](https://nexorahost.com/Dedicated-server) · [panel.nexorahost.de](https://panel.nexorahost.de) · [nexorahost.com](https://nexorahost.com) (Frankfurt · DSGVO · NVMe)*
