← all stacks

AI builder self-host stack

4 open-source picks · replaces 4 SaaS · self-host on your own VPS

Persona. Developer building LLM-powered apps who wants local inference + a chat UI + IDE assist + translation, all running on their own hardware or a rented GPU box.

Stack total · starts at
$220/mo
sum of per-tool VPS-cost lower bounds · recommended VPS providers →
Hardest setup in stack
easy
worst of 4 picks
Health mix
4 alive
live from GitHub at build time

Run this stack

Two files, one command. Pinned image tags, named volumes, env vars in .env.example. Read the compose comments to see which picks are inlined vs which have heavier official composes linked.

curl -O https://code-rho-dun.vercel.app/stack/ai-builder/compose.yml
curl -O https://code-rho-dun.vercel.app/stack/ai-builder/.env.example && mv .env.example .env
docker compose up -d

Why these together

This is the 'I want to build with LLMs without paying OpenAI per token' stack. Ollama runs the models on your hardware (consumer GPU box or rented A100); Open WebUI is the ChatGPT-equivalent UI that talks to Ollama and lets non-technical teammates use the same models you're prototyping with; LibreTranslate handles language pairs without round-tripping to DeepL. Continue is the IDE-side companion that points VS Code or JetBrains at the same Ollama endpoint — it ships as a marketplace extension, not a server, so it lives outside the compose. The compose.yml on this page ships Ollama + Open WebUI + LibreTranslate, with a commented-out NVIDIA GPU passthrough block ready to uncomment once `nvidia-container-toolkit` is on the host. Cross-tool integration is one URL: every server component points at `http://ollama:11434` and shares the loaded model. The honest cost call: this stack is hardware-bound, not VPS-bound — budget $1500 for a 24GB GPU box or $0.50/hr for a rented A100 when you actually need scale.

The 4 picks

Pick Replaces Cost / setup Health
ollama/ollama · MIT
OpenAI API
LLM inference API
$200/mo+
easy · 5min single binary
alive
★ 171.4k · today
open-webui/open-webui · BSD-3-Clause
ChatGPT
AI chat assistant (consumer UI)
$10/mo+
easy · 10min docker-compose (Open WebUI + Ollama)
alive
★ 137.0k · 3d ago
continuedev/continue · Apache-2.0
GitHub Copilot
AI code completion / chat in the IDE
$0/mo+
easy · 10min — VS Code or JetBrains plugin + a local model
alive
★ 33.2k · 4w ago
DeepL
Machine translation API
$10/mo+
easy · 10min docker run (model downloads on first start)
alive
★ 14.4k · 8d ago

Other stacks