Voyage Code 3
Voyage Code 3 is Voyage AI's code-specialized embedding model, optimized for semantic code search, code retrieval, and code similarity tasks. It understands programming language semantics — not just textual similarity — enabling searches that find functionally similar code even when variable names and formatting differ.
Code 3 is essential for building intelligent code search tools, code recommendation systems, and developer productivity features that require deep understanding of code structure and intent.
Key Features
Code-specialized semantic understanding
Functional similarity detection beyond text matching
Multi-language code support
Optimized for code search and retrieval
Strong performance on code retrieval benchmarks
Ideal Use Cases
Intelligent code search engines
Code recommendation and similar code detection
Developer documentation retrieval
Code deduplication and refactoring assistance
Technical Specifications
| Dimensions | 1024 |
| Modality | Code → Embedding |
| Provider | Voyage AI |
| Category | Embedding |
| Specialty | Code retrieval |
| Max Input | 32K tokens |
API Usage
1 curl -X POST https://api.vincony.com/v1/chat/completions \ 2 -H "Authorization: Bearer YOUR_API_KEY" \ 3 -H "Content-Type: application/json" \ 4 -d '{ 5 "model": "voyage/voyage-code-3", 6 "messages": [ 7 { "role": "user", "content": "Hello, Voyage Code 3!" } 8 ] 9 }'
Replace YOUR_API_KEY with your Vincony API key. OpenAI-compatible endpoint — works with any OpenAI SDK.
Compare with Another Model
Frequently Asked Questions
Try Voyage Code 3 now
Start using Voyage Code 3 instantly — 100 free credits, no credit card required. Access 343+ AI models through one platform.
More from Voyage
Use ← → to navigate between models · Esc to go back