Voyage Code 3
What ChatGPT, Claude, Gemini & Grok actually say · August 2026
The verdict
Voyage Code 3 appears in 1 AI-ranked category — best position #1 for code embedding apis for repository search.
Purpose-built for code retrieval and consistently at or near the top of code-search benchmarks; long context, Matryoshka-style adjustable dimensions and int8/binary quantization let you trade recall for index cost, which matters at whole-repo scale; mature reranker pairing (rerank-2) and clean API. Near-tie with Codestral Embed at the top.
Gemini Top-tier code retrieval accuracy specifically fine-tuned for syntax, function call graphs, and technical documentation, featuring a large context window to ingest entire modules. Assumes cloud API usage is permitted.
Grok Specialized code retrieval model with consistent double-digit gains over general embeddings on large suites of code datasets (functions, docs, real repos); 32k context, Matryoshka dims + quantization for practical large-repo indexing cost/storage; proven in production code RAG/agents. Assumption: practitioner prioritizes measurable retrieval quality on actual code over pure price.
GPT Near-tie for first, with consistently elite code-retrieval quality, a 32K context window, flexible 256–2048 dimensions, mature API, and a generous 200M-token free allowance.
Where Voyage Code 3 falls short, per the models
- GPT At $0.18/M tokens, it costs more than Codestral while lacking a clear quality advantage on repository issue-to-file retrieval.
- Claude Commercial hosted API only with no self-host or open weights, and now tied to MongoDB's roadmap — a non-starter for air-gapped or fully on-prem code that can't leave the building.
- Gemini Closed-source proprietary API with no self-hostable open weights, making it unsuitable for air-gapped or strict zero-data-retention environments.
- Grok Highest per-token cost among specialists; overkill (and expensive) for tiny repos or pure keyword needs.
Poll history — #1 in all 2 polls since Aug 3
#1 → #1
Top alternatives per the models: Codestral Embed · Jina Code Embeddings 1.5B · OpenAI text-embedding-3-large · BGE-M3
Head-to-head — how the models call it
Watch Voyage Code 3
Boards re-poll weekly and the models change their minds. One short email only when Voyage Code 3's standing moves — a rank change, a rival overtaking, or new reasoning from the models. Nothing otherwise.
Embed your ranking badge
Voyage Code 3 ranks #1 for best code embedding apis for repository search by AI-model consensus. Put the badge in your README, docs or site — it updates automatically as the models re-rank.
[](https://modelsagree.com/best/best-code-embedding-apis-for-repository-search?utm_source=badge&utm_medium=embed&utm_campaign=badge-voyage-code-3)<a href="https://modelsagree.com/best/best-code-embedding-apis-for-repository-search?utm_source=badge&utm_medium=embed&utm_campaign=badge-voyage-code-3"><img src="https://modelsagree.com/badge/voyage-code-3.svg" alt="Voyage Code 3 — ranked #1 for Best code embedding APIs for repository search by AI models on ModelsAgree" height="28"></a>Rankings are computed from what the models answer, re-polled on demand · raw reasoning shown verbatim · methodology