Signals
Voyage Code 4: Better Retrieval for AI Coding Agents

Voyage AI released voyage-code-4, a new embedding model that improves code retrieval for AI agents, 28-31% better NDCG@10 than top competitors on agentic benchmarks, with a 33% price cut. Added Matryoshka dimensions and MongoDB Atlas integration make it easier to adopt. But test it against your own codebase first.
What Changed
- New code embedding model (voyage-code-4) with higher retrieval accuracy on agentic benchmarks
- Prices drop from $0.18 to $0.12 per 1M tokens, plus support for flexible embedding dimensions and quantization
- Training on issue-fixing PRs improves natural-language-query-to-code matching; MongoDB Atlas integration simplifies deployment
Who Should Care
- Engineering teams building custom AI coding assistants or agentic dev tools
- Platform teams running production RAG pipelines for code search and issue triage
- Startups and enterprises relying on retrieval as the first step in automatic bug fixing or code generation
Who Should Not Care
- Teams using only manual code search or simple IDE Find-in-Files
- Projects with tiny codebases (<10k lines) where basic grep suffices
- Teams already on a closed-source commercial vector DB with no appetite for switching
The Verdict
Test voyage-code-4 against your current retriever on your own bug-to-code queries before switching. The benchmark gains look real, but they only cover a narrow agentic scenario. Start with a 1-2 week offline evaluation using your issue tracker and codebase.
Take This To Your Agent
Copy a ready-to-paste investigation handoff that asks your coding agent to check this update against your product and recommend what to do next.