Eigenes ChatGPT auf dem eigenen Rechner: Anleitung mit Ollama und Open WebUI
Ein lokales ChatGPT ohne monatliche Gebühren ist machbar: Mit Ollama wird ein Sprachmodell heruntergeladen, Open WebUI liefert eine ChatGPT-ähnliche Oberfläche im Browser. Die Gespräche bleiben auf dem eigenen Computer.

Möchtest du ein eigenes ChatGPT, das auf deinem Rechner läuft, keine monatliche Gebühr kostet und deine Gespräche auf deinem Computer behält? Das ist heute möglich. Mit einem kostenlosen Programm namens Ollama lädst du ein Sprachmodell herunter, und mit Open WebUI erhältst du eine ChatGPT-ähnliche Oberfläche im Browser. Diese Anleitung führt dich durch die Einrichtung unter Windows, macOS und Linux. Programmierkenntnisse sind nicht erforderlich.
Seien wir klar: Das hier ist nicht das ChatGPT. ChatGPT ist ein Dienst von OpenAI. Was du jetzt installierst, ist ein offenes, herunterladbares Modell (zum Beispiel Googles Gemma 4), das auf deinem Rechner läuft. Du chattest damit auf ähnliche Weise, aber die Qualität hängt vom Modell und von der Leistungsfähigkeit deines Rechners ab.
Laut dem offiziellen Quickstart: "Wir empfehlen 8 GB verfügbaren VRAM oder Unified Memory auf einem Mac." Wenn du weniger VRAM hast, kann Ollama auch den Arbeitsspeicher des Systems nutzen, aber die Antworten können langsamer ausfallen. Ein größeres Kontextfenster benötigt mehr Arbeitsspeicher (Ollama Quickstart).
Auch der Download braucht Platz. Gemma 4 E2B ist laut derselben Seite etwa 7,2 GB groß. Laut der Windows-Dokumentation benötigt das Programm selbst mindestens 4 GB, und Modelle kommen oft mit einigen zehn bis Hunderten GB zusätzlich hinzu (Ollama Windows).
Ob das Modell auf der Grafikkarte oder auf dem Prozessor läuft, kannst du mit folgendem Befehl prüfen (Ollama FAQ):
ollama ps Vollbildmodus öffnen Vollbildmodus beenden Die Spalte Processor zeigt, wo sich das Modell befindet (100 % GPU, 100 % CPU oder aufgeteilt).
Der Download ist für alle drei Systeme an einer Stelle zu finden: ollama.com/download.
curl -fsSL https://ollama.com/install.sh | sh Vollbildmodus öffnen Vollbildmodus beenden Falls der Server nicht läuft, kannst du ihn laut Quickstart folgendermaßen starten:
ollama serve Vollbildmodus öffnen Vollbildmodus beenden Die Dokumentation empfiehlt außerdem, ihn als systemd-Dienst einzurichten. Die Schritte findest du hier: docs.ollama.com/linux. Beim Upgrade musst du zuerst die alten Bibliotheken entfernen (sudo rm -rf /usr/lib/ollama).
Tipp: Führe das Muster curl... | sh nur aus einer Quelle aus, der du vertraust. Es handelt sich um den Befehl, der in der offiziellen Dokumentation gezeigt wird.
Das Beispiel aus dem offiziellen Quickstart:
ollama pull gemma4:e2b ollama run gemma4:e2b Vollbildmodus öffnen Vollbildmodus beenden Der erste Befehl lädt das Modell herunter. Der zweite startet einen Chat im Terminal. Zum Beenden gibst du /bye ein (Quickstart).
Wenn du hier angekommen bist, hast du bereits deinen eigenen lokalen Chat. Aber das Terminal ist nicht für jeden bequem, daher folgt nun die Browser-Oberfläche.
Open WebUI ist eine ChatGPT-ähnliche Oberfläche, die im Browser läuft. Der offizielle Quick Start beschreibt zwei Wege (docs.openwebui.com).
Erzeuge zunächst mit dem Befehl openssl rand -hex 32 einen geheimen Schlüssel und setze dann dessen Ausgabe an die Stelle von your-secret-key:
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data -e WEBUI_SECRET_KEY = your-secret-key --name open-webui --restart always ghcr.io/open-webui/open-webui:main Vollbildmodus öffnen Vollbildmodus beenden Öffne danach: http://localhost:3000. Der erste Start kann etwa eine Minute dauern.
Laut der Dokumentation benötigst du Python 3.11 oder 3.12. Version 3.13 wird nicht unterstützt:
python -m pip install open-webui open-webui serve Vollbildmodus öffnen Vollbildmodus beenden Öffne danach: http://localhost:8080.
Auf dem ersten Bildschirm erstellst du ein Admin-Konto. Dieses Konto wird lokal erstellt, auf deiner eigenen Open-WebUI-Instanz, und das erste Konto ist der Administrator.
Open WebUI kommt mit einer eigenen Lizenz (LICENSE). Für die private Nutzung musst du dazu nichts weiter tun. Lies sie, bevor du sie in einem Unternehmen oder in einer Mehrbenutzer-Umgebung einsetzt.
Laut der Ollama-FAQ: "Ollama läuft lokal. Wir sehen deine Prompts oder Daten nicht, wenn du es lokal ausführst." Mit einem lokalen Modell sehen also auch deine Fragen nicht.
Standardmäßig lauscht Ollama nur auf Port 11434 von 127.0.0.1 (dein eigener Rechner). Die Adresse kann mit der Umgebungsvariable OLLAMA_HOST geändert werden (FAQ). Die lokale API hat keinen Schlüssel, daher kann sie jeder nutzen, der sie erreicht, sobald du sie im Netzwerk freigibst.
Wenn du nicht weißt, welches Modell du basierend auf dem Arbeitsspeicher deines Rechners herunterladen sollst, lies unseren Artikel: Lokale LLMs Ende 2026: Welches Modell lohnt sich und wofür es gut ist. Er enthält Empfehlungen nach Größe.
Viele Menschen suchen danach, wenn sie ihr "eigenes ChatGPT" möchten. In ChatGPT gibt es die Custom GPTs: eine konfigurierbare Version von ChatGPT, bei der du Name, Anweisungen und Wissensdateien festlegen kannst. Aber das ist keine lokale Lösung. Sie läuft im Dienst von OpenAI. Laut der OpenAI-Hilfeseite ist das Erstellen und Veröffentlichen neuer GPTs bei persönlichen Konten (Free, Go, Plus, Pro) nicht verfügbar. In Business-, Enterprise- und Edu-Workspaces hängt es von den Einstellungen ab. Die Hilfeseite schreibt außerdem über die Einstellung bestehender GPTs, wobei das übliche Datum der 11. Dezember 2026 ist (OpenAI Help). Wenn du also einen eigenen, kostenlosen Chat möchtest, den du selbst kontrollierst, ist Ollama der richtige Weg.
Dieser Artikel wurde zuerst auf Ungarisch auf AikaHub veröffentlicht: lies das Original. AikaHub ist eine kleine ungarische Community über die Nutzung von KI zu Hause und Self-Hosting, mit kostenlosen Browser-Spielen, die du ohne Installation spielen kannst: aikahub.com/playground. — Aika 🦊
Automatisch übersetzt. Das Original auf Englisch ist unten aufklappbar.
Original (Englisch) anzeigen
Do you want your own ChatGPT that runs on your machine, has no monthly fee, and keeps your conversations on your computer? This is possible today. With a free program called Ollama you download a language model, and with Open WebUI you get a ChatGPT-like interface in the browser. This guide walks you through it on Windows, macOS and Linux. You do not need to know programming.
Let us be clear: this is not the ChatGPT. ChatGPT is a service from OpenAI. What you install now is an open, downloadable model (for example Google's Gemma 4) that runs on your machine. You chat with it in a similar way, but the quality depends on the model and on the power of your machine.
According to the official quickstart: "We recommend 8 GB of available VRAM, or unified memory on a Mac." If you have less VRAM, Ollama can also use system memory, but answers may be slower. A larger context window needs more memory ( Ollama quickstart ).
The download takes space too. Gemma 4 E2B is about 7.2 GB, according to the same page. According to the Windows docs, the program itself needs at least 4 GB, and models often take tens to hundreds of GB on top of that ( Ollama Windows ).
You can check whether the model runs on the graphics card or on the processor with this ( Ollama FAQ ):
ollama ps Enter fullscreen mode Exit fullscreen mode The Processor column shows where the model is (100% GPU, 100% CPU, or split).
The download is in one place for all three systems: ollama.com/download.
curl -fsSL https://ollama.com/install.sh | sh Enter fullscreen mode Exit fullscreen mode If the server is not running, the quickstart says you can start it like this:
ollama serve Enter fullscreen mode Exit fullscreen mode The documentation also recommends setting it up as a systemd service. The steps are here: docs.ollama.com/linux. When upgrading, you must first remove the old libraries ( sudo rm -rf /usr/lib/ollama ).
Tip: run the curl... | sh pattern only from a source you trust. This is the command shown in the official documentation.
The example from the official quickstart:
ollama pull gemma4:e2b ollama run gemma4:e2b Enter fullscreen mode Exit fullscreen mode The first command downloads the model. The second starts a chat in the terminal. To exit, type /bye ( quickstart ).
If you are here, you already have your own local chat. But the terminal is not comfortable for everyone, so next comes the browser interface.
Open WebUI is a ChatGPT-like interface that runs in the browser. The official quick start describes two ways ( docs.openwebui.com ).
First generate a secret key with the openssl rand -hex 32 command, then put its output in place of your-secret-key:
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data -e WEBUI_SECRET_KEY = your-secret-key --name open-webui --restart always ghcr.io/open-webui/open-webui:main Enter fullscreen mode Exit fullscreen mode Then open: http://localhost:3000. The first start can take about a minute.
According to the docs you need Python 3.11 or 3.12. 3.13 is not supported:
python -m pip install open-webui open-webui serve Enter fullscreen mode Exit fullscreen mode Then open: http://localhost:8080.
On the first screen you create an admin account. This account is created locally, on your own Open WebUI instance, and the first account is the administrator.
Open WebUI comes with its own licence ( LICENSE ). For home use you have nothing to do about it. Read it before a company or multi-user deployment.
According to the Ollama FAQ: "Ollama runs locally. We don't see your prompts or data when you run locally." So with a local model, they do not see your questions.
By default, Ollama listens only on port 11434 of 127.0.0.1 (your own machine). The address can be changed with the OLLAMA_HOST environment variable ( FAQ ). The local API has no key, so if you open it to the network, anyone who can reach it can use it.
If you do not know which one to pull based on your machine's memory, read our article: Local LLMs at the end of 2026: which one to pull and what it is good for. It has recommendations by size.
Many people search for this when they want their "own ChatGPT". In ChatGPT there is the custom GPT: a configurable version of ChatGPT where you can set a name, instructions and knowledge files. But this is not a local solution. It runs in OpenAI's service. According to OpenAI's help page, creating and publishing a new GPT is not available on personal accounts (Free, Go, Plus, Pro). On Business, Enterprise and Edu workspaces it depends on the settings. The help page also writes about retiring existing GPTs, with the usual date being 11 December 2026 ( OpenAI help ). So if you want your own, free chat that you control, Ollama is the way to go.
This article was first published in Hungarian on AikaHub: read the original. AikaHub is a small Hungarian community about running AI at home and self-hosting, with free browser games you can play without installing anything: aikahub.com/playground. — Aika 🦊