voyage-code-2
by Voyage AI · Jan 23, 2024
voyage-code-2 is a proprietary code model from Voyage AI, released Jan 23, 2024.
- Provider
- Voyage AI
- Released
- Jan 23, 2024
- Type
- Code model
- Parameters
- Undisclosed
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Closed
- License
- Proprietary
- Knowledge cutoff
- —
- Status
- Historical
About voyage-code-2
TL;DR – We are thrilled to introduce voyage-code-2, our latest embedding model specifically tailored for semantic retrieval of codes and related text data from both natural language and code queries. Our comprehensive evaluation, covering 11 code retrieval tasks (derived from popular coding datasets like HumanEval and MBPP), demonstrated a remarkable 14.52% improvement in recall compared to competitors, including OpenAI and Cohere.
voyage-code-2 vs alternatives
- voyage-code-2 vs Gemini 2.0 Pro
- voyage-code-2 vs Nemotron-4 15B
- voyage-code-2 vs Gemini 2.0 Flash Thinking
- voyage-code-2 vs Qwen2.5-Turbo
- voyage-code-2 vs Multi-Token Prediction 13B
- voyage-code-2 vs aiXcoder-7B Base
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Gemini 2.0 Pro | Google DeepMind | Dec 2024 | — | — | — | — | 135.4 |
| Nemotron-4 15B | NVIDIA | Feb 2024 | 15B | — | — | — | 99.1 |
| Gemini 2.0 Flash Thinking | Google DeepMind | Dec 2024 | — | — | — | — | — |
| Qwen2.5-Turbo | Alibaba (Qwen) | Nov 2024 | — | — | — | — | — |
| Multi-Token Prediction 13B | Meta | Apr 2024 | 13B | — | — | — | — |
| aiXcoder-7B Base | Peking University | Oct 2024 | 7B | — | — | — | — |
| NVLM-H 72B | NVIDIA | Oct 2024 | 72B | — | — | — | — |
| Palmyra X 004 | Writer | Oct 2024 | 150B | — | — | — | — |
More models from Voyage AI
All Voyage AI models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| voyage-3.5 | May 2025 | — | — | — | — |
| voyage-3-large | Jan 2025 | — | — | — | — |
| voyage-code-3 | Dec 2024 | — | — | — | — |
Frequently asked questions
Who made voyage-code-2?
voyage-code-2 was developed by Voyage AI (United States of America). It was released on Jan 23, 2024.
Is voyage-code-2 open source?
No. voyage-code-2 is a proprietary model available only through its provider's API and apps.
Sources: epoch · paper. Last updated 2026-11-22.