Self-hosted app·Self-hosted AI
A LibreTranslate server in Switzerland.
Run your own LibreTranslate server in ALP1, Swiss Alps: sizing per language, Docker on Debian 13, real costs and what Swiss data protection law covers.
- Python
- Docker
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port15 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $116.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 4 vCPU, 4 GB RAM
- 160 GB NVMe local storage
- 15 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/07
Short answer.
Yes. A LibreTranslate server runs well on our Cloud VPS Standard plan — 4 vCPU, 4 GB RAM, 160 GB NVMe, 15 TB of monthly transfer, $12.99 a month — in ALP1, Swiss Alps, under Docker on Debian 13. That is enough for the four languages most Swiss organisations actually work in: German, French, Italian and English. The setting that decides whether it stays up is LT_LOAD_ONLY. By default LibreTranslate installs every language it knows, memory grows with each one, and 4 GB will not hold the full set, so load what you use and add languages deliberately.
To start: deploy Cloud VPS Standard with Debian 13.
02/07
What LibreTranslate is, and why organisations host it themselves.
LibreTranslate is a machine translation API with an optional web interface, published under the GNU AGPL v3 by the LibreTranslate project. It does not call Google, DeepL or Azure: translation runs locally with the open-source Argos Translate library and pre-trained models downloaded from the argospm index. The project also sells API keys for its own instance at libretranslate.com, and its FAQ states that production use of that service requires a paid key. Self-hosting is the free route, and the place to ask questions about it is the community forum at community.libretranslate.com.
The models are almost all pairs to and from English. The documentation lists 98 packages, and when no direct pair exists LibreTranslate pivots, usually through English. In Switzerland this matters more than the headline language count. English to German, French and Italian are direct, but German to French is two passes, de→en and then en→fr, which costs roughly twice the CPU and carries any mistake from the first pass into the second. Romansh has no model at all.
The reason a PME or an NGO runs it anyway is where the text goes. Every character sent to a cloud translation API leaves your infrastructure and is processed by the provider under its own terms. For an association translating case notes about the people it supports, or a company translating HR files, that is a disclosure to a third-party processor that has to be documented and justified.

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.
LibreTranslate is CPU-bound and has no external dependencies: no database server, no queue, just a small SQLite file for API keys. Its --threads option defaults to 4, which matches the 4 vCPU of the Standard plan, and one long document can occupy all of them. Set LT_CHAR_LIMIT and LT_BATCH_LIMIT before you open the service to a whole office. The project publishes no official memory figure.
Disk is not the constraint. The six models covering German, French and Italian to and from English add up to 459 MB by the sizes the documentation publishes; all 98 packages come to about 8.3 GB (theoretical: the sum of the published package sizes, before unpacking). Neither is the network. A request is a few kilobytes of JSON, and 15 TB a month is far beyond what one organisation's translation API will ever move.
| Plan | vCPU / RAM / NVMe | Transfer | Price/month | Fits |
|---|---|---|---|---|
| Starter | 2 / 2 GB / 80 GB | 10 TB | $6.99 | A test with two or three languages; we would not run production on it |
| Standard | 4 / 4 GB / 160 GB | 15 TB | $12.99 | de, fr, it and en for a team or a website — our recommendation |
| Pro | 6 / 8 GB / 320 GB | 20 TB | $22.99 | Ten or more languages, or several heavy users at once |
| Power | 12 / 16 GB / 640 GB | 40 TB | $42.99 | The full model set with headroom for concurrent requests |
Two limits of our own offer: the catalogue has no GPU plans, so the CUDA build LibreTranslate provides is not an option here and everything runs on CPU. And if translation becomes a shared service for a whole network of offices, a dedicated server such as Rigi (EPYC 4244P, 6 cores/12 threads, 32 GB, $64.99) gives you cores that no other tenant is scheduled on.
LibreTranslate listens on port 5000, which should stay on localhost; the public side is 443, plus 80 for certificate issuance, on a reverse proxy.
04/07
How to deploy it with us.
- 01Order the VPS with Debian 13 from the Cloud VPS Standard deploy page, and point an A record such as
translate.example.comat its IPv4 address. - 02Install Docker Engine and the Compose plugin from Docker's Debian repository, following Docker's own instructions. The official image ships its own Python 3.11, so Debian's system Python never comes into it.
- 03Create
/opt/libretranslate/compose.yaml:
services:
libretranslate:
image: libretranslate/libretranslate:latest
container_name: libretranslate
restart: unless-stopped
ports:
- "127.0.0.1:5000:5000" # never publish 5000 on all interfaces
environment:
- LT_LOAD_ONLY=en,de,fr,it
- LT_API_KEYS=true
- LT_REQ_LIMIT=0 # with keys enabled: requests without a key are refused
- LT_CHAR_LIMIT=20000
- LT_BATCH_LIMIT=50
volumes:
- lt_models:/home/libretranslate/.local
- lt_db:/app/db
healthcheck:
test: ['CMD-SHELL', './venv/bin/python scripts/healthcheck.py']
interval: 10s
timeout: 4s
retries: 4
volumes:
lt_models:
lt_db:The 127.0.0.1 binding is the line people skip and regret. Docker writes its own firewall rules, and traffic to a published container port is routed before ufw's rules are applied, so ufw deny 5000 does nothing for a port published on every interface. The models volume spares you a download of several hundred megabytes at each restart; the db volume holds the API keys.
- 04Start it with
docker compose up -dand followdocker compose logs -funtil the models are installed. Then issue a key:
docker exec -it libretranslate ltmanage keys add 120 --char-limit 5000That key allows 120 requests a minute and 5,000 characters per request.
- 05Put Caddy in front for TLS. Debian packages it, and the whole site block is:
translate.example.com {
reverse_proxy 127.0.0.1:5000
}- 06Test from your workstation:
curl -s https://translate.example.com/translate \
-H 'Content-Type: application/json' \
-d '{"q":"Die Sitzung beginnt um neun Uhr.","source":"de","target":"fr","api_key":"YOUR_KEY"}'Software updates are docker compose pull && docker compose up -d. Model updates run inside the container with docker exec -it libretranslate ./venv/bin/python scripts/install_models.py --update. If nobody needs document upload, add LT_DISABLE_FILES_TRANSLATION=true and there is one parser fewer facing the internet. The only state worth backing up is the keys database, since models can always be downloaded again: either add daily VPS backups (+20 %) or copy the lt_db volume with restic to an S3-compatible object storage bucket, where 250 GB costs $1.99 a month.
05/07
Cost.
| Item | Per month |
|---|---|
| Cloud VPS Standard: 4 vCPU, 4 GB, 160 GB NVMe, 15 TB transfer, 1 Gbps | $12.99 |
| Same plan billed yearly (≈ −25 %) | ≈ $9.75, $116.99 a year |
| Daily backups (+20 %) | +$2.60, so $15.59 in total |
| Extra IPv4 | $2.00 |
| Pro, if you outgrow 4 GB | $22.99 |
The price includes full root access and the 15 TB of transfer; VPS traffic is counted against that allowance rather than unmetered, which for a translation API is academic. Payment is in crypto only (Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins), with balances in US dollars. Top-ups run from $25 to $5,000 with a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500, and the unused paid part is refundable within 14 days. Opening an account is no-KYC: an email address is enough, and business customers paying in crypto are welcome. The honest downside for an association is that a treasurer who can only pay by bank transfer cannot use us today. Details are on the pricing page and the no-KYC hosting page.
For comparison, Google Cloud Translation's NMT text translation is free for the first 500,000 characters a month and $20 per million characters after that. At that rate $12.99 buys about 650,000 billed characters, so the VPS breaks even at roughly 1.15 million characters a month (theoretical, ignoring Google's other tiers). Below that volume a small organisation saves nothing by self-hosting, and should do it only because keeping the text in-house matters to it.
06/07
Jurisdiction and data protection.
The revised Federal Act on Data Protection (FADP) has applied since 1 September 2023. You remain the controller for any personal data in the texts you translate; Hosta AG, a Swiss société anonyme in Riehen, provides the machine. For NGOs based in the EU, the European Commission confirmed on 15 January 2024 that Switzerland still ensures an adequate level of data protection, so personal data can move from the EU to a server in ALP1 without additional safeguards.
On foreign access, precision is worth more than reassurance. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, none with Switzerland. That does not put your server beyond every authority: a competent Swiss authority can order data through Swiss procedure, including on behalf of a foreign state through mutual legal assistance, and we act on such decisions. The revision of the surveillance ordinance (OSCPT/VÜPF) put to consultation in January 2025 was not in force as of 31 October 2026, and the Federal Council has announced a second consultation. Our offshore hosting page sets out how this compares with other jurisdictions.
Technically, translations travel in the body of a POST request, which ordinary access logs do not record, and LibreTranslate processes them in memory. Two options change what is kept: --translation-cache stores translated output for reuse, and --suggestions stores corrections that users submit. Both are off by default; leave them off unless you have decided to retain that data.
07/07
Limits and acceptable use.
Translating is not publishing. Swiss law allows you to download a work for private use (software excepted), but not to make it available online without permission, and a machine translation of someone else's book or paywalled articles posted on a public site falls on the wrong side of that line. 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 (Swico Code of Conduct Hosting 2025). An endpoint used as part of a spam or fraud pipeline falls under our acceptable use policy.
The obligations that come with running the software are yours. If you modify LibreTranslate and let other people use it over a network, the AGPL requires you to offer them your modified source. The project's trademark guidelines forbid naming your service "Something-LibreTranslate" or putting the name in your domain without written permission, so call a public instance something of your own. An endpoint left open without keys will be found and used at your CPU's expense; keep keys on, patch the image, and as controller under the FADP, inform the people whose data passes through it.
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardRecommendedSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| SummitDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Summit |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC 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.
Does LibreTranslate need internet access once it is running?
No. It needs outbound HTTPS to pull the image and the models, on first start and at each update. Between updates it translates offline, and you can block outbound traffic from the VPS if your policy requires it.
How does it compare with DeepL or Google for German–French?
Worse in most cases, and German–French is a weak spot because it pivots through English. The output is good enough to understand incoming mail, triage tickets or produce a draft that a person corrects; an annual report or a legal notice should not go out unread. If quality outweighs where the text goes, a commercial API is the better tool.
Can Switzerland Hosting read the texts I translate?
LibreTranslate runs inside your VM under your root account; we operate the hardware and the network, not the application. TLS protects the text on the network, but it does not hide it from whoever controls the host, and on any VPS that includes the hypervisor. If that sits outside your threat model, a dedicated server removes the shared host. Legal requests reach us through Swiss procedure, and we act on decisions of competent Swiss authorities.
Can staff use the web interface without an API key?
Yes, but do not rely on LibreTranslate for access control. You can replace LT_REQ_LIMIT=0 with a modest limit and set LT_REQUIRE_API_KEY_ORIGIN=translate.example.com, which waives the key for requests from that origin. Any script can forge an Origin header, though, so restrict who reaches the interface at the proxy, with Caddy's basic authentication or an IP allowlist for your office.
What happens if I load too many languages on 4 GB?
The kernel kills the process when memory runs out, Docker restarts the container, and it tries to load the same models again. Trim LT_LOAD_ONLY or move to Pro; the move is the compose file plus the keys volume, and the models download again on first start.
Sources
Every fact on this page, with its source
Accessed 3 Nov 2026 unless noted.
Swiss law and authorities
- Revised FADP in force since 1 September 2023fedlex RS 235.1
- OSCPT/VÜPF revision not in force, second consultation announcedadmin.ch · status as of 31 Oct 2026
- Private-use download allowed, making available online without permission is notIPI
EU and other countries
- EU adequacy for Switzerland confirmed on 15 January 2024, decision 2000/518/EC in forceEuropean Commission
- CLOUD Act executive agreements only with the UK and AustraliaUS Department of Justice · verified 31 Oct 2026
Industry, providers and software
Other references
- LibreTranslate documentation, Installation: arguments, defaults (--host 127.0.0.1, --port 5000, --threads 4), environment variables, the --req-limit 0 tip, model updates, CUDA builddocs.libretranslate.com
- LibreTranslate documentation, FAQ: production use of libretranslate.com, model location, model update command, reverse-proxy examplesdocs.libretranslate.com/guides/faq
- LibreTranslate documentation, Supported Languages: 98 model packages, published sizes, pivoting via Englishdocs.libretranslate.com
- LibreTranslate documentation, Manage API Keys: ltmanage keys add 120 --char-limit 5000docs.libretranslate.com
- libretranslate 1.9.4 on PyPIpypi.org/project/libretranslate
- LibreTranslate community forumcommunity.libretranslate.com
- Third-party RAM estimate (~200 MB per language, 8 GB+ for all)Railway LibreTranslate template
- Docker documentation, Packet filtering and firewalls: published ports and ufwdocs.docker.com
- Google Cloud Translation pricing, NMT text translationcloud.google.com/translate/pricing
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.
