Home / use case

A private ChatGPT alternative on a six-year-old RTX 3090 with Ollama, Open WebUI and imported chat history

At a glance
Hardware
Desktop with an NVIDIA RTX 3090 (24 GB VRAM) and 64 GB RAM
Models & engines
Ollama running GPT-OSS 20B (ollama run gpt-oss:20b)
Open WebUI in Docker, connected to the local Ollama, at http://localhost:8080
Key gotcha
After finding three conversations the model wrongly concluded they were the only relevant ones; he had to improve the retrieval instructions.

What they built

Pascal wanted to turn an existing desktop PC into a private AI workstation that could run a language model, analyze documents, retrieve earlier conversations and act as a personal research assistant without a cloud service or subscription.

The machine was a 2020–2021-era custom build whose key part is an RTX 3090 with 24 GB of video memory, plus 64 GB of system RAM. He replaced Windows with Linux Mint 22.3, ran OpenAI's open-weight GPT-OSS 20B through Ollama and put Open WebUI in front of it.

He then exported his ChatGPT history, imported it into Open WebUI, and built a 'GPT-OSS Research Assistant' configuration that can search those old chats with tools.

Setup

  • Desktop with an NVIDIA RTX 3090 (24 GB VRAM) and 64 GB RAM
  • Linux Mint 22.3 with the recommended NVIDIA driver from Driver Manager (checked with nvidia-smi)
  • Ollama running GPT-OSS 20B (ollama run gpt-oss:20b)
  • Open WebUI in Docker, connected to the local Ollama, at http://localhost:8080

How it works

  1. Ollama serves the model locally and Open WebUI gives a browser chat with history, model selection and document uploads.
  2. The ChatGPT data export came as 28 JSON files; he imported one to test, then merged the rest with jq and imported the combined file through Open WebUI's Settings → Data Controls.
  3. In a custom model configuration he enabled native function calling and the Chat History tools search_chats and view_chat, so the model can look up and read earlier conversations.

Results & numbers

  • Ollama reported 100% GPU processing with about 13.6 GB of video memory used by GPT-OSS 20B and its runtime.
  • Ollama's verbose mode showed about 144 tokens per second on one prompt with the model already loaded; he notes this count includes reasoning tokens and is not a universal benchmark.
  • Asked about AI licensing, copyright enforcement and scholarly publishing, the assistant searched the imported chats, retrieved three relevant conversations and summarized them.

Gotchas

  • After finding three conversations the model wrongly concluded they were the only relevant ones; he had to improve the retrieval instructions.
  • Importing chats does not teach the model anything; it needs search tools to pull the right conversations into context.
  • He used a cloud assistant (ChatGPT) to guide the install, but inference itself runs on his own machine.
“Access to sources is not the same as comprehensive retrieval, and retrieval is not the same as factual verification.”— Pascal Hetzscholdt

Do it yourself

  1. Install your distro's recommended NVIDIA driver and confirm the GPU with nvidia-smi.
  2. Install Ollama and run ollama run gpt-oss:20b (needs roughly 14 GB of VRAM per his measurement).
  3. Start Open WebUI in Docker, point it at Ollama and open http://localhost:8080.
  4. Request your ChatGPT data export, merge the conversation files with jq -s 'add' conversations-{001..027}.json > remaining-conversations.json, and import under Settings → Data Controls.
  5. Create a custom model with native function calling and the Chat History tools enabled, and test it with searches you already know the answers to.
jq -s 'add' conversations-{001..027}.json > remaining-conversations.json
Source: Pascal Hetzscholdt (beehiiv) · Published 2026-11-15 · Added 2026-11-16. This write-up summarizes the original source; see it for full details.

Similar setups

A one-script Ubuntu install that stands up Ollama and Open WebUI as a private ChatGPT in the browser

HendGrow’s guide 50 ships a Bash installer that detects NVIDIA GPU or CPU, deploys pinned Ollama and Open WebUI with Docker Compose on Ubuntu 24.04, pulls a small starter model, and opens the UI on port 3000.

HendGrow · 2026-11-05

OzAI: a self-hosted ChatGPT on a 16 GB MacBook with Ollama, LiteLLM and Open WebUI, and what broke

A DevOps engineer served Qwen3 8B and Qwen2.5-Coder 3B from one M1 Pro laptop as a small private platform with per-user keys, rate limits, local web search and IDE chat, and documented seven silent failures.

Ahmet Ozan GAZİ (DEV Community) · 2026-11-03

A €200 mini PC as an offline AI box: a week with Gemma and Qwen

Diogo Soares ran Gemma 4 E4B and Qwen2.5-Coder 7B on a cheap NiPoGi P1 mini PC firewalled off the internet, used it from his Mac for a week, and measured what was fast and what wasn't.

Diogo Soares (DEV Community) · 2026-10-30

Serving a local model on Kubernetes on your own laptop with kind and Ollama

Alex Jones wrote a tested guide to running Ollama in a kind cluster on CPU, Intel Arc, NVIDIA and AMD, then using the served model with k8sgpt to explain cluster failures without any data leaving the machine.

axjns.dev · 2026-11-09