Voyage Law 2
Voyage Law 2 is Voyage AI's legal domain embedding model, specifically optimized for retrieval across legal documents including case law, statutes, contracts, and legal opinions. It captures legal reasoning patterns and terminology nuances that general embedding models miss.
For legal tech applications, Voyage Law 2 delivers measurably better retrieval precision than general-purpose models, reducing the risk of missing relevant precedents or clauses in legal research and contract analysis.
Key Features
Legal domain specialization
Strong performance on case law and statute retrieval
Understanding of legal terminology and reasoning patterns
Optimized for contract analysis and legal research
Reduced risk of missing relevant legal precedents
Ideal Use Cases
Legal research and case law retrieval
Contract analysis and clause search
Regulatory compliance document retrieval
Legal Q&A systems for law firms
Technical Specifications
| Dimensions | 1024 |
| Modality | Text → Embedding |
| Provider | Voyage AI |
| Category | Embedding |
| Domain | Legal |
| 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-law-2", 6 "messages": [ 7 { "role": "user", "content": "Hello, Voyage Law 2!" } 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 Law 2 now
Start using Voyage Law 2 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