AI Jungle OS / Self-host AI
Self-hosted AI in 2026: own the agents, rent the model.
Which server, for how much, with what?
Our self-hosted AI setup is hybrid: the agents, data and tools run on our own CPU server, and the models are rented by subscription. We also ran local models on that server; the useful ones need a GPU. The short answer gives the costs, the planner sizes your server, and the tables below show what we measured.
Affiliate disclosure: some links on this page may be affiliate links. They never change the order. How we test.
- €505 / month15 agents, our servers and the model subscriptions
- 182 MiB per agentagents run fine on an ordinary CPU server
- from €214 / montha GPU server, if the model must run on your machine
Three ways to run the model
Cost, speed and what leaves the machine. The CPU speed is our own test.
Rented modelsour choice
- Cost
- Our three subscriptions (Claude Max, ChatGPT Pro, SuperGrok)
- Speed
- The vendor’s service, not limited by your hardware
- What leaves the machine
- Prompts and files sent to the model go to the vendor
CPU server only
- Cost
- The smallest plan the planner suggests
- Speed
- Too slow for a useful local model in our test (below)
- What leaves the machine
- Nothing
GPU server
- Cost
- Hetzner GEX45 with 24 GB of VRAM, monthly plus a setup fee (cost table below)
- Speed
- Not measured by us
- What leaves the machine
- Nothing
Size and price your box
Start from a preset or change the lines. The result follows you down the list.
RAM at idle1.0 GB
RAM to plan2.5 GB
GPU memory (VRAM) to plan—
ServerCX23 4 GB €5.99/month
Models€18/month
Total per month€24/month
Rent the model: an ordinary server runs your agents.
Own the agents, rent the model
Your server holds the agents, data and tools; only the prompts and files you send go to the rented model, which sends answers back.
The stack, layer by layer
Every RAM figure was measured on our main server on 11 October 2026. Costs are the lines of our July 2026 budget.
Show the full table (10 rows)
| Layer | What we run | Instead of | Cost per month | RAM | Verdict |
|---|---|---|---|---|---|
| Models | Claude (Max plan), through Claude Code | An API bill per token | €200 | 0, rented | KEPT |
| Models | ChatGPT Pro, through Codex: our agents’ default model | An API bill per token | €200 | 0, rented | KEPT |
| Models | SuperGrok: fallback model and X search | A second API account | €30 | 0, rented | KEPT |
| Local models | Ollama (tested on 11 Oct 2026, not in production) | The rented models | — | 1.1 to 1.8 GiB per small model | NOT RUN |
| Agents | Hermes Agent, 15 agents our verdict → | A hosted agent platform | Free (MIT), in the server cost | 2,728 MiB in all, 182 per agent | KEPT |
| Deploys | Coolify | Vercel | Free (Apache-2.0) | 214 MiB | KEPT |
| Public access | Cloudflare Tunnel | Open ports and a reverse proxy | No separate budget line | 98 MiB, 7 connectors | KEPT |
| Private access | Tailscale | A VPN to maintain | Personal plan: free up to 6 users | 94 MiB | KEPT |
| Database | Postgres managed in Coolify | Neon | In the server cost | 8 to 46 MiB per idle database | KEPT |
| Server | 8 vCPU AMD EPYC, 15 GiB of RAM, 300 GB of disk, no GPU | A GPU server | Part of about €75 | 10 of 15 GiB used | KEPT |
KEPT: run on our fleet and kept after a written verdict. IN USE: running in production, verdict not yet written. UNDER REVIEW: started too recently to judge.
Measured on our main server, 11 October 2026
We ran a local model on our server
Ollama 0.40.3 in a container capped at 4 vCPU and 3 GB of RAM, on our production server (AMD EPYC, CPU only, other jobs running). Same prompt, three runs per model: a three-sentence answer for the owner of a 20-person accounting firm.
Show the full table (2 rows)
| Model | Memory used | Speed (tokens per second) | Time for one answer | Answer quality |
|---|---|---|---|---|
| qwen3:0.6b (523 MB download) | 1.07 GiB | 2.9 to 36.9 | 2.7 to 37 s | Fluent but generic: “ensure proper training and monitoring”. |
| qwen3:1.7b (1.4 GB download) | 1.83 GiB | 1.1 to 5.8 | 18 to 77 s | Readable, but too slow for anyone waiting on it. |
Our reading: the memory fits easily, but a shared CPU server gives slow and uneven speed (the same model varied tenfold between runs). For daily work, a local model needs a GPU. Our agents keep rented models.
- qwen3:0.6b2.9–36.9
- qwen3:1.7b1.1–5.8
reading pace ≈ 5 tok/s · ● median of three runs · 0–40 tokens/s
qwen3:0.6b: median 22.4 tokens a second, above reading pace, but its answers were vague. qwen3:1.7b: median 3.7, below reading pace. Neither is good enough for daily work on a CPU.
Which open model fits which machine
Download sizes from the Ollama library, licences from the model cards on Hugging Face, read on 11 October 2026. Memory to plan = download size + 0.5 GB of runtime + the context cache (our test: +0.4 to 0.5 GB at a 4,096-token context).
| Model | Licence | Download | Memory to plan | Fits on |
|---|---|---|---|---|
| qwen3:4b | Apache-2.0 | 2.5 GB | about 3.5 GB | A laptop or an 8 GB server, slowly on CPU |
| gemma3:4b | Gemma terms | 3.4 GB | about 4.5 GB | A laptop or an 8 GB server, slowly on CPU |
| llama3.1:8b | Llama 3.1 Community | 4.9 GB | about 6 GB | An 8 GB GPU or a 16 GB server |
| qwen3:8b | Apache-2.0 | 5.2 GB | about 6.5 GB | An 8 GB GPU or a 16 GB server |
| gemma3:12b | Gemma terms | 8.2 GB | about 9.5 GB | A 12 GB GPU |
| qwen3:14b | Apache-2.0 | 9.3 GB | about 11 GB | A 12 to 16 GB GPU |
| gpt-oss:20b | Apache-2.0 | 14 GB | about 16 GB | A 16 to 24 GB GPU |
| mistral-small3.2:24b | Apache-2.0 | 15 GB | about 17 GB | A 24 GB GPU, such as Hetzner’s GEX45 |
| qwen3:30b | Apache-2.0 | 19 GB | about 21 GB | A 24 GB GPU, such as Hetzner’s GEX45 |
| llama3.1:70b | Llama 3.1 Community | 43 GB | about 46 GB | Two 24 GB GPUs or one 48 GB card |
Rule of thumb from these sizes: the 4-bit builds take about 0.6 GB per billion parameters (qwen3:8b: 5.2 GB). Apache-2.0 models can be used commercially without extra terms; read the Gemma and Llama licences before a client project.
Ollama, llama.cpp, LM Studio, vLLM or Open WebUI?
The common ways to run an open model, from their repositories and sites (11 October 2026). We ran Ollama only.
| Tool | What it is | Licence | Best for | Tested by us |
|---|---|---|---|---|
| Ollama | Model runner with a local API | MIT | The simplest start on a laptop or a server | TESTED |
| llama.cpp | The C/C++ inference engine many runners build on | MIT | Fine control, CPU and small machines | NOT TESTED |
| LM Studio | Desktop app to download and chat with models | Closed app; its CLI is MIT | One person on a desktop | NOT TESTED |
| vLLM | High-throughput serving engine | Apache-2.0 | A GPU server answering many users at once | NOT TESTED |
| Open WebUI | A chat interface in front of Ollama or an API | Open WebUI License (BSD-3 with a branding clause) | A team chat UI on your own models | NOT TESTED |
Set up a local model in five steps
The commands come from Ollama’s Linux documentation. Steps 3 to 5 are how we keep every service on our fleet closed to the internet.
- Install Ollama
curl -fsSL https://ollama.com/install.sh | sh - Pull and run a model
ollama run qwen3:8b— pick the size from the table above. - Keep the API on the machineOllama listens on 127.0.0.1:11434 by default. Do not change
OLLAMA_HOSTto 0.0.0.0 on a server with a public address. - Reach it privatelyJoin the server to Tailscale and call the API over the private network. For a public tool, put Cloudflare Tunnel in front: no port opens.
- Plan the upkeepUpdates, model downloads and disk space are on you: models take 0.5 to 43 GB each. We back up the server every night to object storage.
Running cost: a GPU server against the API
Prices as listed on 11 October 2026 (hetzner.com, claude.com/pricing), converted at the ECB rate of 9 October 2026 (1 € = 1.1206 $).
Show the full table (4 rows)
| Option | Monthly cost | What it buys | When it wins |
|---|---|---|---|
| Hetzner GEX45 (24 GB of VRAM) | €214 + €209 once | One open model up to about 21 GB, as many tokens as it can produce | Very high volume, or prompts that must not leave the machine |
| Claude Haiku 5.5 API | $0.50 per million output tokens | €214 buys about 480 million output tokens | Light tasks at almost any volume |
| Claude Sonnet 5.5 API | $10 per million output tokens | €214 buys about 24 million output tokens | Most agent work, until volume is very high |
| Our subscriptions | €430 flat | 15 agents and all our code work | One operator with heavy daily use |
For a small firm the API or a subscription wins on cost. A GPU server pays off only for privacy (the prompt never leaves your machine) or for tens of millions of tokens a month.
Tried, dropped or turned down
Show the 5 entries, with dates and reasons
- VercelDROPPED
Every site moved to git and Coolify, behind Cloudflare Tunnel.
- NeonREPLACED
Replaced by Postgres managed in Coolify.
- OpenShip 0.4.8DROPPED
Tested in three rounds as a Coolify replacement. Its pre-deploy step required OpenShip Cloud, even for a local setup. Coolify stays.
- GPU software on our sandboxREMOVED
6.7 GB of CUDA and PyTorch packages, on a server with no GPU and no program using them.
- A home-made claude -p pollerREPLACED
Our first agent polled for messages and called claude -p. Hermes Agent replaced it.
Questions readers ask
What do I need to self-host AI?
A server, an agent runtime and someone to run them. The model can stay rented. Ours is one server with 8 vCPU and 15 GB of RAM, Hermes Agent for the agents, Coolify for deploys and Cloudflare Tunnel, so no port is open to the internet.
Can I run AI without a GPU?
The agents, yes: ours all run on an ordinary CPU server. A local model also runs on CPU, but slowly: in our test, qwen3:1.7b took 18 to 77 seconds per short answer, and the faster qwen3:0.6b gave generic answers.
Is self-hosted AI cheaper than ChatGPT?
Not if you mean replacing the model: the break-even chart shows a GPU server beats the Sonnet 5.5 API only at high volume, before counting input tokens, and a local model does not match Sonnet’s answers. Self-hosting saves money on the tools around the model.
Is self-hosted AI private?
The parts you host stay on your server: agents, memory, files and databases. Prompts sent to a rented model still go to that vendor. Only a local model keeps the prompt on your machine.
Which server do I need for AI agents?
Use the planner above: it applies our sizing rule and prices the smallest plan that fits your list. Three agents with their deploy tool, tunnels and a database fit a 4 GB server.
Next step
How do I set up and maintain the server?
Access, updates, backups and recovery, in order.
Which agent runtime should I pick?
Hermes Agent, our tested pick, against four others.
What will it really cost in a year?
Server, models and your time, line by line.
Which data stays private?
What a rented model sees, and what never leaves your machine.
All guides → · Agents · Open-source alternatives · Growth tools
Verdicts and guides
AI JUNGLE OSVerdicts and guides / Self-host AI
- 2026-10-15Open WebUI Review 2026: What to Know Before Hosting ItGUIDE
Open WebUI is a self-hosted chat interface for Ollama and OpenAI-compatible models. Decide access, updates, backups and the model link before you host it.