Voyage AI / voyageai/voyage-law-2
Voyage Law 2 - access through LLMTR
Voyage Law 2 is trained for retrieval over legislation, contracts and case law. It matches passages containing clause references, defined terms and conditional provisions more accurately than general-purpose models. The context window is 16,000 tokens and the output dimension is fixed at 1024, so long contracts need to be chunked before indexing.
Technical specifications
| Canonical ID | voyageai/voyage-law-2 |
|---|---|
| Provider | Voyage AI |
| Context window | 16,000 tokens |
| Operations | EMBEDDINGS |
| Modalities | text, embedding |
Pricing
An 8% platform margin applies to credit top-ups; model usage prices are not separately marked up.
| Operation | Metric | Unit | Price |
|---|---|---|---|
| EMBEDDINGS | INPUT_TEXT | PER_1M_TOKENS | $0.120000 |
Example usage
With existing OpenAI SDK flows, change only the base URL and model identifier.
curl https://llmtr.com/v1/chat/completions \
-H "Authorization: Bearer llmtr-your_key" \
-H "Content-Type: application/json" \
-d '{"model":"voyageai/voyage-law-2","messages":[{"role":"user","content":"Hello"}]}'
Related models
- Voyage 4 Large voyageai/voyage-4-large
- Voyage 4 voyageai/voyage-4
- Voyage Code 3 voyageai/voyage-code-3
- Voyage Context 4 voyageai/voyage-context-4
- Voyage Multimodal 3.5 voyageai/voyage-multimodal-3.5
- Voyage Rerank 2.5 voyageai/rerank-2.5
- Voyage 4 Lite voyageai/voyage-4-lite
- Voyage Finance 2 voyageai/voyage-finance-2