Voyage Large 2 Instruct API

anthropic/voyage-large-2-instruct
Voyage Large 2 Instruct excels in text embedding tasks.
Context
16K tokens
Input
$0.156 / 1M tokens
Output
Released
Dec 13, 2025

Overview

Voyage Large 2 Instruct Description

Basic Information

Model Name: Voyage Large 2 Instruct

Developer/Creator: Voyage AI

Release Date: May 2024

Version: 2.0

Model Type: Text Embedding Model

Overview:

Voyage Large 2 Instruct is an instruction-tuned, general-purpose text embedding model optimized for tasks such as clustering, classification, and retrieval. It is designed to perform exceptionally well on the Massive Text Embedding Benchmark (MTEB), ranking first in several key areas.

Key Features:
  • Instruction tuning for enhanced task performance
  • Optimized for clustering, classification, and retrieval
  • High performance on MTEB benchmarks
  • 16K context window for improved understanding
Intended Use:

Voyage Large 2 Instruct is intended for use in scenarios requiring high-quality text embeddings, such as:

  • Text retrieval and search
  • Text classification and clustering
  • Reranking tasks
Language Support:

The model primarily supports English but can be adapted for other languages with appropriate tuning.

Technical Details

Architecture:

Voyage Large 2 Instruct is based on a transformer architecture, which is commonly used in modern natural language processing tasks due to its efficiency and scalability.

Training Data:

The model was trained on a diverse dataset that includes a wide range of text sources. This diversity helps ensure robust performance across different tasks and reduces potential biases.

Data Source and Size:

The training data is extensive, leveraging millions of text samples to cover various domains and topics. This large dataset size contributes to the model's comprehensive understanding of language.

Diversity and Bias:

Efforts have been made to include diverse data sources to minimize bias, though the model's effectiveness can vary depending on the specific application and data it encounters.

Performance Metrics

Comparison to Other Models:
__wf_reserved_inherit
Accuracy:

Voyage Large 2 Instruct demonstrates high accuracy across various tasks, outperforming many competitors in classification and retrieval tasks.

Speed:

The model is optimized for a balance between speed and accuracy, making it suitable for real-time applications.

Robustness:

It handles diverse inputs well and generalizes effectively across different topics and languages, thanks to its extensive training data.

Usage

Code Samples:
Ethical Guidelines:

Voyage Large 2 Instruct is developed with ethical considerations in mind, aiming to minimize biases and ensure fair use across applications. Developers are encouraged to assess the model's performance in their specific contexts to address any ethical concerns.

License Type:

The model is available under a commercial license, allowing for both commercial and non-commercial use, subject to the terms specified by Voyage AI.

Use cases

High-precision semantic search

Make document or query embeddings that enable highly accurate retrieval performance.

Classification & clustering

Generate embeddings tailored for categorizing and grouping text.

Reranking tasks

Fine-tune embedding order via high-quality vector similarity.

RAG pipelines

Pair with vector DBs to support retrieval-augmented generation workflows.

Cross-domain embedding

Use for general-purpose tasks such as summarization, similarity, or knowledge search.

‍

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
Output

Voyage Large 2 Instruct vs other models

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

Frequently asked questions

Voyage Large 2 Instruct takes text as input and returns embedding.

Voyage Large 2 Instruct became available on December 13, 2025.

Voyage Large 2 Instruct is priced at input $0.156 / 1M tokens.

Voyage Large 2 Instruct was built by Voyage AI.

Send a request to https://api.aimlapi.com/v1/embeddings with anthropic/voyage-large-2-instruct as the model id.

Yes. Voyage Large 2 Instruct is served through AI/ML API, so the same key and endpoint format used for other models applies.

It is designed for text embedding tasks.

Start building with Voyage Large 2 Instruct

Get API Key
1000+ models, one API.