New AMD EPYC dedicated servers in the Swiss Alps, from $64.99 a month See servers

Pay with
EN

Self-hosted app·Self-hosted AI

Self-hosted TTS API on a Swiss VPS.

Run a self-hosted TTS API (Kokoro, Piper) on a 12 vCPU / 16 GB VPS in the Swiss Alps. Sizing, Docker setup, costs and limits.

Runs here
  • Docker
  • Caddy

ALP1·Swiss Alps

In stock

Recommended for this use case

Cloud VPS · Heavy workloadsPower · 12 vCPU · 16 GB RAM$42.99/mo640 GB NVMe · 40 TB transfer · 2 Gbps
  • 2 Gbps port40 TB of transfer a monthIncluded
  • Debian 13preinstalled with the orderIncluded
  • DDoS protection, 1 IPv4VNC console and full rootIncluded
Per month$42.99/mo

Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $386.99 a year, about 25% less

Deploy VPS Power
  • No KYC
  • Crypto only
  • Swiss jurisdiction

ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto

  • 12 vCPU, 16 GB RAM
  • 640 GB NVMe local storage
  • 40 TB transfer on a 2 Gbps port
  • DDoS protection included
  • Swiss jurisdiction, outside the EU

01/06

Short answer.

Yes. A self-hosted TTS API with an OpenAI-compatible endpoint runs comfortably on our Cloud VPS Power plan: 12 vCPU, 16 GB RAM, 640 GB NVMe and 40 TB of monthly transfer for $42.99 a month, in ALP1 in the Swiss Alps. What decides whether the project works is the model, not the plan. We do not rent GPUs, so you want engines designed to run on CPU — Kokoro-82M for natural English, French and Italian, Piper for German and for the lowest latency. Voice-cloning models such as XTTS-v2, F5-TTS or Chatterbox will start on a CPU, but they produce audio more slowly than it plays back, and two of them may not be used commercially at all.

02/06

What you are actually running.

The interface has more or less settled on the shape OpenAI introduced: POST /v1/audio/speech with a JSON body carrying model, voice and input, returning MP3 or WAV. A server that speaks that dialect lets you keep your existing OpenAI SDK code and change only the base URL. Behind the endpoint sit one or more synthesis engines, and that is where the licence and performance questions are.

Kokoro-82M, published by hexgrad, is a small model whose weights and voice packs are licensed Apache 2.0. Its official voices cover American and British English, Spanish, French, Hindi, Italian, Japanese, Brazilian Portuguese and Mandarin. For a Swiss audience the gaps are the point: there is no German, French rests on a single voice trained on under eleven hours of audio, and Italian has two voices. Piper fills most of that hole. Michael Hansen wrote it for the Rhasspy voice-assistant project; the original MIT-licensed repository was archived in October 2025, and development continues under the Open Home Foundation as piper1-gpl, licensed GPL-3.0. Its voice collection includes several de_DE, fr_FR and it_IT voices, and each carries its own licence in its model card — de_DE-thorsten is CC0, fr_FR-siwis is CC BY 4.0. Neither project ships a Swiss German or Romansh voice. If your listeners expect dialect, open-source TTS will not give it to you today.

You can wire these engines into an HTTP service yourself, but Speaches already does it. It is an OpenAI-compatible server, modelled on the way Ollama handles language models, that serves Kokoro and Piper for speech and faster-whisper for transcription, downloads models on request and enforces an API key if you set one. Kokoro-FastAPI is the better choice if you only need Kokoro and want Opus output for telephony or WebRTC, which Speaches does not produce.

EngineWeights licenceNational languagesVoice cloningOn CPU
Kokoro-82MApache 2.0FR (1 voice), IT (2), no DENoPractical
Piper (piper1-gpl)Code GPL-3.0; each voice its ownDE, FR, ITNoBuilt for it
XTTS-v2Coqui Public Model Licence — non-commercialDE, FR, ITYesGPU-oriented
F5-TTSCC BY-NC 4.0 — non-commercialBase model EN/ZHYesGPU-oriented
ChatterboxMITMultilingual model incl. DE, FRYes≈ 0.34× real time on an Apple M4 CPU (third-party figure)

Two notes on that table. Piper's GPL-3.0 attaches obligations to distribution; running it as a service you never ship to anyone is a different situation from embedding it in software you sell, and GPL-3.0, unlike the AGPL, has no network-use clause. And XTTS-v2 cannot be fixed by paying: Coqui, the company that could have sold a commercial licence, closed at the turn of 2024.

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/06

Sizing why Power, and when to move.

At these model sizes, TTS on CPU is limited by compute, not memory. Kokoro's 82 million parameters come to roughly 330 MB in fp32 (theoretical: 82 M × 4 bytes), and a medium Piper voice is a few tens of megabytes. Railway's published template for Speaches budgets about 2 GB of RAM for CPU inference with one Whisper model and one Kokoro model loaded. The 16 GB on Power is therefore not for the models; it is room for several voices kept warm, a transcription model if you add one (our Whisper transcription guide), the reverse proxy and page cache. Disk is even less of a constraint — 640 GB holds every voice you could reasonably want, many times over.

CPU is the real budget. One synthesis call spreads across several cores through ONNX Runtime, and parallel requests then fight over the same cores, so 12 vCPU buys you lower latency per request or more requests in flight, not both at full value. Run lscpu after deployment to see which instruction sets the guest exposes. Most speed claims in the TTS threads on r/LocalLLaMA come from GPUs, so measure with your own text before promising anyone a latency.

PlanvCPU / RAM / NVMeTransfer / portPriceSensible for
Pro6 / 8 GB / 320 GB20 TB / 1 Gbps$22.99/moOne or two Piper voices, internal tools, low volume
Power12 / 16 GB / 640 GB40 TB / 2 Gbps$42.99/moKokoro and Piper behind one endpoint, moderate concurrency
Ultra16 / 32 GB / 1 TB60 TB / 2 Gbps$65.99/moAdding Whisper, or batch runs with Chatterbox

Transfer will not be what stops you. A 128 kbit/s MP3 is about 57.6 MB per hour of audio, so 40 TB would carry roughly 694,000 hours a month (theoretical) — vastly more than 12 vCPU can synthesise in the 730 or so hours a month has. It only becomes relevant if you serve the same files repeatedly, and those belong in object storage anyway.

If you outgrow a VPS, a dedicated server gives you whole cores and unmetered traffic under fair use on a 10 Gbps port: Titlis (EPYC 4564P, 16 cores/32 threads, 96 GB) at $139.99 or Matterhorn (EPYC 9254, 24/48, 192 GB) at $219.99. The EPYC 4004 models have two DDR5 channels and the 9254 has twelve. That difference barely touches Kokoro or Piper; it does matter once you push larger autoregressive voice models through a CPU.

04/06

Deploying it on ALP1.

  1. 01Order Power with Debian 13 from the deploy page and point an A record — tts.example.com below — at its IPv4 address.
  1. 02Install Docker from Docker's own repository, which supports Debian 13 (trixie):
bash
apt update && apt install -y ca-certificates curl jq install -m 0755 -d /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] \ https://download.docker.com/linux/debian trixie stable" > /etc/apt/sources.list.d/docker.list apt update && apt install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
  1. 03Create the project with a random API key:
bash
mkdir -p /opt/tts && cd /opt/tts echo "TTS_API_KEY=$(openssl rand -hex 32)" > .env && chmod 600 .env

/opt/tts/compose.yaml:

yaml
services: speaches: image: ghcr.io/speaches-ai/speaches:latest-cpu # pin the release tag you tested restart: unless-stopped environment: API_KEY: ${TTS_API_KEY} ENABLE_UI: "false" LOG_LEVEL: warning TTS_MODEL_TTL: "-1" PRELOAD_MODELS: '["speaches-ai/Kokoro-82M-v1.0-ONNX"]' volumes: - hf-cache:/home/ubuntu/.cache/huggingface/hub logging: options: { max-size: "10m", max-file: "3" } caddy: image: caddy:2 restart: unless-stopped ports: ["80:80", "443:443"] volumes: - ./Caddyfile:/etc/caddy/Caddyfile:ro - caddy-data:/data volumes: hf-cache: caddy-data:

/opt/tts/Caddyfile:

example
tts.example.com { @public path /docs* /openapi.json respond @public 404 request_body { max_size 64KB } reverse_proxy speaches:8000 }

Each of those lines exists for a reason. Speaches has no ports: entry because Docker publishes ports through its own iptables rules, which bypass ufw; the only way in is through Caddy, which also fetches the TLS certificate. With API_KEY set, Speaches still leaves its web UI, /docs and /openapi.json open, so the UI is switched off and Caddy hides the other two. Its default log level is debug, which is not where you want customer text to end up — check docker logs before real data goes through. TTS_MODEL_TTL=-1 keeps the model loaded instead of unloading it after the default five idle minutes, so the first request of the morning does not pay a cold start.

  1. 04Start it and add the Piper voices you need:
bash
cd /opt/tts && . ./.env && docker compose up -d curl -s -H "Authorization: Bearer $TTS_API_KEY" https://tts.example.com/v1/registry \ | jq -r '.data[].id' | grep -E 'de_DE|fr_FR|it_IT' curl -X POST -H "Authorization: Bearer $TTS_API_KEY" \ https://tts.example.com/v1/models/<model-id-from-that-list>
  1. 05Test the endpoint:
bash
curl -s https://tts.example.com/v1/audio/speech \ -H "Authorization: Bearer $TTS_API_KEY" -H "Content-Type: application/json" \ -d '{"model":"speaches-ai/Kokoro-82M-v1.0-ONNX","voice":"af_heart", "input":"The 14:02 to Interlaken Ost leaves from platform 3.","response_format":"mp3"}' \ -o test.mp3

Before you switch on the French and Italian voices (ff_siwis, if_sara, im_nicola), listen to a page of your real text; with one French voice and little training data behind it, you are judging the whole language on one speaker. For fixed phrases — IVR prompts, station announcements, app notifications — hash model, voice and text, synthesise once, and push the file to an S3 bucket with aws s3 cp or rclone copy. Our buckets have unmetered traffic in both directions, which keeps repeated playback off the VPS transfer allowance.

05/06

Cost.

ItemPrice
Cloud VPS Power$42.99/mo
Power, yearly billing (≈ −25 %)$386.99/yr, about $32.25/mo
Daily backups (+20 %)$51.59/mo in total (theoretical: 42.99 × 1.2)
Extra IPv4$2/mo
Priority support$10/mo
Object storage, 250 GB, for an audio cache$1.99/mo

The plan includes the 12 vCPU, 16 GB RAM, 640 GB NVMe, a 2 Gbps port and 40 TB of transfer per month. VPS traffic is not unmetered; the 40 TB is what the plan includes.

Be honest with yourself about the arithmetic. OpenAI lists tts-1 at $15 per million characters, so Power costs the same as about 2.87 million characters a month — at roughly 900 characters per minute of speech, around 53 hours of audio (both figures theoretical). Below that volume a hosted API is cheaper in cash. What self-hosting buys is the data path, a fixed bill that does not grow per request, and the freedom to choose and pin your models.

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 of a top-up is refundable within 14 days. We do not ask for identity documents: an email address is enough (no-KYC hosting), and business customers paying in crypto are welcome. Every plan is on the pricing page.

06/06

Limits and acceptable use.

Sustained full CPU load is not a problem in itself; we allow mining on our VPS, which is a harsher profile than any synthesis queue. The limits are about what the audio is used for.

A voice is personal data under the Swiss Federal Act on Data Protection, and voice data processed to identify a person uniquely is biometric data, which the Act treats as sensitive (art. 5 let. c). Using synthetic voices to defraud people or to pass yourself off as someone else — fake-CEO calls, bank "security" calls — falls under the ban on fraud in our acceptable use policy. Cloning someone's voice without their consent processes their personal data, and that is yours to answer for. Copyright applies to what you narrate: in Switzerland, downloading a work for private use is permitted (software excepted), but making it available online without permission is not, so an audiobook of a novel you hold no rights to cannot be published from our servers.

When we receive a complaint, the procedure is the same as for any other content. 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).

Your side of the arrangement is concrete. Keep the endpoint behind a key: an open TTS endpoint is free CPU for strangers and a ready-made tool for scam calls. Respect model licences — XTTS-v2 and F5-TTS are non-commercial, and each Piper voice has its own terms. If you synthesise text containing other people's personal data, you are the controller for that processing, including what your logs retain.

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.

Six cloud VPS plans in ALP1 · transfer included on every plan

PlanvCPUMemoryNVMeTransferPortPriceDeploy
StarterStaging, dev22 GB80 GB10 TB / month1 Gbps$6.99/moDeploy Starter
StandardSmall apps44 GB160 GB15 TB / month1 Gbps$12.99/moDeploy Standard
ProProduction68 GB320 GB20 TB / month1 Gbps$22.99/moDeploy Pro
UltraDatabases1632 GB1000 GB60 TB / month2 Gbps$65.99/moDeploy Ultra
SummitDense hosts3264 GB2000 GB100 TB / month5 Gbps$119.99/moDeploy 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

Options and upgrades · prices per month

OptionWhat you getPrice
Daily backupsSnapshots of the whole VPS+20%
Extra IPv4Per address, up to 64+$2.00
Priority supportPer VPS+$10.00
Longer billingPay quarterly or yearly−10% / −25%
Dedicated serverWhen a VPS is no longer enough: 10 Gbps, unmetered trafficfrom $64.99

FAQ

Questions people ask first.

Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.

Still unsure?

Tickets go straight to the people who run ALP1.

Contact support
Can I point the OpenAI SDK at it?

Yes. Set base_url to https://tts.example.com/v1 and api_key to your key; model and voice names are the server's own (speaches-ai/Kokoro-82M-v1.0-ONNX, af_heart), not OpenAI's. Speaches does not return opus or aac, so request MP3, WAV or FLAC, or run Kokoro-FastAPI where you need Opus.

Do you offer GPU servers?

No. Our catalogue is CPU-only, which is why this page recommends Kokoro and Piper. If you need live voice cloning, a GPU host elsewhere is the realistic answer, with the jurisdiction trade-off that comes with it. If batch is acceptable, Chatterbox on Ultra or a dedicated server can render overnight at below-real-time speed.

Does the text I synthesise leave Switzerland?

Inference runs on the VPS in ALP1. Speaches needs outbound access to download models from Hugging Face; once they are cached, add an egress firewall rule and confirm nothing breaks — that is better evidence than any assurance from us. Whatever your own application sends elsewhere is your code's business. For EU customers, the European Commission confirmed on 15 January 2024 that Switzerland still provides an adequate level of protection, so personal data can flow here without additional safeguards.

Which authorities can demand access?

The service is operated by Hosta AG, a Swiss société anonyme (IDE CHE-107.875.655), under the revised FADP in force since 1 September 2023. Swiss authorities can order disclosure under Swiss law, and we act on decisions of competent Swiss authorities. 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, so a US request has no executive-agreement shortcut and must use the ordinary routes of international cooperation. The revision of the Swiss surveillance ordinance (VÜPF/OSCPT) put to consultation in January 2025 is not in force; the Federal Council has announced a second consultation. The offshore hosting page covers the jurisdiction in more depth.

Can I clone my own voice for a product?

Your own voice, or one you hold written consent for, yes. The obstacle is licensing: XTTS-v2 and F5-TTS rule out commercial use, which leaves MIT-licensed Chatterbox among the well-known options, and it is slower than real time on a CPU. Plan for pre-rendered audio rather than live calls. If the text comes from a model you also want to keep in Switzerland, see our guide to a self-hosted OpenAI-compatible API.

To reach us about any of this, open a support ticket from the client panel.

Sources

Every fact on this page, with its source

Consulted 6 Nov 2026 unless noted.

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.