Unlocking AI Potential with MongoDB’s New Embedding and Reranking API
MongoDB has made headlines with its recent announcement of the public preview for the Embedding and Reranking API on MongoDB Atlas. This innovative API provides developers direct access to Voyage AI’s advanced search models, enabling the creation of cutting-edge features like semantic search and AI-driven assistants—all within a single, managed cloud database environment. This integration promises not only streamlined functionalities but also consolidated monitoring and billing, simplifying the development process for teams engaged in AI projects.
A Unified Approach to AI Retrieval
With today’s rapidly evolving AI landscape, building retrieval-powered AI systems can often feel like navigating a complex maze. Historically, developers have had to piece together various components—databases, vector search tools, and retrieval model providers. Each step introduced operational complexities that could make or break a project. However, MongoDB’s new API is designed to tackle these challenges head-on.
“Building AI retrieval today means stitching together databases, vector search, and retrieval model providers — each introducing operational complexity. To address this, we’re introducing the Embedding and Reranking API on MongoDB Atlas.” — Thibaut Gourdel and Wen Phan, MongoDB
Voyage 4 Series: The Backbone of the New API
One of the key highlights from the MongoDB .local San Francisco event was the introduction of the Voyage 4 series, comprised of four distinct models: voyage-4-large, voyage-4, voyage-4-lite, and the open-weights voyage-4-nano. This new series offers significant advantages over previous generations. Unlike past models that required users to employ the same model for both queries and documents, Voyage 4 allows for text embedding models to operate within the same embedding space. This means teams can store data using one model, like voyage-4-large, and run queries efficiently with any model from the Voyage 4 family, enhancing flexibility and performance.
Enhanced Features for Improved Performance
Additionally, the Embedding and Reranking API comes with a myriad of features aimed at streamlining the development process. The community edition now offers automated embedding in vector search, which is currently in public preview, and Lexical Prefilters for MongoDB Vector Search. This update provides developers with powerful text and geo-analysis filters, synchronizing vector searches more effectively.
Deepak Goyal recently shared insights on LinkedIn regarding the challenges he faced with synchronization lags in vector storage. As he noted, a “Sync Tax” is a common burden for many AI teams. If data is stale, it undermines the intelligence of retrieval solutions. MongoDB’s integrated Embedding and Reranking API aims to alleviate these issues, making it a compelling choice for teams looking to enhance their AI applications’ performance.
Flexible Dimensions and Field-Specific Options
The embedding models supported by the new API offer dimensions ranging from 256 to 2048, along with quantization options that allow developers to optimize the balance between accuracy, cost, and speed. Whether you’re working with general use cases or specific sectors requiring whole-document analysis, multimodal data processing, or even reranking in multi-step search systems, Voyage AI’s offerings are built to adapt to various needs.
“This matters for building production AI systems. Scaling LLM applications requires delivering the right context at the right time, which means tightly integrating operational data with high-performance search.” — Thibaut Gourdel and Wen Phan, MongoDB
Anticipation and Future Insights
The integration of Voyage AI’s capabilities into MongoDB Atlas has long been anticipated by the developer community, especially following MongoDB’s acquisition of Voyage AI nearly a year ago. The excitement surrounding the Embedding and Reranking API indicates a significant step forward in simplifying the complexities of AI developments.
Getting Started with the API
Currently, the Embedding and Reranking API is in public preview, and MongoDB has made onboarding easier with the “Voyage AI Quick Start” tutorial. This resource is available as a Python notebook on GitHub, offering developers a straightforward way to dive into utilizing the new capabilities.
Inspired by: Source

