OpenAI text-embedding-3: The New Embedding Models and When to Use Each
OpenAI's text-embedding-3-small and text-embedding-3-large introduce Matryoshka representation learning - you can truncate dimensions without retraining, cutting storage costs while keeping most retrieval quality.
Ada-002 charged $0.10/1M tokens for a model that MTEB scores showed was falling behind newer alternatives. The new models are both cheaper and more capable.
MTEB Leaderboard Performance
The Massive Text Embedding Benchmark (MTEB) covers 56 tasks across retrieval, classification, clustering, and semantic similarity.
Model
MTEB Average
Dimensions
Cost/1M tokens
text-embedding-3-large
64.6
3072
$0.13
text-embedding-3-small
62.3
1536
$0.02
text-embedding-ada-002
61.0
1536
$0.10
Cohere embed-v3
64.5
1024
$0.10
Voyage-3
67.1
1024
$0.06
text-embedding-3-small beats ada-002 at one-fifth the price - for most RAG use cases, it is the obvious default.
Team workspace
Ship faster with chat, meetings, and projects in one place — Zlyqor.
The headline technical feature is Matryoshka embeddings: the model is trained so that the first N dimensions of a 3072-dimension vector are nearly as useful as the full vector. This means you can truncate dimensions at query time without retraining.
Using 256 dimensions instead of 1536 reduces vector storage by 6x while retaining roughly 92% of retrieval quality on most benchmarks.
Migration from Ada-002
The embeddings are not backward compatible - ada-002 vectors and text-embedding-3 vectors live in different spaces and cannot be compared. If you are migrating a production vector database:
Keep ada-002 running for existing queries
Re-embed your entire corpus with text-embedding-3-small
Update your vector store index
Cut over traffic and deprecate ada-002
For Pinecone, create a new index with the new dimension count (1536 for small, 3072 for large). For pgvector, alter the column or create a new one.
When Voyage or Cohere Beat OpenAI
Voyage-3 consistently leads MTEB for English retrieval tasks - if maximum retrieval accuracy is the priority and you can afford slightly more complex integration, Voyage is worth testing.
Cohere embed-multilingual-v3 dominates when you need 100+ languages - OpenAI's multilingual performance is good but not best-in-class.
OpenAI wins on simplicity (one SDK, one billing account) and latency (well-optimized inference infrastructure).
Practical deep-dives on LLMs, developer tools, and AI engineering. No filler. Unsubscribe any time.
// written byFIG. AUTH-01
530
Mahmudul Haque Qudrati
CEO & ML Engineer
CEO and ML Engineer at Pristren. Builds AI-powered software for teams and writes about machine learning, LLMs, developer tools, and practical AI applications.
ONNX (Open Neural Network Exchange) is the universal model format - export from PyTorch, scikit-learn, or HuggingFace and run 3x faster inference with ONNX Runtime on CPU or GPU.