Skip to main content
Vincony
AI OSPricingTrust
Log inStart Free
Free Credits
  1. Models
  2. Voyage Voyage Code 2
Back to Models/ Voyage / Voyage Code 2
  1. Models
  2. Voyage
  3. Voyage Code 2
VO
Voyage
Embedding

Voyage Code 2

voyage/voyage-code-2

2 credits / request
Compare with…Added 2026
Try in Chat

Voyage Code 2 is Voyage AI's second-generation embedding model purpose-built for semantic code search and code understanding. It was trained on large-scale code corpora to capture structural and semantic relationships in source code — function signatures, variable scoping patterns, algorithmic patterns — that general-purpose text embeddings underperform on. Code 2 improved on its predecessor in retrieval quality for cross-language code search and documentation-to-code matching tasks.

Voyage positions this model for developer tooling: IDE integrations, code review assistants, repository-scale search, and RAG pipelines where the knowledge base consists of code rather than prose. While Voyage has since released Code 3, Code 2 remains a proven and stable embedding choice for teams with existing integrations built around it.

Key Features

Code-specialized embedding trained on large-scale source code corpora

Improved semantic retrieval for code-to-code and doc-to-code search

Cross-language code similarity understanding

Suitable for repository-scale semantic search pipelines

Optimized for RAG systems over code documentation and codebases

Stable, production-proven API with consistent embedding dimensions

Ideal Use Cases

1.

Semantic code search across large monorepos or multi-repo environments

2.

Building IDE plugins that surface relevant code snippets from context

3.

Powering documentation-to-implementation retrieval in dev tools

4.

Code similarity detection for deduplication and clone detection

5.

RAG pipelines where the retrieved context is source code

Example Prompts for Voyage Code 2

Technical Specifications

ProviderVoyage
CategoryEmbedding
ModalityText -> Vector

Frequently Asked Questions

Try Voyage Code 2 now

Start using Voyage Code 2 instantly — 100 free credits, no credit card required. Access 750+ AI models through one platform.

Start Free View Pricing
Back to all models
Vincony

Access the world's most powerful AI models through a single, unified platform.

Product

  • All Models
  • Chat
  • Image Generation
  • Video Generation
  • Voice Studio
  • Song Studio
  • All Tools
  • Pricing
  • Integrations
  • API & Developers
  • Download Apps

Solutions

  • Use Cases
  • By Role & Industry
  • Case Studies
  • Testimonials
  • Marketplace
  • Templates
  • Agency Portal
  • White-Label

Resources

  • Help Center
  • Guides
  • Glossary
  • Blog
  • Changelog
  • Feedback
  • Savings Calculator
  • Credits Calculator
  • Plan Recommender

Company

  • About
  • Contact
  • Contact Sales
  • Security
  • Trust Center
  • Bug Bounty
  • System Status
  • Partners
  • Affiliate Program
  • Refer & Earn
  • Brand & Media

Legal

  • Terms of Service
  • Privacy Policy
  • Data Processing Agreement
  • Acceptable Use
  • Cookie Policy
  • Refund & Cancellation
  • Accessibility
  • Sub-processors
  • DMCA & Copyright
Compare AI platforms·Best AI tools·All alternatives·Sitemap

© 2026 VINCONY AI LTD (17047337). All rights reserved.

VINCONY AI LTD · Company No. 17047337 · 3rd Floor, 86-90 Paul Street, London EC2A 4NE, England

GDPR Ready · CCPA Compliant · SOC 2 Aligned · 256-bit Encryption ·

Get weekly AI tips & updates