Nexus

Voyage AI

Use Voyage AI's high-quality text embeddings with Nexus — embeddings only.

Voyage AI specializes in high-quality text embeddings. This is an embeddings-only provider — chat completions and streaming are not supported.

Installation

import "github.com/xraph/nexus/providers/voyageai"

Quick Start

provider := voyageai.New(os.Getenv("VOYAGE_API_KEY"))

gw := nexus.New(
    nexus.WithProvider(provider),
)

Options

OptionDescription
voyageai.WithBaseURL(url)Override the API base URL (default: https://api.voyageai.com)

Capabilities

CapabilitySupported
ChatNo
StreamingNo
EmbeddingsYes
VisionNo
ToolsNo
ThinkingNo

Models

ModelContextEmbed Price
voyage-332,000$0.06/M
voyage-3-lite32,000$0.02/M
voyage-code-332,000$0.06/M
voyage-finance-232,000$0.06/M

On this page