# pplx-embed-v2-context-9b

> pplx-embed-v2-context-9b is a state-of-the-art vision-language embedding model for retrieval over text, images, and visual documents. It supports contextual and non-contextual embeddings: In contextual mode, the model embeds chunks of a document with the surrounding context in view.

- **Organisation:** perplexity-ai
- **Category:** Embedding Models
- **Parameters:** 8.4B
- **Context length:** 262,144 tokens
- **Licence:** MIT (Commercial use OK)
- **Released:** 2026-10-28
- **Hugging Face:** 1.3K downloads (30 days), 22 likes

## Estimated memory

| Quant | ≈ GB |
|---|---|
| Q4_K_M | 6.19 |
| Q8_0 | 10.48 |
| F16 | 19.28 |

## Runs with

- [Transformers](https://github.com/huggingface/transformers)

## About

pplx-embed-v2-context-9b is a state-of-the-art vision-language embedding model for retrieval over text, images, and visual documents. It supports contextual and non-contextual embeddings: In contextual mode, the model embeds chunks of a document with the surrounding context in view. In non-contextual mode, text inputs are embedded in isolation. Its 1024-dimensional MRL prefix shares an embedding space with pplx-embed-v2-context-0.6b. Documents can be embedded with one model and queried with another.

This model also supports contextual chunking for visual inputs. Chunked images can be retrieved via standard dense ANN indices. Chunking images can substantially improve retrieval performance.

For benchmark results and details on training, refer to our technical report.

Requires transformers>=5.4.0, torch, numpy, safetensors, tqdm, Pillow, and torchvision. Install flash-linear-attention and causal-conv1d for the fast linear-attention path. The model uses custom code, so load it with trust_remote_code=True.

encode(documents, ...) and encode_queries(queries, ...) accept:

The text API does not truncate inputs. Split or truncate documents that exceed the configured input length before encoding. To obtain one embedding per document, pass each document as a single-chunk list.

The model was trained with Matryoshka losses at 1024 and 2048 dimensions. To use 1024-dimensional embeddings, take the first 1024 values of each unnormalized embedding and normalize afterwards:

## Alternatives

- [Qwen/Qwen3-VL-Embedding-8B](https://selfhost.directory/models/qwen/qwen3-vl-embedding-8b) (8.1B, Apache 2.0, ≈10.17 GB): The Qwen3-VL-Embedding and Qwen3-VL-Reranker model series are the latest additions to the Qwen family, built upon the recently open-sourced and powerful Qwen3-VL foundation model.
- [nvidia/Nemotron-3-Embed-8B-BF16](https://selfhost.directory/models/nvidia/nemotron-3-embed-8b-bf16) (8B, openmdw-1.1, ≈9.94 GB): Nemotron-3-Embed-8B-BF16 is a versatile text embedding model trained by NVIDIA and optimized for retrieval and semantic similarity tasks.
- [Qwen/Qwen3-Embedding-8B](https://selfhost.directory/models/qwen/qwen3-embedding-8b) (7.6B, Apache 2.0, ≈9.49 GB): The Qwen3 Embedding model series is the latest proprietary model of the Qwen family, specifically designed for text embedding and ranking tasks.
- [nvidia/Nemotron-3.5-Embed-8B-BF16](https://selfhost.directory/models/nvidia/nemotron-3.5-embed-8b-bf16) (8.4B, openmdw-1.1, ≈10.45 GB): Nemotron-3.5-Embed-8B-BF16 is a state-of-the-art, versatile embedding model developed by NVIDIA for multimodal and multilingual question-answering retrieval. The model can embed a document page in the form of an image, text, or combined image–text input.
- [nomic-ai/nomic-embed-code](https://selfhost.directory/models/nomic-ai/nomic-embed-code) (7.1B, Apache 2.0, ≈8.9 GB): nomic-embed-code is a state-of-the-art code embedding model that excels at code retrieval tasks:
- [tencent/WeMM-Embedding-9B](https://selfhost.directory/models/tencent/wemm-embedding-9b) (9.4B, Apache 2.0, ≈11.67 GB): WeMM-Embedding-9B is a universal multimodal embedding model built on Qwen3.5. It accepts text, images, videos, visual documents, and interleaved multimodal inputs, and returns a 4,096-dimensional L2-normalized embedding. Audio input is not supported.

More: https://selfhost.directory/models/perplexity-ai/pplx-embed-v2-context-9b/alternatives

## Runs well on

- [GeForce RTX 4060](https://selfhost.directory/models/perplexity-ai/pplx-embed-v2-context-9b/on/rtx-4060): Q4_K_M
- [Apple M4 (16 GB)](https://selfhost.directory/models/perplexity-ai/pplx-embed-v2-context-9b/on/apple-m4-16gb): Q4_K_M
- [Radeon RX 6700 XT](https://selfhost.directory/models/perplexity-ai/pplx-embed-v2-context-9b/on/rx-6700-xt): Q8_0
- [GeForce RTX 3060 12GB](https://selfhost.directory/models/perplexity-ai/pplx-embed-v2-context-9b/on/rtx-3060): Q8_0
- [Arc B580](https://selfhost.directory/models/perplexity-ai/pplx-embed-v2-context-9b/on/arc-b580): Q8_0
- [Tesla T4](https://selfhost.directory/models/perplexity-ai/pplx-embed-v2-context-9b/on/tesla-t4): Q8_0

## Similar size

- [Qwen/Qwen3-Embedding-8B](https://selfhost.directory/models/qwen/qwen3-embedding-8b) (7.6B)
- [Qwen/Qwen3-VL-Embedding-8B](https://selfhost.directory/models/qwen/qwen3-vl-embedding-8b) (8.1B)
- [nvidia/Nemotron-3-Embed-8B-BF16](https://selfhost.directory/models/nvidia/nemotron-3-embed-8b-bf16) (8B)
- [nvidia/Nemotron-3.5-Embed-8B-BF16](https://selfhost.directory/models/nvidia/nemotron-3.5-embed-8b-bf16) (8.4B)
- [nomic-ai/nomic-embed-code](https://selfhost.directory/models/nomic-ai/nomic-embed-code) (7.1B)
- [intfloat/e5-mistral-7b-instruct](https://selfhost.directory/models/intfloat/e5-mistral-7b-instruct) (7.1B)

## FAQ

**How much VRAM does pplx-embed-v2-context-9b need?**
About 10 GB at Q8_0. Full precision needs about 19 GB.

**Can pplx-embed-v2-context-9b run on the RTX 4060?**
Yes. It fits at Q4_K_M (about 6.2 GB). It fits comfortably on the Apple M4 (16 GB), Radeon RX 6700 XT, RTX 3060 12GB.

**Can I use pplx-embed-v2-context-9b commercially?**
Yes. It is released under MIT. Permissive: do almost anything as long as you keep the copyright notice.

**How do I run pplx-embed-v2-context-9b locally?**
It runs with Transformers. Each has copy-paste examples in its docs.

## Links

- huggingface: https://huggingface.co/perplexity-ai/pplx-embed-v2-context-9b
- paper: https://arxiv.org/abs/2610.38854

---
Source: https://selfhost.directory/models/perplexity-ai/pplx-embed-v2-context-9b