Best Embedding Model for a 1 GB VPS: 62 MB to 522 MB

🔧 AI Tools 2026-11-26 7 min read
Best Embedding Model for a 1 GB VPS: 62 MB to 522 MB

Small VPS deployments fail at the model download or the first OOM kill, because parameter counts hide the file size and the 256-token cap hides the truncation.

📜 Table of Contents

📖 Keep reading

Seven embedding models, weight files measured on the Hub on 2026-11-26, from 62.4 MB to 521.6 MB. A 1 GB VPS can hold the first five with the runtime; the 448 MB and 522 MB models only fit in quantised form. The two best fits for English retrieval are Snowflake/snowflake-arctic-embed-s at 126.7 MB and BAAI/bge-small-en-v1.5 at 127.3 MB, with card-reported mean NDCG@10 of 51.98 and 51.68 over the same 15 BEIR tasks.

If your documents run past 512 tokens, the choice changes: nomic-embed-text-v1.5 accepts 8,192 tokens, scores 53.01 on that same 15-task average, and its int8 ONNX file is 130.9 MB, which fits where the 521.6 MB fp32 file does not.

The seven, measured

modelweightsdimsmax tokenslicenceHub downloadsmean NDCG@10
jinaai/jina-embeddings-v2-small-en62.4 MB5128,192Apache-2.01.03M45.14
thenlper/gte-small63.7 MB384512MIT4.92M49.46
all-MiniLM-L6-v286.7 MB384256Apache-2.0164.7Mnot in card
snowflake-arctic-embed-s126.7 MB384512Apache-2.045 thousand51.98
BAAI/bge-small-en-v1.5127.3 MB384512MIT42.9M51.68
multilingual-e5-small448.8 MB384512MIT9.56M46.64
nomic-embed-text-v1.5521.6 MB fp32, 130.9 MB int8 ONNX7688,192Apache-2.011.4M53.01

Every licence in the table permits commercial use. The size column is the actual model.safetensors file, not the parameter count times a guess.

How these numbers were collected

What 1 GB actually leaves

A 1 GB VPS does not hand you 1 GB. The kernel, sshd and package manager take roughly 150 to 250 MB, and a Python process with an inference runtime takes another 150 to 400 MB depending on whether you pulled onnxruntime or torch. That leaves a weights budget somewhere between 350 and 600 MB, and the reserved part is the part you cannot see until the OOM killer arrives.

Weights are file size: 62 MB model, 62 MB of RAM, plus activations that scale with batch size times sequence length. A batch of 32 chunks at 512 tokens costs far more memory in activations than a batch of 8.

Which is why the practical ceiling on a 1 GB box is a 130 MB file, not a 500 MB one. The 448.8 MB and 521.6 MB entries are there because their quantised variants are 112.9 MB and 130.9 MB, and because people do try the fp32 versions on small machines and then wonder why the process dies.

Model by model

snowflake-arctic-embed-s, 126.7 MB, 384 dims, 512 tokens. Best card-reported retrieval number in the small group at 51.98, Apache-2.0, 45 thousand downloads. The repository also ships int8 and fp16 ONNX builds at 32.4 MB and 63.7 MB, which is the version to run if your VPS is doing anything else at the same time.

BAAI/bge-small-en-v1.5, 127.3 MB, 384 dims, 512 tokens. One point behind at 51.68, MIT licensed, 42.9 million downloads, and the most documented of the group: query instructions, hybrid search with BM25, and reranker pairings all have published recipes. If you want to copy a known-good setup rather than experiment, this is the one.

nomic-embed-text-v1.5, 768 dims, 8,192 tokens. Highest score at 53.01 and the only model here that takes long inputs without truncation. The catch is 521.6 MB fp32 or 130.9 MB int8 ONNX, and 768 dims double the index size of a 384-dim model. It also expects task prefixes such as search_document: and search_query:, which its card spells out.

thenlper/gte-small, 63.7 MB, 384 dims, 512 tokens. The cheapest credible option: 49.46, MIT, 4.9 million downloads. Its card publishes 27 retrieval results, so the 15-task average is comparable with the rest.

jina-embeddings-v2-small-en, 62.4 MB, 512 dims, 8,192 tokens. Smallest file and the longest input window outside nomic, but the weakest retrieval average here at 45.14. Worth it when RAM is the hard constraint and documents are long; not worth it for a short-chunk English index.

multilingual-e5-small, 448.8 MB, 384 dims, 512 tokens. The only multilingual option in this set that can be squeezed onto 1 GB in int8 at 112.9 MB. English retrieval average of 46.64 does not tell you much if you need five languages; that is the trade.

all-MiniLM-L6-v2, 86.7 MB, 384 dims, 256 tokens. 164.7 million downloads, more than everything else here combined, and no MTEB retrieval block in its card, so it has no number in the table. The 256-token cap is the real cost: a 512-token chunk is silently truncated, and half of it never gets embedded.

Three traps that decide the deployment

What I would deploy

  1. English, 512-token chunks, 1 GB box: snowflake-arctic-embed-s. Best number in the class, 126.7 MB, and an int8 build at 32.4 MB if the box is shared.
  2. English, need published recipes and reranker pairings: bge-small-en-v1.5, 127.3 MB, MIT.
  3. Anything past 512 tokens: nomic-embed-text-v1.5 int8, 130.9 MB, 8,192 tokens, best score here. Budget the index for 768 dims.
  4. Five languages on the same box: multilingual-e5-small in int8, 112.9 MB.
  5. Under 100 MB of free RAM: gte-small at 63.7 MB is the only one here that keeps a credible score, 49.46.

FAQ

Is 1 GB of RAM enough to serve embeddings?

For a small model, yes, at low concurrency. The arithmetic: 150 to 250 MB for the OS, 150 to 400 MB for the runtime, 62 to 130 MB for the weights. That leaves room for a modest batch, not for four workers each loading their own copy. One process, one model, is the rule on a box this size.

Do the scores survive int8 quantisation?

Not measured here. The 51.98, 51.68 and 53.01 figures are the fp32 numbers published in the model cards. Quantisation costs some retrieval quality; the only honest way to size that cost is to embed a few thousand of your own chunks both ways and compare recall at k.

Should I use an API instead?

If you have fewer than a few million chunks and no privacy constraint, a hosted embedding endpoint removes the RAM question entirely and costs a fraction of a VPS you have to babysit. Self-hosting wins when the corpus is large, the data cannot leave the box, or you need a model nobody hosts.

What about Chinese or mixed-language corpora?

bge-small-en-v1.5 and the other English models in this table are English-only. For Chinese use a multilingual model: multilingual-e5-small at 448.8 MB fp32, or bge-m3 if you have the RAM for 2.27 GB. Token counts also rise: a Chinese page costs noticeably more tokens than the same content in English under most encoders.

What this comparison does not cover

Throughput. File size is a proxy for RAM, not for speed: a 384-dim model with 6 layers will embed far faster than a 768-dim model on two vCPUs, and no card publishes tokens per second on the hardware you actually rent. Measure that on your box with a hundred of your own chunks before you commit, and measure after quantisation.

Related

Related Articles
2026-09-18
Is learning ComfyUI too hard? I tried all 4 ways to let WorkBuddy take over
2026-07-27
Best AI Meeting Summarizer 2026: Top 7 Tools Compared
2026-08-15
Best AI Scheduling Assistant for Freelancers 2026: 7 Tools That Book Clients While You Work
2026-08-29
Best AI Research Assistant in Basel 2026: 6 Tools for Pharma R&D Teams
2026-07-24
AI for Data Analysis 2026 Best Tools
2026-07-18
CUDA 13.3 Released: C++ Tile Programming, Python 1.0 Stable, CompileIQ Delivers 15% Free Speedup

Written by our editorial team; tools listed here are tested or verified against public sources. Links point to official sites or GitHub repos for reference only — no paid placements.

💬 Comments (0)

No comments yet. Be the first!

Login to comment