voyageai logo
voyageai

VoyageAI by MongoDB: voyage-code-4

出典の説明(英語)

voyage-code-4 is a code embedding model from Voyage AI, a MongoDB company. It is designed for coding agents and code retrieval, with Matryoshka embeddings at 2048t voyage-code-4 here: mongodb.com/products/platform/ai-search-and-retrieval/models

概要

モデル仕様

コンテキスト
32,000 tokens
最大出力
28,800 tokens
アーキテクチャ
text->embeddings
トークナイザー
Other
知識カットオフ
情報なし
モデレーション
いいえ
OPENROUTER

料金の詳細

OpenRouterと同期した料金です。トークン料金は100万トークン単位です。

入力
$0.12
100万トークンあたり
API

クイックスタート

ローカルにOPENROUTER_API_KEYを設定してください。Pythonにはrequestsが必要です。JavaScriptはNode.jsで実行し、キーはサーバー側で管理してください。

APIドキュメント

curl --fail-with-body https://openrouter.ai/api/v1/embeddings \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"voyageai/voyage-code-4","input":"Your text here"}'
機能とモダリティ

入力 → 出力

入力
text
出力
embeddings
API

対応APIパラメータ

利用可能なプロバイダー

1 プロバイダー

確認日: 2026年10月24日

OpenRouterでプロバイダーを見る

可用性、遅延、スループット、ルーティングは常時変化します。最新情報は出典ページで確認してください。

OpenRouter

VoyageAI by MongoDB

情報なし
コンテキスト
32K
最大出力
29K
入力
$0.12
出力
無料
キャッシュ読込
情報なし
キャッシュ書込
情報なし
voyageai

4 モデル

すべてのモデル
voyageai logovoyageai

VoyageAI by MongoDB: rerank-3-lite

rerank-3-lite is a reranker optimized for both latency and quality and a drop-in upgrade to rerank-2.5-lite, improving on it by 0.94% NDCG@10 on average across domain evaluations and by 1.86%...

コンテキスト
32K
入力
text
出力
rerank
入力: $0.02 100万入力トークンあたり
モデル詳細を見る →
voyageai logovoyageai

VoyageAI by MongoDB: rerank-3

rerank-3 is a reranker optimized for quality and a drop-in upgrade to rerank-2.5, improving on it by 0.80% NDCG@10 on average across domain evaluations and by 3.35% on long-document evaluations,...

コンテキスト
32K
入力
text
出力
rerank
入力: $0.05 100万入力トークンあたり
モデル詳細を見る →
voyageai logovoyageai

VoyageAI by MongoDB: rerank-2.5-lite

rerank-2.5-lite is a reranker optimized for both latency and quality, delivering a 7.16% improvement in retrieval accuracy over Cohere Rerank v3.5 across 93 datasets. It also outperformed Cohere Rerank v3.5...

コンテキスト
32K
入力
text
出力
rerank
入力: $0.02 100万入力トークンあたり
モデル詳細を見る →
voyageai logovoyageai

VoyageAI by MongoDB: rerank-2.5

rerank-2.5 is a cutting-edge reranker optimized for quality, delivering a 7.94% improvement in retrieval accuracy over Cohere Rerank v3.5 across 93 datasets. It also outperformed Cohere Rerank v3.5 by 12.70%...

コンテキスト
32K
入力
text
出力
rerank
入力: $0.05 100万入力トークンあたり
モデル詳細を見る →