Voyage AI has unveiled voyage-code-3, an advanced embedding model specifically designed to enhance code retrieval capabilities. This innovative model achieves superior performance, surpassing OpenAI-v3-large and CodeSage-large by averages of 13.80% and 16.81% across a diverse selection of 32 code retrieval datasets. It accommodates embeddings of various dimensions, including 2048, 1024, 512, and 256, and provides an array of embedding quantization options such as float (32-bit), int8 (8-bit signed integer), uint8 (8-bit unsigned integer), binary (bit-packed int8), and ubinary (bit-packed uint8). With a context length of 32 K tokens, voyage-code-3 exceeds the limitations of OpenAI's 8K and CodeSage Large's 1K context lengths, offering users greater flexibility. Utilizing an innovative approach known as Matryoshka learning, it generates embeddings that feature a layered structure of varying lengths within a single vector. This unique capability enables users to transform documents into a 2048-dimensional vector and subsequently access shorter dimensional representations (such as 256, 512, or 1024 dimensions) without the need to re-run the embedding model, thus enhancing efficiency in code retrieval tasks. Additionally, voyage-code-3 positions itself as a robust solution for developers seeking to improve their coding workflow.