Skip to content
PluginStats

voyage-ai-provider weekly downloads statistics

By patelvivekdev (2 listings) · npm · AI SDKs

Voyage AI Provider for running Voyage AI models with Vercel AI SDK

View on npm Fresh · Oct 18, 2026

voyage-ai-provider has 20,642 recorded weekly downloads on npm, a decrease of 40.1% over the past 30 days, ranking #782 of 2,322 tracked listings.

Weekly downloads
20,642
Official API · Oct 18, 2026
7-day growth
-37.8%
-12.5K weekly downloads
30-day growth
-40.1%
-13.8K weekly downloads
90-day growth
-20.3%
-5.2K weekly downloads
Rank
#782
Among tracked npm listings

About voyage-ai-provider

AI SDK - Voyage AI Provider

<div align="center"> <a href="https://www.npmjs.com/package/voyage-ai-provider"><img src="https://img.shields.io/npm/v/voyage-ai-provider"/><a> <a href="https://www.npmjs.com/package/voyage-ai-provider"><img src="https://img.shields.io/npm/dm/voyage-ai-provider"/><a> <a href="https://github.com/patelvivekdev/voyageai-ai-provider/actions/workflows/CI.yml"><img src="https://github.com/patelvivekdev/voyageai-ai-provider/actions/workflows/CI.yml/badge.svg"/><a> <a href="https://deepwiki.com/patelvivekdev/voyageai-ai-provider"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a> </div> <br>

Introduction

The Voyage AI Provider is a provider for the AI SDK. It provides a simple interface to the Voyage AI API.

Version 5 targets AI SDK 7 and requires Node.js 22 or newer. It is distributed as an ESM-only package.

Installation

npm install voyage-ai-provider

# or

yarn add voyage-ai-provider

# or

pnpm add voyage-ai-provider

# or

bun add voyage-ai-provider

Configuration

The Voyage AI Provider requires an API key to be configured. You can obtain an API key by signing up at Voyage AI.

add the following to your .env file:

VOYAGE_API_KEY=your-api-key

Usage

Text Embedding
import { voyage } from 'voyage-ai-provider';
import { embedMany } from 'ai';

const embeddingModel = voyage.embeddingModel('voyage-3-lite');

export const generateEmbeddings = async (
  value: string,
): Promise<Array<{ embedding: number[]; content: string }>> => {
  // Generate chunks from the input value
  const chunks = value.split('\n');

  // Optional: You can also split the input value by comma
  // const chunks = value.split('.');

  // Or you can use LLM to generate chunks(summarize) from the input value

  const { embeddings } = await embedMany({
    model: embeddingModel,
    values: chunks,
  });
  return embeddings.map((e, i) => ({ content: chunks[i], embedding: e }));
};
How to pass additional settings to the model

The settings object should contain the settings you want to add to the model. You can find the available settings for the model in the Voyage API documentation: https://docs.voyageai.com/reference/embeddings-api

import { embedMany } from 'ai';
import { createVoyage } from 'voyage-ai-provider';

const voyage = createVoyage({
  apiKey: process.env.VOYAGE_API_KEY,
});

const embeddingModel = voyage.embeddingModel('voyage-3-lite');

const { embeddings } = await embedMany({
  model: embeddingModel,
  values: ['sunny day at the beach', 'rainy day in the city'],
  providerOptions: {
    voyage: {
      inputType: 'document',
      outputDimension: 1024,
      outputDtype: 'float',
    },
  },
});
Image & Multi-modal Embedding

Multimodal and image embeddings both use the voyage-multimodal-3 model and the same /multimodalembeddings endpoint. Following the AI SDK convention (and the official providers such as Google), the embed/embedMany values array holds the text for each embedding, and any non-text content (images) is passed via providerOptions.voyage.content.

content is an array aligned to values by index: content[i] are the extra parts merged with the text in values[i]. Its length must equal values.length. Use null for entries that are text-only. For an image-only embedding, pass an empty string ('') for that value.

Each content part is one of:

  • { type: 'text', text: string }
  • { type: 'image_url', image_url: string }
  • { type: 'image_base64', image_base64: string }
Example 1: A single image per embedding (image-only)
import {
  voyage,
  type VoyageMultimodalEmbeddingOptions,
} from 'voyage-ai-provider';
import { embedMany } from 'ai';

const imageModel = voyage.imageEmbeddingModel('voyage-multimodal-3');

const { embeddings } = await embedMany({
  model: imageModel,
  values: ['', ''], // one empty string per image-only embedding
  providerOptions: {
    voyage: {
      content: [
        [
          {
            type: 'image_url',
            image_url:
              'https://raw.githubusercontent.com/voyage-ai/voyage-multimodal-3/refs/heads/main/images/banana_200_x_200.jpg',
          },
        ],
        [
          {
            type: 'image_base64',
            image_base64: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAA...',
          },
        ],
      ],
    } satisfies VoyageMultimodalEmbeddingOptions,
  },
});
Example 2: Multiple images in a single embedding
import {
  voyage,
  type VoyageMultimodalEmbeddingOptions,
} from 'voyage-ai-provider';
import { embedMany } from 'ai';

const imageModel = voyage.imageEmbeddingModel('voyage-multimodal-3');

const { embeddings } = await embedMany({
  model: imageModel,
  values: [''],
  providerOptions: {
    voyage: {
      content: [
        [
          {
            type: 'image_url',
            image_url:
              'https://raw.githubusercontent.com/voyage-ai/voyage-multimodal-3/refs/heads/main/images/banana_200_x_200.jpg',
          },
          {
            type: 'image_base64',
            image_base64: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAA...',
          },
        ],
      ],
    } satisfies VoyageMultimodalEmbeddingOptions,
  },
});
Example 3: Text and images combined per embedding
import {
  voyage,
  type VoyageMultimodalEmbeddingOptions,
} from 'voyage-ai-provider';
import { embedMany } from 'ai';

const multimodalModel = voyage.multimodalEmbeddingModel('voyage-multimodal-3');…

Description from the npm listing.

  • ai
  • ai-sdk
  • vercel-ai
  • voyage
  • embeddings

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

voyage-ai-provider weekly downloads on npm, last 90 days: 20,642 weekly downloads as of Oct 18, 2026, -20.3% over 90 days.voyage-ai-providerWeekly downloads on npm · Last 90 days20,642downloads / week-20.3% over 90 days010K20K30K40K50K60KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
voyage-ai-provider weekly downloads on npm, last 90 days: 20,642 weekly downloads as of Oct 18, 2026, -20.3% over 90 days.

7/30/90-day growth

voyage-ai-provider weekly downloads growth on npm: -37.8% over 7 days, -40.1% over 30 days, -20.3% over 90 days.voyage-ai-providerWeekly downloads growth on npm20,642downloads / week now7-day growth-12,532 weekly downloads-37.8%30-day growth-13,826 weekly downloads-40.1%90-day growth-5,246 weekly downloads-20.3%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
voyage-ai-provider weekly downloads growth on npm: -37.8% over 7 days, -40.1% over 30 days, -20.3% over 90 days.

Ranking history

voyage-ai-provider npm ranking history: currently #782 (by weekly downloads).voyage-ai-providernpm ranking · by weekly downloads · Last 90 days#782current rank#780#782#784#786#788#790#792Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
voyage-ai-provider npm ranking history: currently #782 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 40, #3 (overall #783)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs259 listings · 13 pages · page 3, #8 (overall #48)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (122)
Recent weekly downloads observations for voyage-ai-provider
Date (UTC)Weekly downloadsChange vs. previous
20,642+3.4K
17,203-3.1K
20,291+76
20,215-8K
28,167-6.2K
34,3930
34,393+1.2K
33,174+1.4K
31,735+186
31,549+1.8K
29,783+865
28,918-2.1K
31,022-7.6K
38,669—

Similar npm AI SDKs plugins

All 20 voyage-ai-provider alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/voyage-ai-provider. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.