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 embeddings server in the Swiss Alps.

Run a self hosted embeddings server (Hugging Face TEI) on a 6 vCPU / 8 GB VPS in the Swiss Alps for $22.99/mo: sizing, Docker setup and limits.

Runs here
  • Hugging Face
  • Docker
  • Ollama

ALP1·Swiss Alps

In stock

Recommended for this use case

Cloud VPS · ProductionPro · 6 vCPU · 8 GB RAM$22.99/mo320 GB NVMe · 20 TB transfer · 1 Gbps
  • 1 Gbps port20 TB of transfer a monthIncluded
  • Debian 13preinstalled with the orderIncluded
  • DDoS protection, 1 IPv4VNC console and full rootIncluded
Per month$22.99/mo

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

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

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

  • 6 vCPU, 8 GB RAM
  • 320 GB NVMe local storage
  • 20 TB transfer on a 1 Gbps port
  • DDoS protection included
  • Swiss jurisdiction, outside the EU

01/06

Short answer.

Yes. Hugging Face's Text Embeddings Inference (TEI) runs in its CPU image on our Cloud VPS Pro plan: 6 vCPU, 8 GB RAM, 320 GB NVMe and 20 TB of monthly transfer for $22.99 a month, in ALP1 in the Swiss Alps. That is enough to serve query-time embeddings and steady ingestion with the models most retrieval pipelines use, from nomic-embed-text-v1.5 up to the multilingual BAAI/bge-m3. The thing that matters most is that our catalogue has no GPUs. The CPU budget decides how long a full re-index takes, so size the server for your largest backfill rather than for daily query load, and order a larger plan when the backfill is what hurts.

There is also one default worth changing on day one. TEI answers every request unless you give it an API key, and Docker's documentation warns that ports it publishes bypass ufw and firewalld rules. Bind the container to localhost and set the key before you load anything you care about.

02/06

What TEI is and who runs it.

TEI is Hugging Face's inference server for text embedding models, written in Rust and released under the Apache-2.0 licence. It loads a model from the Hugging Face Hub or from a local directory, groups incoming requests into batches by token count rather than by request count, and exposes an HTTP API: /embed for dense vectors, /embed_sparse for SPLADE models, /rerank for cross-encoders, an OpenAI-compatible embeddings route, Prometheus metrics and OpenTelemetry tracing. The supported architectures include BERT, XLM-RoBERTa, NomicBERT, JinaBERT, ModernBERT, GTE, Qwen2/Qwen3, Mistral and Gemma3. The current release line is 1.9. Version 1.9.0, published in February 2026, switched --auto-truncate on by default and moved both the CPU and CUDA backends to the tanh approximation of GeLU, so if you upgrade a server that already fed an index, embed a sample of old documents and compare before you put it back into service.

The people who run it are usually building retrieval-augmented generation or semantic search and have decided that the embedding step should not be a call to someone else's API, which means sending every document and every user query, in clear text, to a third party. Ollama also serves embedding models and is the shorter path if it already runs your chat models. We default to TEI for a dedicated embeddings service because its batching holds up under concurrent clients, it has an API-key option built in, and its OpenAI-compatible route lets most client libraries switch over with a different base URL.

Why the embedding step belongs on infrastructure you control

A common assumption is that vectors are a safe, one-way derivative of the text. Research says otherwise: Morris and colleagues (EMNLP 2023) reconstructed 92% of 32-token inputs exactly from their embeddings and recovered full names from a set of clinical notes, and concluded that embeddings call for the same precautions as the raw text. If your corpus contains personal data, the vector store and the server that computes it are processing personal data, and where they sit is a legal question as much as a technical one.

The law that applies in ALP1 is the revised Federal Act on Data Protection (FADP), in force since 1 September 2023. On 15 January 2024 the European Commission confirmed that Switzerland still ensures an adequate level of protection, so personal data can come from the EU to our servers without additional transfer safeguards. As of 31 October 2026, the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, and none with Switzerland. That is a narrow statement rather than a promise that no foreign authority can ever reach your data, and it says nothing about what your application sends from the server to US-based services. The legal picture for providers is also not frozen: the revision of the Swiss surveillance ordinance (VÜPF/OSCPT) put to consultation in January 2025 is not in force, and the Federal Council has announced a second consultation. Our jurisdiction page covers the rest.

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

Requirements and sizing.

TEI's footprint is set almost entirely by the model. For planning on CPU, count four bytes per parameter (float32) for the weights, then leave headroom for activations, the tokenizer workers and the operating system.

Model (Hub ID)ParametersWeights at float32 (theoretical)Where it fits
sentence-transformers/all-mpnet-base-v2109M≈ 0.44 GBCloud VPS Pro, with room to spare
nomic-ai/nomic-embed-text-v1.5137M≈ 0.55 GBCloud VPS Pro
Qwen/Qwen3-Embedding-0.6B509M≈ 2.0 GBCloud VPS Pro
intfloat/multilingual-e5-large-instruct560M≈ 2.2 GBCloud VPS Pro
BAAI/bge-m3569M2.27 GB (BAAI's figure)Cloud VPS Pro; keep inputs chunked
Qwen/Qwen3-Embedding-4B4.02B≈ 16 GBUltra VPS (32 GB) or a dedicated server
Qwen/Qwen3-Embedding-8B7.57B≈ 30 GBSummit VPS (64 GB) or a dedicated server

Parameter counts come from the TEI README, except bge-m3, which comes from BAAI's documentation; the TEI maintainers themselves label the 4B and 8B models as very expensive to run. Weights are the floor, not the total. TEI also holds activations for each batch, bounded by --max-batch-tokens (16,384 by default), and bge-m3 accepts up to 8,192 tokens per input, where attention cost grows faster than length. On an 8 GB VPS, chunk documents to a few hundred tokens, which you probably want for retrieval quality anyway, and lower --max-batch-tokens if memory climbs under load. Before you tune anything, run lscpu to see which instruction sets the guest exposes.

Query traffic is light, because a search query is one short input. The heavy moment is the backfill: embedding the whole corpus the first time, and again every time you change model, since vectors from two different models cannot share an index. The arithmetic is chunks divided by sustained rate. Purely as an illustration, a hypothetical 50 chunks per second (not a figure we have measured) turns two million chunks into about 11 hours. If that window is too long, the next steps are Cloud VPS Power (12 vCPU, 16 GB, $42.99) and Ultra (16 vCPU, 32 GB, $65.99); 8 to 16 vCPU is where bulk indexing on CPU stops being a weekend job. A dedicated server gives you cores nobody else schedules on. For the 4B and 8B models, memory bandwidth starts to weigh as much as core count, and the catalogue is uneven there: our EPYC 4004-based dedicated servers have two DDR5 channels, while Matterhorn (EPYC 9254, 192 GB) has twelve.

Disk is rarely the constraint. Model files take a few gigabytes, and one million 1,024-dimension float32 vectors occupy about 4.1 GB raw before index overhead (theoretical: 10⁶ × 1,024 × 4 bytes), so 320 GB of NVMe holds the model cache and a sizeable vector database side by side. Inside the container TEI listens on port 80 and serves Prometheus metrics on 9000. Neither needs to face the internet.

04/06

How to deploy it with us.

1. Order the server. Deploy Cloud VPS Pro with Debian 13. The account is no-KYC: an email address is enough, and you pay in crypto.

2. Install Docker Engine from Docker's own apt repository, which lists Debian 13 (Trixie) as supported. If Debian's docker.io package is already installed, remove it first, as Docker's documentation asks.

bash
apt update && apt install -y ca-certificates curl install -m 0755 -d /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc chmod a+r /etc/apt/keyrings/docker.asc cat > /etc/apt/sources.list.d/docker.sources <<EOF Types: deb URIs: https://download.docker.com/linux/debian Suites: trixie Components: stable Signed-By: /etc/apt/keyrings/docker.asc EOF apt update && apt install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin

3. Start TEI bound to localhost, with an API key and a pinned model revision. Take the commit hash from the model's page on the Hub; pinning it means a redeploy cannot quietly pull different weights and leave you with an index full of vectors that no longer match new queries.

bash
mkdir -p /srv/tei tr -dc 'a-f0-9' < /dev/urandom | head -c 64 > /root/tei.key && chmod 600 /root/tei.key docker run -d --name tei --restart unless-stopped \ -p 127.0.0.1:8080:80 \ -v /srv/tei:/data \ -e API_KEY="$(cat /root/tei.key)" \ ghcr.io/huggingface/text-embeddings-inference:cpu-1.9 \ --model-id BAAI/bge-m3 \ --revision <commit-sha> \ --max-batch-tokens 8192

The --max-batch-tokens 8192 value is a cautious starting point for 8 GB; raise it once you have watched memory under real load. Then test both the native and the OpenAI-compatible routes:

bash
KEY=$(cat /root/tei.key) curl -s 127.0.0.1:8080/embed -H "Authorization: Bearer $KEY" \ -H 'Content-Type: application/json' -d '{"inputs":"Wie hoch ist der Säntis?"}' | head -c 120 curl -s 127.0.0.1:8080/v1/embeddings -H "Authorization: Bearer $KEY" \ -H 'Content-Type: application/json' -d '{"model":"bge-m3","input":["erster Abschnitt","second chunk"]}' | head -c 120

4. Reach it from elsewhere without publishing the port. If your application runs on another machine, put a WireGuard tunnel between the two, or a reverse proxy with TLS (Caddy or nginx) in front of the localhost port; the API key still applies behind it. If the vector database lives on the same VPS, nothing has to leave the machine at all.

5. Cut the Hub dependency if you want one. TEI downloads weights on first start and caches them under /data. To run with no outbound call to Hugging Face, clone the model repository into /srv/tei once and start TEI with --model-id /data/<folder>, as the README's air-gapped section describes.

6. Back up the index, not the model. The model can be downloaded again; your vector database cannot. Snapshots belong off the server, and object storage in ALP1 starts at $1.99 a month for 250 GB. These are S3-compatible buckets, so point restic, rclone or your database's native S3 snapshot target at them. They are not a disk to mount under a running database.

05/06

Cost.

ItemPer month
Cloud VPS Pro: 6 vCPU, 8 GB RAM, 320 GB NVMe, 20 TB transfer, 1 Gbps$22.99
With daily backups (+20 %)$27.59 in total
Yearly billing (≈ −25 %)$206.99 a year, about $17.25 a month
Object storage, 250 GB$1.99
Extra IPv4 / priority support$2 / $10

VPS transfer is a monthly allowance, not unmetered, but embeddings barely touch it. A 1,024-dimension vector returned as JSON comes to roughly 10–20 KB, so one million vectors is 10–20 GB of egress, about 0.1% of the 20 TB included (theoretical). Payment is in crypto only, with prices and 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. The full grid is on our pricing page.

06/06

Limits and acceptable use.

What you embed is your responsibility. Under the FADP you remain the party that decides why and how the data is processed, and given the inversion research above, treat the vectors as personal data whenever the source text is. You are also responsible for what reaches the internet from your server, including an endpoint left without a key: an open embeddings API is free compute for anyone who scans for it. The general rules are in our acceptable use policy.

Copyright deserves a sentence of its own. Swiss law permits downloading a work for private use (software excepted) but not making it available online without permission. Indexing your own documents is one thing; a public RAG front-end that returns verbatim passages of works you have no rights to is making them available. 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). The stricter stay-down duty in Swiss copyright law (CopA art. 39d) applies only where a work was already made available unlawfully through the same service, the provider was notified, and the service creates a particular risk of infringement.

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
PowerHeavy workloads1216 GB640 GB40 TB / month2 Gbps$42.99/moDeploy Power
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
Do I need a GPU for a self-hosted embeddings server?

Not for models up to about 600M parameters at moderate volume. A GPU shortens backfills; on CPU you pay in hours instead. Our catalogue has no GPU servers, so if your workload is re-embedding tens of millions of chunks every week, we are the wrong host for that part of it. For serving queries and incremental ingestion, CPU is adequate.

Should I use TEI or Ollama?

If Ollama already runs your chat models on the same machine, its embedding models are the shortest path. For a separate embeddings service with several concurrent clients, TEI's token-based batching, built-in API key and Prometheus metrics make it easier to operate. Pick one and stay with it, because changing server usually means changing model build, and that means a full re-embed.

Can my code keep using the OpenAI SDK?

Yes. Set the base URL to your endpoint plus /v1 and the API key to the TEI key; the model name the route reports comes from --served-model-name, which defaults to the model ID. The vectors are bge-m3's, not OpenAI's, so never mix the two in one index.

Which model should I start with?

For documents in more than one language, bge-m3: in a Swiss context that usually means German, French, Italian and English in the same corpus. For English-only text on a smaller budget, nomic-embed-text-v1.5 or all-mpnet-base-v2. Whatever the MTEB leaderboard says, test against a few hundred of your own queries before committing to a backfill.

Will the 20 TB transfer allowance be a problem?

Only in unusual setups. By the theoretical figures above, a million vectors is in the tens of gigabytes, so you would need to return hundreds of millions of vectors a month to approach the allowance.

Do I have to identify myself to order?

No. The account is no-KYC: an email address is enough, and payment is in crypto. The server still operates under Swiss law and our acceptable use rules. For anything account-related, open a support ticket from the client panel; more answers are in our FAQ.

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.