Overview
Voyage finance 2 by Anthropic
Voyage finance 2 API is available through an embeddings endpoint.
What is Voyage finance 2 API?
Voyage Finance 2 is a domain-specific embedding model optimized for financial text retrieval and semantic search.
Technical Specifications
- Supported inputs: Text
- Output: Embedding
- Context window: 32,000 tokens / Max output: ,
- Endpoint: /embeddings
Performance Benchmarks
[embed]
Voyage finance 2 API Pricing
- Input: $0.156 / 1M tokens
Where to Use Voyage finance 2
Semantic search
Rank documents by meaning for retrieval and discovery.
RAG pipelines
Ground LLM answers in your own data via vector retrieval.
Code Sample
[embed]
Pricing
| Usage | Price | Unit |
|---|---|---|
| Input | $0.12 | 1M tokens |
Quick start
View docs (opens in a new tab)Build with your agent
Give your agent the model details, code and documentation.
1Get your API key
Create API key (opens in a new tab)export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"2Make your first request
curl '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 jumps over the lazy dog."
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "anthropic/voyage-finance-2",
"input": "The quick brown fox jumps over the lazy dog."
}
response = requests.post("https://api.aimlapi.com/v1/embeddings", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = 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 jumps over the lazy dog."
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Frequently asked questions
What inputs and outputs does Voyage finance 2 support?
Voyage finance 2 takes text as input and returns embedding.
When was Voyage finance 2 released?
Voyage finance 2 became available on December 13, 2025.
Who created Voyage finance 2?
Voyage finance 2 was built by Anthropic.
How do I call Voyage finance 2 on AI/ML API?
Send a request to https://api.aimlapi.com/v1/embeddings with anthropic/voyage-finance-2 as the model id.
Is Voyage finance 2 available through a single API key?
Yes. Voyage finance 2 is served through AI/ML API, so the same key and endpoint format used for other models applies.
What kind of content is Voyage Finance 2 designed to work with?
It is optimized for financial text retrieval and semantic search tasks.
What category of model is Voyage Finance 2?
It is an embeddings model that converts text into vector representations for finance-focused search and retrieval.
