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 IDvoyageai/voyage-law-2
ProviderVoyage AI
Context window16,000 tokens
OperationsEMBEDDINGS
Modalitiestext, embedding

Pricing

An 8% platform margin applies to credit top-ups; model usage prices are not separately marked up.

OperationMetricUnitPrice
EMBEDDINGSINPUT_TEXTPER_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