LiteLLMLiteLLM/ MODELS

Voyage Law 2 API Pricing

By Voyage AI · 1 providervoyage/voyage-law-2
Input
$0.12 per 1M tokens
Context
16K tokens

As of November 24, 2026, Voyage Law 2 costs $0.12 per 1M input tokens on Voyage AI. It has a 16,000-token context window.

Prices updated Checked

Voyage Law 2 pricing by provider

1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

Voyage Law 2 prices by provider in US dollars, token prices per 1M tokens, as of November 24, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMInputOutputContext
Voyage AIvoyage/voyage-law-2$0.12$016K

What Voyage Law 2 costs in practice

Embedding 10,000 documents of 500 tokens each

Voyage AI$0.60

Use Voyage Law 2 with LiteLLM

Call Voyage Law 2 through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/embeddings. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import embedding

response = embedding(
    model="voyage/voyage-law-2",
    input=["hello world"],
)
Proxy config.yaml
model_list:
  - model_name: voyage-law-2
    litellm_params:
      model: voyage/voyage-law-2
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/embeddings \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LITELLM_API_KEY" \
  -d '{
    "model": "voyage-law-2",
    "input": "hello world"
  }'

Voyage Law 2 FAQ

How much does Voyage Law 2 cost?

Voyage Law 2 costs $0.12 per 1M input tokens on Voyage AI.

What is the context window of Voyage Law 2?

Voyage Law 2 has a 16,000-token context window.

Which providers offer Voyage Law 2?

Voyage Law 2 is available from Voyage AI through LiteLLM, using the model name voyage/voyage-law-2.

How do I call Voyage Law 2 with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="voyage/voyage-law-2", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/embeddings from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

When did LiteLLM add Voyage Law 2?

Voyage Law 2 was added to LiteLLM's model price file in April 2024.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change.

LiteLLM docs: Voyage AI.

Provider pages: Voyage AI.