Voyage AI · embedding model

voyage-4-lite API

Latency- and cost-optimised retrieval embedding model (1024 dimensions).

Call voyage-4-lite through Nicrron with one API key, next to every other model in the catalog. Use the model id voyage/voyage-4-lite with any OpenAI SDK.

Pricing

voyage-4-lite costs $0.02 per million input tokens. That is the provider's list price. Requests paid from credit add a 5% platform fee; with your own provider key, the provider bills you and Nicrron charges 5% of the list price. No subscription: add credit and pay for what you use.

Call voyage-4-lite

cURL
curl https://api.nicrron.ai/v1/embeddings \
  -H "Authorization: Bearer $NICRRON_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "voyage/voyage-4-lite",
    "input": ["The quick brown fox", "Semantic search with Nicrron"]
  }'
Python (OpenAI SDK)
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.nicrron.ai/v1",
    api_key=os.environ["NICRRON_API_KEY"],
)

out = client.embeddings.create(
    model="voyage/voyage-4-lite",
    input=["The quick brown fox", "Semantic search with Nicrron"],
)
print(len(out.data[0].embedding))

New to Nicrron? The quickstart takes two minutes.

Questions

How much does the voyage-4-lite API cost?
On Nicrron, voyage-4-lite costs $0.02 per million input tokens, the provider's list price. Requests paid from credit add a 5% platform fee. There is no subscription: you add credit and pay for what you use.
What is the context window of voyage-4-lite?
voyage-4-lite takes up to 32,000 tokens (32k) of context.
How do I call voyage-4-lite through an API?
Point any OpenAI SDK at https://api.nicrron.ai/v1, use a Nicrron API key, and set the model to "voyage/voyage-4-lite". The endpoint is /v1/embeddings.
Who makes voyage-4-lite?
voyage-4-lite is a embedding model made by Voyage AI. Nicrron gives you it and every other model in the catalog through one API key and one bill.