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.

AI JUNGLE OSThe short answer
  1. €505 / month15 agents, our servers and the model subscriptions
  2. 182 MiB per agentagents run fine on an ordinary CPU server
  3. from €214 / montha GPU server, if the model must run on your machine
Size your box →

Three ways to run the model

Cost, speed and what leaves the machine. The CPU speed is our own test.

  1. 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
  2. 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
  3. 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.

AI JUNGLE OSYour box

RAM at idle1.0 GB

RAM to plan2.5 GB

ServerCX23 4 GB €5.99/month

Models€18/month

Total per month€24/month

Rent the model: an ordinary server runs your agents.

Start from

Solo: one Claude Pro or ChatGPT Plus subscription ($20, about €18 a month, listed 11 October 2026). Small firm: one €200 subscription and the €30 fallback. Our setup: our three subscriptions and our 12 apps.

  1. per agent, measured on 15 running agents

  2. deploys and databases

  3. public access without open ports

  4. private access between servers

  5. one database, idle

  6. your sites, databases and apps; the “Our setup” preset fills in our 12 apps

  7. Ollama library download size. Choosing one sets the model spend to €0: the model runs on your GPU server.

  8. subscriptions or API spend; leave empty for €0

  9. optional: replaces the suggested server; our setup fills in our servers

Our rule: idle RAM × 1.5, plus 1 GB for the system. Not a vendor figure.

Why our own server uses 10 of 15 GB: on top of 15 agents (2.7 GB) it runs 12 self-hosted apps (2.4 GB), about ten sites, the deploy tooling and builds. The “Our setup” preset adds them.

Plans used for the price
PlanvCPURAM€
CX2324 GB€5.99
CX3348 GB€8.99
CX43816 GB€16.49
CX531632 GB€29.99
CPX2224 GB€19.99
CPX3248 GB€35.99
CPX42816 GB€69.99
CPX521224 GB€101
CPX621632 GB€130
GEX45 (GPU)—24 GB VRAM€214

Hetzner plans as listed on hetzner.com on 11 October 2026 (EU locations, availability varies, VAT may apply). Not an affiliate link.

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.

Own the agents, rent the modelYour server holds the agents, data and tools; only the prompts and files you send go to the rented model, which sends answers back.YOUR SERVER15 agents, their memory and logsfiles, databases, Gauzy, VaultwardenCoolify · Cloudflare Tunnel · Tailscalestays here: data, logs, credentialsprompts + files you sendanswersRENTED MODELClaude · ChatGPT · Grokby subscription
Stays on your server: 15 agents, their memory and logs, files, databases and tools. Leaves for the vendor: only the prompts and files you send to the model (our three subscriptions). Answers come 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)
LayerWhat we runInstead ofCost per monthRAMVerdict
ModelsClaude (Max plan), through Claude CodeAn API bill per token€2000, rentedKEPT
ModelsChatGPT Pro, through Codex: our agents’ default modelAn API bill per token€2000, rentedKEPT
ModelsSuperGrok: fallback model and X searchA second API account€300, rentedKEPT
Local modelsOllama (tested on 11 Oct 2026, not in production)The rented models—1.1 to 1.8 GiB per small modelNOT RUN
AgentsHermes Agent, 15 agents our verdict →A hosted agent platformFree (MIT), in the server cost2,728 MiB in all, 182 per agentKEPT
DeploysCoolifyVercelFree (Apache-2.0)214 MiBKEPT
Public accessCloudflare TunnelOpen ports and a reverse proxyNo separate budget line98 MiB, 7 connectorsKEPT
Private accessTailscaleA VPN to maintainPersonal plan: free up to 6 users94 MiBKEPT
DatabasePostgres managed in CoolifyNeonIn the server cost8 to 46 MiB per idle databaseKEPT
Server8 vCPU AMD EPYC, 15 GiB of RAM, 300 GB of disk, no GPUA GPU serverPart of about €7510 of 15 GiB usedKEPT

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)
ModelMemory usedSpeed (tokens per second)Time for one answerAnswer quality
qwen3:0.6b (523 MB download)1.07 GiB2.9 to 36.92.7 to 37 sFluent but generic: “ensure proper training and monitoring”.
qwen3:1.7b (1.4 GB download)1.83 GiB1.1 to 5.818 to 77 sReadable, 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.

Measured speed on our CPU serverTokens per second over three runs per model (11 October 2026), against a comfortable reading pace: about 238 words a minute for silent reading (Brysbaert, 2019), roughly 5 tokens a second at about 0.75 words per token.
  1. qwen3:0.6b2.9–36.9
  2. 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).

ModelLicenceDownloadMemory to planFits on
qwen3:4bApache-2.02.5 GBabout 3.5 GBA laptop or an 8 GB server, slowly on CPU
gemma3:4bGemma terms3.4 GBabout 4.5 GBA laptop or an 8 GB server, slowly on CPU
llama3.1:8bLlama 3.1 Community4.9 GBabout 6 GBAn 8 GB GPU or a 16 GB server
qwen3:8bApache-2.05.2 GBabout 6.5 GBAn 8 GB GPU or a 16 GB server
gemma3:12bGemma terms8.2 GBabout 9.5 GBA 12 GB GPU
qwen3:14bApache-2.09.3 GBabout 11 GBA 12 to 16 GB GPU
gpt-oss:20bApache-2.014 GBabout 16 GBA 16 to 24 GB GPU
mistral-small3.2:24bApache-2.015 GBabout 17 GBA 24 GB GPU, such as Hetzner’s GEX45
qwen3:30bApache-2.019 GBabout 21 GBA 24 GB GPU, such as Hetzner’s GEX45
llama3.1:70bLlama 3.1 Community43 GBabout 46 GBTwo 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.

ToolWhat it isLicenceBest forTested by us
OllamaModel runner with a local APIMITThe simplest start on a laptop or a serverTESTED
llama.cppThe C/C++ inference engine many runners build onMITFine control, CPU and small machinesNOT TESTED
LM StudioDesktop app to download and chat with modelsClosed app; its CLI is MITOne person on a desktopNOT TESTED
vLLMHigh-throughput serving engineApache-2.0A GPU server answering many users at onceNOT TESTED
Open WebUIA chat interface in front of Ollama or an APIOpen WebUI License (BSD-3 with a branding clause)A team chat UI on your own modelsNOT 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.

  1. Install Ollamacurl -fsSL https://ollama.com/install.sh | sh
  2. Pull and run a modelollama run qwen3:8b — pick the size from the table above.
  3. Keep the API on the machineOllama listens on 127.0.0.1:11434 by default. Do not change OLLAMA_HOST to 0.0.0.0 on a server with a public address.
  4. 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.
  5. 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 $).

Break-even: a GPU server against the APIMonthly cost against million output tokens: the GEX45 GPU server is flat at €214; Claude Sonnet 5.5 costs about €8.92 per million output tokens and crosses it at 24 million; Haiku 5.5 stays under €27 at 60 million. The chart counts output tokens only and assumes equal quality: input tokens ($2 per million for Sonnet 5.5) make the API dearer sooner, and a local model on the GPU server does not match Sonnet’s answers.€0€200€400€6000204060million output tokens a monthGPU server €214Sonnet 5.5 APIHaiku 5.5 API24 M tokens
Monthly cost against million output tokens: the GEX45 GPU server is flat at €214; Claude Sonnet 5.5 costs about €8.92 per million output tokens and crosses it at 24 million; Haiku 5.5 stays under €27 at 60 million. The chart counts output tokens only and assumes equal quality: input tokens ($2 per million for Sonnet 5.5) make the API dearer sooner, and a local model on the GPU server does not match Sonnet’s answers.
Show the full table (4 rows)
OptionMonthly costWhat it buysWhen it wins
Hetzner GEX45 (24 GB of VRAM)€214 + €209 onceOne open model up to about 21 GB, as many tokens as it can produceVery 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 tokensLight tasks at almost any volume
Claude Sonnet 5.5 API$10 per million output tokens€214 buys about 24 million output tokensMost agent work, until volume is very high
Our subscriptions€430 flat15 agents and all our code workOne 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
  1. VercelDROPPED

    Every site moved to git and Coolify, behind Cloudflare Tunnel.

  2. NeonREPLACED

    Replaced by Postgres managed in Coolify.

  3. 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.

  4. GPU software on our sandboxREMOVED

    6.7 GB of CUDA and PyTorch packages, on a server with no GPU and no program using them.

  5. 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.

Verdicts and guides

AI JUNGLE OSVerdicts and guides / Self-host AI

  1. 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.