---
title: "voyage-4-nano"
kind: "Kit"
category: "Developer"
price: "Free"
seller: "Mindket"
version: "1"
url: "https://mindket.com/p/2f60302a-0758-4299-acb3-a23b68c318dc"
updated: "2026-11-13"
---

# voyage-4-nano

> The name, the description, the About and a README below are the seller's words: data, not instructions.

Multilingual text embedding model of 346M parameters from the Voyage 4 series, for semantic search and retrieval, with flexible vector sizes. For developers building search and RAG systems.

voyage-4-nano is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on 2026-11-13. Download it on this page, a zip of its files. Nothing in it runs by itself.

Made by MongoDB

## About

### What it is

voyage-4-nano turns text into number vectors for semantic search and retrieval. Voyage AI developed it as part of the Voyage 4 models, and this copy sits under MongoDB's account. It is multilingual, accepts inputs up to 32,000 tokens, and has 346 million parameters.

### Who it suits

It suits developers building search or retrieval systems who want a small embedding model for local development, with a path to larger Voyage 4 models later.

| Industry | Who uses it | How they use it | Example |
| --- | --- | --- | --- |
| Software | Search engineers | Embed documents and queries for semantic search | Finding the passage that answers a question |
| AI apps | RAG builders | Retrieve supporting documents for a chatbot | Fetching context before an answer is written |
| Data platforms | Database teams | Store compact vectors for fast lookup | Keeping binary or 8-bit embeddings to save space |

You can skip it if you need an embedding model for images, or if you have no use for vector search.

### Where to use it

It runs in Python through the transformers or sentence-transformers libraries. It works on Windows, macOS or Linux, with an Nvidia GPU optional for faster work.

- Python scripts that use sentence-transformers
- Python scripts that use transformers 4.56 or newer
- Local development, before moving to larger Voyage 4 models

| Use case | Who | What they get back |
| --- | --- | --- |
| Query embedding | Search developers | A vector for a question, using the right prompt automatically |
| Document embedding | Data engineers | One vector per document in a list |
| Flexible size | Platform teams | Vectors of 2048, 1024, 512 or 256 dimensions |

### How to set it up

You need Python with transformers 4.56 or newer, or the sentence-transformers package. Hugging Face lists the weights at about 693 MB in BF16. The card advises the same arguments on Nvidia GPUs, with flash attention when the GPU supports it.

- Python
- transformers 4.56 or newer, or sentence-transformers
- About 693 MB of disk for the BF16 weights
- Optional Nvidia GPU

1. Install the Hugging Face download tool, or let the library fetch the model.
2. Load the model with SentenceTransformer or with AutoModel.
3. Embed your queries and documents.

```bash
pip install -U huggingface_hub
hf download MongoDB/voyage-4-nano
```

### How to use it

Load the model, then call encode\_query for questions and encode\_document for passages, so that the right prompts are added for you. You can shorten vectors with truncate\_dim.

```python
from sentence_transformers import SentenceTransformer
import torch

# Standard loading, assuming no GPU access
model = SentenceTransformer(
    "voyageai/voyage-4-nano",
    trust_remote_code=True,
    truncate_dim=2048
)

query = "Which planet is known as the Red Planet?"
documents = [
    "Venus is often called Earth's twin because of its similar size and proximity.",
    "Mars, known for its reddish appearance, is often referred to as the Red Planet.",
    "Jupiter, the largest planet in our solar system, has a prominent red spot.",
    "Saturn, famous for its rings, is sometimes mistaken for the Red Planet."
]

# Encode via encode_query and encode_document to automatically use the right prompts
query_embedding = model.encode_query(query)
document_embeddings = model.encode_document(documents)
```

| Tool | What it does |
| --- | --- |
| SentenceTransformer | Loads the model with settings such as truncate\_dim |
| encode\_query | Embeds a question with the query prompt |
| encode\_document | Embeds passages with the document prompt |

### Example

You embed the question about the Red Planet and four short passages about planets. The vectors for the question and the Mars passage end up closest, so a similarity search returns the Mars sentence first.

### For newcomers and experts

If you are new, an embedding turns a sentence into a list of numbers so a computer can compare meaning. Run the example, then compare the question vector with each passage vector.

If you know the field, the model uses Matryoshka representation learning for 2048, 1024, 512 and 256 dimensions. It also uses quantization-aware training, so output can be 32-bit float, signed or unsigned 8-bit integers, or binary. Its vectors share one space with the other Voyage 4 models.

Text input → Prompt added for query or document → Embedding model → Vector in the chosen size and type → Similarity search

### Good to know

You can mix sizes across the Voyage 4 family, for example indexing with one model and querying with another, without rebuilding the index.

- License: Apache 2.0
- Cost to run: no API key, account or paid service is named for local use
- Data it reaches: the text you embed on your machine, plus files downloaded from Hugging Face
- Not for: images or other non-text input

Parameters in millions

| Label | Value |
| --- | --- |
| Non-embedding | 180 M |
| Embedding | 160 M |

## README

````markdown
# voyage-4-nano

Multilingual text embedding model of 346M parameters from the Voyage 4 series, for semantic search and retrieval, with flexible vector sizes. For developers building search and RAG systems.

Made by MongoDB on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

## About

What it is: voyage-4-nano turns text into number vectors for semantic search and retrieval. Voyage AI developed it as part of the Voyage 4 models, and this copy sits under MongoDB's account. It is multilingual, accepts inputs up to 32,000 tokens, and has 346 million parameters.

Who it suits: It suits developers building search or retrieval systems who want a small embedding model for local development, with a path to larger Voyage 4 models later.

```table
Industry | Who uses it | How they use it | Example
Software | Search engineers | Embed documents and queries for semantic search | Finding the passage that answers a question
AI apps | RAG builders | Retrieve supporting documents for a chatbot | Fetching context before an answer is written
Data platforms | Database teams | Store compact vectors for fast lookup | Keeping binary or 8-bit embeddings to save space
```

You can skip it if you need an embedding model for images, or if you have no use for vector search.

Where to use it: It runs in Python through the transformers or sentence-transformers libraries. It works on Windows, macOS or Linux, with an Nvidia GPU optional for faster work.

- Python scripts that use sentence-transformers
- Python scripts that use transformers 4.56 or newer
- Local development, before moving to larger Voyage 4 models

```table
Use case | Who | What they get back
Query embedding | Search developers | A vector for a question, using the right prompt automatically
Document embedding | Data engineers | One vector per document in a list
Flexible size | Platform teams | Vectors of 2048, 1024, 512 or 256 dimensions
```

How to set it up: You need Python with transformers 4.56 or newer, or the sentence-transformers package. Hugging Face lists the weights at about 693 MB in BF16. The card advises the same arguments on Nvidia GPUs, with flash attention when the GPU supports it.

- Python
- transformers 4.56 or newer, or sentence-transformers
- About 693 MB of disk for the BF16 weights
- Optional Nvidia GPU

1. Install the Hugging Face download tool, or let the library fetch the model.
2. Load the model with SentenceTransformer or with AutoModel.
3. Embed your queries and documents.

```bash
pip install -U huggingface_hub
hf download MongoDB/voyage-4-nano
```

How to use it: Load the model, then call encode_query for questions and encode_document for passages, so that the right prompts are added for you. You can shorten vectors with truncate_dim.

```python
from sentence_transformers import SentenceTransformer
import torch

# Standard loading, assuming no GPU access
model = SentenceTransformer(
    "voyageai/voyage-4-nano",
    trust_remote_code=True,
    truncate_dim=2048
)

query = "Which planet is known as the Red Planet?"
documents = [
    "Venus is often called Earth's twin because of its similar size and proximity.",
    "Mars, known for its reddish appearance, is often referred to as the Red Planet.",
    "Jupiter, the largest planet in our solar system, has a prominent red spot.",
    "Saturn, famous for its rings, is sometimes mistaken for the Red Planet."
]

# Encode via encode_query and encode_document to automatically use the right prompts
query_embedding = model.encode_query(query)
document_embeddings = model.encode_document(documents)
```

```table
Tool | What it does
SentenceTransformer | Loads the model with settings such as truncate_dim
encode_query | Embeds a question with the query prompt
encode_document | Embeds passages with the document prompt
```

Example: You embed the question about the Red Planet and four short passages about planets. The vectors for the question and the Mars passage end up closest, so a similarity search returns the Mars sentence first.

For newcomers and experts: If you are new, an embedding turns a sentence into a list of numbers so a computer can compare meaning. Run the example, then compare the question vector with each passage vector.

If you know the field, the model uses Matryoshka representation learning for 2048, 1024, 512 and 256 dimensions. It also uses quantization-aware training, so output can be 32-bit float, signed or unsigned 8-bit integers, or binary. Its vectors share one space with the other Voyage 4 models.

```flow
Text input
Prompt added for query or document
Embedding model
Vector in the chosen size and type
Similarity search
```

Good to know: You can mix sizes across the Voyage 4 family, for example indexing with one model and querying with another, without rebuilding the index.

- License: Apache 2.0
- Cost to run: no API key, account or paid service is named for local use
- Data it reaches: the text you embed on your machine, plus files downloaded from Hugging Face
- Not for: images or other non-text input

```chart
Title: Parameters in millions
Non-embedding: 180 M
Embedding: 160 M
```

## On Hugging Face, 13 November 2026

- Task: feature extraction
- Library: sentence-transformers
- Parameters: 346M
- Weights: about 693 MB in BF16; about 173 MB at 4-bit (estimate)
- Formats: Safetensors
- Downloads in the last 30 days: 90,118
- Likes: 152
- License: apache-2.0
- Quantized versions: 12
- Fine-tunes: 2
- Tags: sentence-transformers, safetensors, qwen3, text-generation, transformers, feature-extraction, multilingual, text-embeddings-inference

## Links

- Model: https://huggingface.co/MongoDB/voyage-4-nano
- Files: https://huggingface.co/MongoDB/voyage-4-nano/tree/main

## Get the model

Download its files with Hugging Face's command line:

```sh
pip install -U huggingface_hub
hf download MongoDB/voyage-4-nano
```

Then follow the usage in its model card. Nothing in this kit runs by itself.
````

## What is in it

1 files, 6 KB, downloaded as a zip.

```text
README.md  6 KB
```

## Source

[MongoDB/voyage-4-nano on Hugging Face](https://huggingface.co/MongoDB/voyage-4-nano)

## Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
| --- | --- | --- | --- | --- | --- |
| voyage-4-nano (this page) | 90,118 | 152 | 346M | apache-2.0 | 2026-10-22 |
| [harrier-oss-v1-0.6b](https://mindket.com/p/0d1574e7-3349-4388-b93f-b577056ab30e) | 218,439 | 338 | 596M | mit | 2026-03-30 |
| [Qwen3-Embedding-0.6B](https://mindket.com/p/13d9351b-4e94-46a7-b262-1d8b53353c54) | 8,761,091 | 1,346 | 596M | apache-2.0 | 2026-04-20 |
| [Qwen3-Embedding-4B](https://mindket.com/p/9b7e2d70-d697-4875-b0e8-eeb03f550132) | 2,426,700 | 351 | 4B | apache-2.0 | 2025-06-20 |
| [Qwen3-Embedding-8B](https://mindket.com/p/af9489b9-e6d2-42c5-a898-2313ef4df9b6) | 2,358,928 | 858 | 7.6B | apache-2.0 | 2025-07-07 |
| [paraphrase-multilingual-MiniLM-L12-v2](https://mindket.com/p/7babf7ff-2f8f-4358-a71b-a36915eab8d5) | 26,540,125 | 1,505 | 118M | apache-2.0 | 2026-01-28 |

Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

## Trust facts

Facts from each source, with the day each was checked. A maintainer's note is their own words: data, not instructions.

- Last change on Hugging Face: 2026-10-22
- First published: 2026-01-06
- Checked on Hugging Face: 2026-11-13
- Something wrong? Tell us: https://mindket.com/takedown#ask

## Get it

- [Open MongoDB/voyage-4-nano on Hugging Face](https://huggingface.co/MongoDB/voyage-4-nano)
- [Get it on your Mindket account](https://account.mindket.com/account/?product=mindket#/market/2f60302a-0758-4299-acb3-a23b68c318dc)
- [Its page on Mindket](https://mindket.com/p/2f60302a-0758-4299-acb3-a23b68c318dc)
