Voyage Large 2 Instruct API

Voyage Large 2 Instruct excels in text embedding tasks.
Output
Released
Dec 13, 2025

How to use Voyage Large 2 Instruct API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to anthropic/voyage-large-2-instruct.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/embeddings",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "anthropic/voyage-large-2-instruct",
      "input": "The quick brown fox"
    },
)
print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/embeddings", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "anthropic/voyage-large-2-instruct",
    "input": "The quick brown fox"
  }),
});
console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/embeddings \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/voyage-large-2-instruct","input":"The quick brown fox"}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Voyage Large 2 Instruct API Pricing

TypePrice
Input
$0.156 / 1M tokens tokens
Output
tokens

Voyage Large 2 Instruct vs other models

ModelInputOutputContextBest for
$0.156 / 1M tokens
Semantic search + RAG
$0.169 / 1M tokens
Semantic search + RAG
$0.026 / 1M tokens
Semantic search + RAG
$0.091 / 1M
$0.074 / 1M tokens
Semantic search + RAG
$0.13 / 1M tokens
Semantic search + RAG

Start building with Voyage Large 2 Instruct

Get API Key
1000+ models, one API.