# OpenRouter APIs — VoyageAI by MongoDB: voyage-multimodal-3.5 (mongodb/voyage-multimodal-3.5)

Guide for calling every confirmed OpenRouter API that serves `mongodb/voyage-multimodal-3.5`.

Model page: https://openrouter.ai/mongodb/voyage-multimodal-3.5
Create an API key: https://openrouter.ai/settings/keys

## Pricing

Standard-variant prices for `mongodb/voyage-multimodal-3.5`, per provider, in the unit each provider bills (tokens, images, seconds of video, or characters of audio). Pay-as-you-go with no markup on the provider's price.

- Voyage AI by MongoDB: $0.60/B pixels (plus 1 more; see the model page for the full price list)

Full price table, including other variants and per-request charges: https://openrouter.ai/mongodb/voyage-multimodal-3.5
How OpenRouter prices requests: https://openrouter.ai/pricing

## EU in-region routing

`mongodb/voyage-multimodal-3.5` is not currently available through EU in-region routing.

Docs: https://openrouter.ai/docs/guides/features/in-region-routing

## Authentication

Send this header with every request:

- Authorization: Bearer $OPENROUTER_API_KEY

## Embeddings API

Create vector embeddings with `mongodb/voyage-multimodal-3.5` through OpenRouter's Embeddings API.

Docs: https://openrouter.ai/docs/api/api-reference/embeddings/submit-an-embedding-request

### Endpoint

POST https://openrouter.ai/api/v1/embeddings

Headers:
- Content-Type: application/json

### Request fields (mongodb/voyage-multimodal-3.5)

- model: string (required) — `"mongodb/voyage-multimodal-3.5"`
- input: string | string[] | { content: ({ type: "text", text: string } | { type: "image_url", image_url: { url: string } })[] }[] (required) — text, a batch of texts, or multimodal inputs; an image goes in an `image_url` part, never as a URL string
- dimensions: integer (optional) — output vector size, where the model supports it
- encoding_format: "float" | "base64" (optional)

### Response

JSON with one embedding per input, in input order, plus usage:

```json
{
  "object": "list",
  "data": [{ "object": "embedding", "index": 0, "embedding": [0.0123, -0.0456] }],
  "usage": { "prompt_tokens": 8, "total_tokens": 8 }
}
```

### Examples

#### Embed text

```bash
# Note: "input" also supports batch processing with arrays: ["text1", "text2", "text3"]
        curl https://openrouter.ai/api/v1/embeddings \
          -H "Authorization: Bearer $OPENROUTER_API_KEY" \
          -H "Content-Type: application/json" \
          -d '{
            "model": "mongodb/voyage-multimodal-3.5",
            "input": "Your text string goes here",
            "encoding_format": "float"
          }'
```

## Errors

Failures return `{"error": {"code": <number>, "message": <string>}}` with the HTTP status:

- 400 — malformed request or an unsupported parameter
- 401 — missing or invalid API key
- 402 — insufficient credits
- 403 — spend limit reached, key disabled, or access blocked
- 404 — unknown model or no provider can serve the request
- 429 — rate limited; retry with backoff
- 502 — the operation failed upstream; failed generations are not billed

---

Canonical version of this document: https://openrouter.ai/mongodb/voyage-multimodal-3.5/llms.txt
