Skip to content
Urnish Tech logo
Back to blog
AIGenAIRAGEmbeddings

AI series · Part 2: Retrieval (RAG)

Choosing an Embedding Model: Dimensions, Storage and Accuracy

Urnish Tech·Oct 12, 2026· 3 min read

More embedding dimensions mean better accuracy but more storage and slower search. Here's a comparison of popular models, what they cost at a million chunks, and three rules for choosing.

An embedding model is the AI that converts text into numbers. Dimensions is how many numbers each vector has.

It's like describing a person: 3 details (height, age, city) is quick but vague, while 100 details is precise but takes more space. More dimensions = more accurate, but more storage and slower search.

Popular models compared

ModelDimensionsBest for
all-MiniLM-L6-v2384Small, fast, free (used in our reference build)
bge-base768Good free option
bge-large / Cohere1024Higher quality
OpenAI text-embedding-3-small1536Popular paid default
OpenAI text-embedding-3-large3072Best quality, most storage

What it costs at 1 million chunks

DimensionsStorage
3841.5 GB
15366.1 GB
307212.3 GB

Each dimension is a 4-byte number, so storage grows in a straight line with dimensions. Search speed and memory follow.

Three rules

  1. 1Use the same model for documents and questions. Two different models are like two different map systems: the coordinates don't line up.
  2. 2If you change the model, re-embed everything.
  3. 3Test, don't guess. Compare models on your golden eval set and keep the smallest one that hits your target.

In our reference build, swapping models is a one-line change, and the eval run tells us whether it was worth it:

bash
python -m evals.run_evals --model BAAI/bge-base-en-v1.5

I pick the smallest embedding dimension that meets my accuracy target on the golden eval, balancing accuracy against storage cost and speed.

- The short version

Next in the GenAI series: Vector Databases, Top-K and Hybrid Search

Start from the top: GenAI Quick Answers and Series Guide

We deploy these patterns across production engagements in fintech, healthcare, and eCommerce. Talk to a senior engineer about how they apply to your platform.

Let's talk

Have a product idea or a system to scale?

Tell us what you're building. You'll hear back within one business day - from a senior engineer, not a sales rep.

  • Reply within 24h
  • Senior engineers only
  • Fixed-scope or T&M
  • NDA on request
or emailadmin@urnishtech.com