Skip to main content

At a glance

Credentials

Set these per environment. See Connect an integration.

Setup

  1. Create a Voyage AI account: Sign up at https://dashboard.voyageai.com. New accounts include free trial tokens for every model, which is enough for evaluation without billing.
  2. Create an API key: In the dashboard, open the API Keys section and create a new key. Copy it immediately.
  3. Store the key: Add VOYAGE_API_KEY=… to your .env file. Requests authenticate with an Authorization: Bearer header.
  4. Verify access: Run the Create Embeddings tool with model voyage-3.5 and a single short input string. A 401 means the key is wrong or revoked.
  • Use the same embedding model (and input_type convention) for indexing and querying - vectors from different models are not comparable
  • Contextualized chunk embeddings (voyage-context-3) expect each inner list to be one document’s chunks in order; regular embeddings treat every array item independently
  • Usage beyond the free trial tokens is billed per million tokens and requires adding a payment method in the dashboard
Provider API reference: https://docs.voyageai.com/reference/embeddings-api

Tools

Example prompts

  • Create Voyage AI embeddings for the texts I provide and report the model, dimensions, and token usage.
  • Use Voyage AI rerank-2.5 to order a list of documents I provide by relevance to my query and show the relevance scores.