Self-hosted app·Self-hosted AI
LobeHub hosting on a Swiss dedicated server.
LobeHub hosting on a Säntis dedicated server in the Swiss Alps: Docker Compose setup, sizing, the ports to close, local embeddings and costs from $109.99/mo.
- Next.js
- PostgreSQL
- Ollama
- Docker
ALP1·Swiss Alps
In stockRecommended for this use case
- 10 Gbps portunmetered traffic, fair useIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4KVM console and full rootIncluded
Optional: NVMe +$10 per 2 TB, up to 12 TB · 25 Gbps port +$25 · 32 GB memory +$12
Pay quarterly for 10% less, yearly for 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 12 cores, 24 threads AMD EPYC 4464P
- 3 TB NVMe, up to 12 TB
- 10 Gbps port, unmetered traffic
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/07
Short answer.
Yes. LobeHub runs on our dedicated servers in ALP1, in the Swiss Alps, with the project's own Docker Compose stack, and the plan we recommend is the Säntis: an EPYC 4464P with 12 cores, 64 GB of DDR5 ECC and 3 TB of NVMe for $109.99 a month. That is the right size when one instance serves a team, keeps a growing knowledge base on local disk and runs a small local model for embeddings beside it. If you only want a private front-end for Claude or GPT through their APIs, a Säntis is more machine than you need; a Cloud VPS Pro at $22.99 meets LobeHub's documented production sizing. On either, the one thing to get right is unglamorous: the upstream compose file publishes PostgreSQL and Redis on every interface, and on a server with a public IPv4 that has to change before the first docker compose up.
02/07
What LobeHub is, and who builds it.
LobeHub, previously released as LobeChat, is an open-source web workspace for language models, maintained by the LobeHub team in the lobehub/lobehub repository on GitHub (about 84,000 stars as we write). You supply provider API keys or a local model endpoint; it supplies multi-user chat, agents, a file knowledge base with vector search, MCP tools and image generation. The server edition is a Next.js application that keeps its state in PostgreSQL and its uploads in S3-compatible storage. Stable releases come every week or two, the current one being v2.2.20 of 18 October 2026, and the official image runs its schema migrations on start.
The licence deserves a minute before you build on it. The repository ships the LobeHub Community License, which is Apache 2.0 with one added condition: running the unmodified software commercially, including as a service for other people, is allowed, while distributing a modified derivative needs a commercial licence from LobeHub. If you patch the source for a client, read the licence text yourself rather than rely on our summary.
Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.
03/07
Requirements and sizing.
The stack has more parts than a chat front-end suggests. Next to the lobehub/lobehub container on port 3210, the compose file starts paradedb/paradedb:latest-pg17 (PostgreSQL 17 with pgvector and pg_search), redis:7-alpine, RustFS as the S3 store on ports 9000 and 9001, SearXNG for web search, and lobehub-gateway, which serves the agent gateway on 8787 and the device gateway on 8788. Elasticsearch is an optional profile with a 1 GB JVM heap by default. LobeHub's documentation asks for 2 cores, 4 GB of RAM and 20 GB of disk for light use, and 4 or more cores, 8 GB and 50 GB for production.
| What you run | Plan | Per month | Why |
|---|---|---|---|
| Personal or small-team instance, API models only | Cloud VPS Pro: 6 vCPU, 8 GB, 320 GB NVMe, 20 TB transfer | $22.99 | Meets upstream production sizing; text chat barely touches 20 TB |
| Same, plus Elasticsearch and a larger knowledge base | Cloud VPS Power: 12 vCPU, 16 GB, 640 GB NVMe, 40 TB transfer | $42.99 | Room for the ES heap and PostgreSQL's cache |
| Team instance with local embeddings and a small local model | Säntis: EPYC 4464P, 12C/24T, 64 GB, 3 TB NVMe Gen4 | $109.99 | Dedicated cores for prefill and file ingestion, RAM for model and database |
| Local models as the main workload | Matterhorn: EPYC 9254, 24C/48T, 192 GB, 8 TB | $219.99 | 12 memory channels instead of 2 |
Local inference is where a dedicated machine starts to pay for itself, and where honest numbers matter. The EPYC 4464P has two DDR5-5200 channels, so its theoretical memory bandwidth is 2 × 5,200 MT/s × 8 bytes = 83.2 GB/s. Generating each token streams the model's weights through memory once, which puts a dense 8B model quantised to about 5 GB at a theoretical ceiling near 17 tokens per second for a single user, and a dense 32B model near 4. That is ample for an embedding model, tolerable for a small chat model and too slow for anything large and dense. Extra RAM at $12 per 32 GB adds capacity, not bandwidth. Our page on self-hosted OpenAI-compatible APIs goes through llama.cpp, mixture-of-experts models and the Matterhorn in detail. We have no GPU servers.
The Pilatus has the same 64 GB for $84.99, and we would not talk a small team out of it. The Säntis earns its extra $25 because prompt processing and document ingestion (parsing PDFs, chunking, embedding) are compute-bound and it brings 12 cores to the Pilatus's 8, plus a third terabyte for uploads and database growth. On any of these plans, only ports 80, 443 and SSH need to face the internet.
04/07
Deploying LobeHub on a Säntis.
Order the server with Debian 13 from the Säntis deploy link; the KVM console is your way back in if a firewall change goes wrong. Install Docker Engine and the Compose plugin from Docker's Debian repository, and Caddy for TLS. Point three DNS names at the server: one for the app, one for the S3 endpoint, because browsers fetch uploaded files from it directly through presigned URLs, and one for the agent gateway, which the browser reaches over WebSocket. Then run LobeHub's setup script and choose domain mode:
mkdir -p /opt/lobehub && cd /opt/lobehub
bash <(curl -fsSL https://lobe.li/setup.sh) -l enFix the ports before starting anything. Docker publishes container ports through its own iptables chains, so ufw rules on the host do not cover them, and the stock file publishes 5432:5432 and 6379:6379 next to the RustFS admin console. Delete the ports: blocks of postgresql and redis outright, bind the rest to loopback, and reach the RustFS console on 9001 through an SSH tunnel when you need it:
lobe:
ports: ['127.0.0.1:${LOBE_PORT}:3210']
gateway:
ports:
- '127.0.0.1:${AGENT_GATEWAY_PORT:-8787}:8787'
- '127.0.0.1:${DEVICE_GATEWAY_PORT:-8788}:8788'
rustfs:
ports:
- '127.0.0.1:${RUSTFS_PORT}:9000'
- '127.0.0.1:${RUSTFS_ADMIN_PORT}:9001'chat.example.com {
reverse_proxy 127.0.0.1:3210
}
s3.example.com {
reverse_proxy 127.0.0.1:9000
}
gw.example.com {
reverse_proxy 127.0.0.1:8787
}In .env, check that APP_URL, S3_ENDPOINT and AGENT_GATEWAY_URL carry the public https names (the setup script does not ask about the gateway), leave INTERNAL_APP_URL at http://localhost:3210 as the documentation recommends for Compose, and replace POSTGRES_PASSWORD if it still holds the value from .env.example. Set AUTH_ALLOWED_EMAILS to the addresses allowed to register. Left empty, anyone who finds the URL can create an account and spend the provider credit behind your server-side keys. Then run docker compose up -d and follow docker logs -f lobehub until the migration passes and Next.js reports ready.
Two further changes make sense on a dedicated machine. The first keeps documents away from third-party APIs: by default LobeHub embeds knowledge-base files with OpenAI's text-embedding-3-small, so every uploaded document goes to OpenAI in chunks. Add an ollama service to lobe-network with no published port, since Ollama has no authentication of its own, and set OLLAMA_PROXY_URL=http://ollama:11434 and DEFAULT_FILES_CONFIG=embedding_model=ollama/bge-m3 on the lobe service. The second concerns where files live: RustFS on local NVMe is the simple answer, while our S3-compatible object storage moves uploads off the server with no request fees and unmetered traffic, once you point the S3_* variables of the lobe service at a bucket and retire RustFS.
Upgrading is docker compose pull && docker compose up -d, but pin the image to the version you tested instead of following the implicit latest tag, and dump the database first with docker compose exec -T postgresql pg_dump -U postgres lobechat > lobechat.sql. Keep .env with every dump: KEY_VAULTS_SECRET encrypts the provider keys users save in their settings, and without it those keys are lost. restic to an object-storage bucket handles the off-site copy; PostgreSQL's data directory does not belong on an rclone mount.
05/07
Cost.
| Item | Per month |
|---|---|
| Säntis, monthly billing | $109.99 |
| Säntis, quarterly billing (−10 %) | $98.99 (theoretical, rounded) |
| Säntis, yearly billing (−25 %) | $82.49 (theoretical, rounded) |
| Object storage, 1 TB bucket for restic backups | $7.96 |
| Backup space, 1 TB | $5.00 |
| Extra 32 GB RAM (up to 192 GB) | $12.00 |
| Priority support | $10.00 |
Every dedicated server includes a 10 Gbps port with unmetered traffic under fair use, DDoS protection, one IPv4, the KVM console, full root, DDR5 ECC and NVMe Gen4. A typical team setup, the Säntis plus a 1 TB bucket for backups, comes to $117.95 a month. API usage is billed by your model provider, not by us. Payment is in crypto only (Monero, Bitcoin, Tether, Ethereum, Litecoin and other coins), priced in US dollars, and the account is no-KYC: an email address is enough. Top-ups run from $25 to $5,000, with a bonus of 5 % from $50 rising to 20 % from $500, and the unused paid part of a top-up is refundable within 14 days. The full catalogue is on the pricing page.
06/07
What Swiss hosting covers, and what it doesn't.
An instance in ALP1 keeps conversation history, uploaded files, the vector index and stored keys on a server operated by Hosta AG, a Swiss société anonyme, under the revised Federal Act on Data Protection in force since 1 September 2023. The European Commission confirmed Switzerland's adequacy in its review of 15 January 2024, so EU users' personal data can be stored here without additional safeguards, and as of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia. The limit is the model. Every prompt sent to a remote provider leaves the server and is handled under that provider's jurisdiction and terms. If the provider is a US company certified under the Swiss-U.S. Data Privacy Framework, Switzerland has treated transfers to it as adequate since 15 September 2024; check the certification yourself. Local models and local embeddings are the only way to keep the whole pipeline in the country. Our Swiss jurisdiction page covers the legal side in more depth.
07/07
Limits and acceptable use.
If other people use your instance, you are its operator and, under the FADP, the controller of their chats and files, which means at least a privacy notice and a way to delete accounts on request. You also answer to your model providers for whatever passes through your keys, a second reason to keep registration closed. Content that is unlawful in Switzerland is not allowed on our network, whoever or whatever generated it, and child sexual abuse material is not a grey area. The remaining rules are in our acceptable use policy.
A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to the customer, who must remove the content or justify it, and we act on a decision of a competent Swiss authority or where the content is manifestly unlawful, as the Swico Code of Conduct Hosting provides. Shared chats and public agent pages put content online, which is where Swiss law draws its line: downloading a work for private use is permitted (software excepted), making it available without permission is not. Our answer on DMCA notices walks through the procedure.
Catalogue·Options
Every configuration, every option, every price.
Six dedicated servers, all with a 10 Gbps port and unmetered traffic. Add NVMe, memory, a faster port or more addresses when you order.
| Server | CPU | Cores / threads | Memory | Storage | Port, traffic | Price | Order |
|---|---|---|---|---|---|---|---|
| Rigi1,798 mEntry level | EPYC 4244P | 6 / 12 | 32 GB DDR5 | 1 TB NVMe | 10 Gbps unmetered | $64.99/mo | Order Rigi |
| Pilatus2,128 mBalanced | EPYC 4344P | 8 / 16 | 64 GB DDR5 | 2 TB NVMe | 10 Gbps unmetered | $84.99/mo | Order Pilatus |
| Säntis2,502 mRecommendedMore cores | EPYC 4464P | 12 / 24 | 64 GB DDR5 | 3 TB NVMe | 10 Gbps unmetered | $109.99/mo | Order Säntis |
| Titlis3,238 mHigh frequency | EPYC 4564P | 16 / 32 | 96 GB DDR5 | 4 TB NVMe | 10 Gbps unmetered | $139.99/mo | Order Titlis |
| Eiger3,967 mLarge memory | EPYC 4584PX | 16 / 32 | 128 GB DDR5 | 6 TB NVMe | 10 Gbps unmetered | $164.99/mo | Order Eiger |
| Matterhorn4,478 mMaximum density | EPYC 9254 | 24 / 48 | 192 GB DDR5 | 8 TB NVMe | 10 Gbps unmetered | $219.99/mo | Order Matterhorn |
Each configuration is named after a Swiss summit, drawn from its real silhouette. NVMe can be added in 2 TB steps up to 12 TB.
Every plan
- 10 Gbps port25 Gbps for $25 more
- Unmetered trafficfair use, no per-TB bill
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- KVM consoleand full root access
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Can I self-host LobeHub on a VPS instead of a dedicated server?
Yes. A Cloud VPS Pro (6 vCPU, 8 GB, 320 GB NVMe, $22.99) meets LobeHub's production sizing when the models run at a provider, and its 20 TB of monthly transfer is far beyond what text chat uses. It is the wrong place for local models.
Does LobeHub need a GPU?
No. LobeHub is a Node.js application with a database behind it; only local inference benefits from a GPU, and we offer none.
Can I use your object storage instead of RustFS?
Yes, through LobeHub's S3_* settings, with the endpoint and access key from the client panel and the secret key from the ticket we send at delivery. The buckets speak the S3 API only: they are not a disk to format or attach, and they do not belong under PostgreSQL through an rclone mount.
How do I update LobeHub without breaking it?
Dump the database, save .env, move the pinned image tag, pull and restart; migrations run on start. Stay off the canary and nightly builds, which LobeHub's own release page labels as unfit for production.
Which ports have to be open?
80 and 443 for Caddy, plus your SSH port. PostgreSQL, Redis, RustFS, the gateway and LobeHub itself stay on loopback or the Docker network.
How do I contact you?
Open a support ticket from the client panel. The service is operated by Hosta AG, société anonyme suisse, IDE CHE-107.875.655, Käppeligasse 1, 4125 Riehen, Switzerland.
Sources
Every fact on this page, with its source
Checked 4 Nov 2026 unless noted.
Swiss law and authorities
- Revised FADP in force since 1 September 2023Fedlex, RS 235.1
- Swiss-U.S. Data Privacy Framework recognised since 15 September 2024Federal Office of Justice
- Private download permitted, making available online notIPI, copyright on the internet
EU and other countries
- EU adequacy for Switzerland confirmed on 15 January 2024European Commission, adequacy decisions
- CLOUD Act executive agreements with the UK and Australia onlyUS DOJ, CLOUD Act resources · checked 31 Oct 2026
Industry, providers and software
- LobeHub v2.2.20 release, 18 October 2026, and labelling of canary/nightly buildsgithub.com/lobehub/lobehub/releases
- Repository, star count and Docker image namegithub.com/lobehub/lobehub
- LobeHub Community LicenseLICENSE
- Setup script, deployment modes, INTERNAL_APP_URL, upgrade procedure and hardware requirementsDeploying LobeHub with Docker Compose
- Services, images and published portsdocker-compose.yml
- S3 variables and presigned URLsS3 environment variables
- Default embedding model and DEFAULT_FILES_CONFIGKnowledge base
- OLLAMA_PROXY_URLIntegrating with Ollama
Other references
- Docker published ports and host firewallsdocs.docker.com
- EPYC 4464P, two DDR5 channels at up to 5,200 MT/sAMD product page
- Revised Swico Code of Conduct Hosting in effect from 1 April 2025IT Reseller, 13 March 2025
ALP1·Swiss Alps
Your server in the Alps, ready when you are.
Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.
