Knowledge Base · Local AI
How to run your own ChatGPT at home
The most popular way to run your own ChatGPT in 2026 uses two free, open-source tools:
- Ollama downloads and runs the AI model.
- Open WebUI gives you a ChatGPT-style chat page in your browser.
Install Ollama, download a model with one command, then start Open WebUI in Docker and open it in your browser. You end up with a private assistant that costs nothing to use and never leaves your home network. Plan on about 20 minutes, most of it waiting for the model to download.
Words you'll see in this guide
- LLM: large language model, the kind of AI behind ChatGPT and Claude. A local LLM runs on your own computer.
- VRAM: the memory on your graphics card. AI models load into it, so more VRAM means you can run bigger models.
- Docker: a tool that runs each app in its own sealed box, so apps don't break each other or your system.
- Container: a sealed box that holds an app and everything the app needs to run.
- RAG: letting a model look things up in your own documents before it answers.
- Tailscale: a free app that lets your own devices reach each other securely from anywhere, without opening your home network to the internet.
What you need
- A Windows, Mac, or Linux computer that stays on while you use it
- At least 8 GB of RAM, or a graphics card with 8 GB of VRAM (more is better)
- About 10 GB of free disk space per model
- Docker installed, for Open WebUI in step 3
Step 1: Install Ollama
Ollama is one small install. Pick your system:
- Mac: download the app from ollama.com, or run:
brew install ollama - Linux: copy the official one-line install script from ollama.com and run it in a terminal.
- Windows: download the installer from ollama.com, or run:
winget install Ollama.Ollama
On a computer with an Nvidia graphics card or an Apple Silicon Mac, Ollama uses the graphics automatically. On a computer without one, it still works, just slower. See running local AI without a GPU for what that's like.
Step 2: Download a model that fits
- Open a terminal.
- Download and start a model:
ollama run qwen3You should see: a download progress bar, then a
>>>prompt waiting for you to type. - Type a question to make sure it answers, then type
/byeto exit.
The main thing to get right is matching the model size to your memory. A rough guide at 4-bit:
| Your VRAM or RAM | Good model | What it's like |
|---|---|---|
| 8 GB | Qwen 3 8B, Llama 3.1 8B | Quick, good for everyday chat |
| 16 GB | Qwen 3 14B, DeepSeek-R1 14B | The 2026 sweet spot: smart and fast |
| 24 GB | Qwen 3 32B, DeepSeek-R1 32B | Close to top-tier quality at home |
Not sure what your computer can handle? The Server Calculator gives you a straight answer.
- Comparing sizes: what a 16 GB vs 24 GB card runs
- Model-specific numbers: VRAM for Qwen 3 and VRAM for DeepSeek
- Is this worth it vs paying for the cloud? Local AI vs Claude and ChatGPT
Step 3: Add Open WebUI
Open WebUI runs as one Docker container and finds Ollama on its own.
- Make sure Docker is running.
- Start Open WebUI:
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 - Open this address in your browser:
http://localhost:3000You should see: the Open WebUI sign-up page. The first page can take a minute to appear while the container starts.
- Create the first account. That account becomes the admin.
- Pick your model from the menu at the top and start chatting.
Open WebUI doesn't need a graphics card itself. Only Ollama does. So it runs fine on any home server.
Step 4: Make it yours
- Add people: invite family or teammates. Each person gets their own chats.
- Ask questions about your documents: upload PDFs and other files and ask about them, all on your own machine.
- Use it from anywhere: put it behind Tailscale and use it from your phone without exposing it to the internet.
- Try different models: download several with Ollama and pick one per chat in Open WebUI.
Where to go next
- Need hardware to run it well? Buy for VRAM first. See the best GPU for local AI under $500 and how much RAM a local LLM needs.
- Prefer a desktop app? Compare Ollama vs LM Studio.
- Leaving it on all day? The power cost calculator shows what it costs to run.
Quick answers
How do I run my own ChatGPT locally?
Install two free tools: Ollama, which downloads and runs models, and Open WebUI, a ChatGPT-style web page that talks to it. Install Ollama, download a model with one command, run Open WebUI in Docker, and open it in your browser.
What is the difference between Ollama and Open WebUI?
Ollama is the engine that downloads models and runs them. Open WebUI is the chat page you use, with model management, file uploads, and multiple users. Ollama works alone from the command line, and Open WebUI makes it comfortable for everyday use.
Do I need a GPU to run Ollama and Open WebUI?
No, but it helps. Small models run on the processor, just slower. A graphics card with enough VRAM speeds things up a lot and lets you run bigger models. Open WebUI itself doesn't need a graphics card.
Is running a local LLM actually free?
The software is free and open source, with no fees or subscriptions. Your only costs are the hardware and a bit of electricity.
Free email updates
Open WebUI adds features every month. Subscribe and I'll send you the ones worth turning on.
No spam. Unsubscribe anytime. Privacy policy.