Vector DBs & RAG (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)
Embedding Model Selection and Dimensionality Tradeoffs.
senior Levelvector-databasesAdvanced Internals
In Simple Words:
| Model | Dimensions | MTEB Benchmark | Cost / Latency | Best Use Case |
|---|---|---|---|---|
OpenAI text-embedding-3-small | 1536 (or 512 via MRL) | High (62.3) | Ultra-cheap API, low latency | General-purpose SaaS RAG applications |
OpenAI text-embedding-3-large | 3072 | Highest (64.6) | Moderate API cost | High-precision legal, medical, and financial search |
BAAI bge-large-en-v1.5 | 1024 | Very High (64.1) | Open-source (self-hosted GPU) | Air-gapped on-premise enterprise environments |
nomic-embed-text | 768 | High (62.4) | Open-source, 8K context window | Long-document ingestion with fully auditable weights |