Voyage finance 2 API

anthropic/voyage-finance-2
Voyage Finance 2 is a domain-specific embedding model optimized for financial text retrieval and semantic search.
Context
32K tokens
Input
$0.156 / 1M tokens
Output
Released
Dec 13, 2025

How to use Voyage finance 2 API

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

r = requests.post(
    "https://api.aimlapi.com/v1/embeddings",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "anthropic/voyage-finance-2",
      "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-finance-2",
    "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-finance-2","input":"The quick brown fox"}'

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

Voyage finance 2 API Pricing

TypePrice
Input
$0.156 / 1M tokens
Output

Voyage finance 2 vs other models

ModelInputOutputContextBest for
$0.156 / 1M tokens
32K 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 finance 2 takes text as input and returns embedding.

Voyage finance 2 became available on December 13, 2025.

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

Voyage finance 2 was built by Anthropic.

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

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

It is optimized for financial text retrieval and semantic search tasks.

It is an embeddings model that converts text into vector representations for finance-focused search and retrieval.

Start building with Voyage finance 2

Get API Key
1000+ models, one API.