Voyage AI · embedding model
voyage-4-large API
Highest-accuracy general-purpose and multilingual retrieval (1024 dimensions).
Call voyage-4-large through Nicrron with one API key, next to every other model in the catalog. Use the model id voyage/voyage-4-large with any OpenAI SDK.
Pricing
voyage-4-large costs $0.12 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-large
cURL
curl https://api.nicrron.ai/v1/embeddings \
-H "Authorization: Bearer $NICRRON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "voyage/voyage-4-large",
"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-large",
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-large API cost?
- On Nicrron, voyage-4-large costs $0.12 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-large?
- voyage-4-large takes up to 32,000 tokens (32k) of context.
- How do I call voyage-4-large 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-large". The endpoint is /v1/embeddings.
- Who makes voyage-4-large?
- voyage-4-large 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.