
Perplexity released pplx-embed-v2-context-9b on 2026-11-20, an open-weight vision-language embedding model for retrieval over text, images and visual documents. It returns 2048 dimensions by default, or 1024 with the dimensions parameter, and that 1024-dimension output shares an embedding space with the smaller 0.6B model. In contextual mode each chunk is embedded with the rest of the document in view, and queries and documents are encoded with separate methods. API pricing is $0.12 per million text tokens and $0.42 per million image tokens.
A situational 9B-parameter dense embedding model from Perplexity. Treat the modality benchmarks above as the leading indicator of fit — composite scoring across modalities is still maturing. Newly released, so production-readiness is still being shaken out.
Generated from this model’s benchmarks and ranking signals. Editor reviews refine it over time.
Access model weights, configuration files, and documentation.
No benchmark data available for this model yet.
Benchmark data sourced from: Hugging Face, Arena.ai, Artificial Analysis.
The top devices for this model at 4-bit, ranked by fit and speed.
| Device | Grade | VRAM |
|---|---|---|
| ACEMAGIC M1A Pro (i9-13900HK + ARC A770)ACEMAGIC | SS | 6.0 GB |
| Acer Veriton GN100 AI MiniAcer | SS | 6.0 GB |
| AI TOP ATOM ATAGB10-9003Gigabyte | SS | 6.0 GB |
| AMD Instinct MI300XAMD | SS | 6.0 GB |
| AMD Instinct MI325XAMD | SS | 6.0 GB |
Cheapest current cloud rentals with at least 6 GB VRAM, refreshed hourly.
Advertising disclosure: we earn commissions when you shop through the links below.
| Option | Cost / GPU-hour |
|---|---|
NVIDIA GeForce RTX 3090Vast.ai · Spot · 24 GB VRAM | $0.04 |
NVIDIA GeForce RTX 5060 TiVast.ai · Spot · 16 GB VRAM | $0.06 |
NVIDIA GeForce RTX 3080 TiVast.ai · Spot · 12 GB VRAM | $0.07 |
NVIDIA RTX A4000Vast.ai · Spot · 16 GB VRAM | $0.08 |
NVIDIA RTX A4000Vast.ai · On-Demand · 16 GB VRAM | $0.09 |
Per-GPU rate across RunPod, the Vast.ai marketplace, DigitalOcean, and Vultr.
Spot tier is interruptible. Plan for restarts when comparing against on-demand prices.
Perplexity released pplx-embed-v2-context-9b on 2026-11-20 as a dense 9B parameter open-weight embedding model engineered specifically for retrieval across complex text, images, and visual documents. Unlike traditional bi-encoders that process isolated text passages stripped of their surroundings, this model embeds chunks in contextual mode. Every document chunk is represented with the full document context in view, directly resolving the lost-context problem that degrades conventional retrieval-augmented generation (RAG) pipelines.
As an open-weight local AI model 9B parameters 2026 release, the model outputs 2048-dimensional vectors by default and supports 1024 dimensions via Matryoshka Representation Learning (MRL). Crucially, its 1024-dimensional output shares an identical embedding space with Perplexity's smaller pplx-embed-v2-context-0.6b model. This asymmetric compatibility lets teams pre-index large corpora offline using the 9B model for maximum chunk resolution, then run real-time queries against that index using the fast 0.6B model.
For engineers seeking to run pplx-embed-v2-context-9b locally, the architecture eliminates the brittle workaround of using generative LLMs to summarize or prepend context to individual document chunks before embedding. It handles document-level contextualization and multimodal inputs natively, directly within local dense retrieval stacks.
The architecture of pplx-embed-v2-context-9b is a dense 9B parameter vision-language backbone trained for feature extraction rather than text generation. It processes inputs across a 32K context window, making it capable of handling large multi-page reports and visual document layouts in a single pass. The model uses custom code that relies on flash-linear-attention and causal-conv1d for an optimized, low-overhead linear-attention path during document processing.
A critical architectural constraint involves its asymmetric encoding methods. The model uses separate learned prefixes for documents and queries:
encode(). When using contextual mode, chunks within a document must be non-overlapping.encode_queries(). Passing search queries through encode() bypasses query-specific prefixes and silently degrades retrieval quality.Additionally, the model natively outputs unnormalized INT8-quantized vectors. Practitioners comparing raw embeddings must use cosine similarity. To use standard inner dot products in vector databases like Qdrant, Milvus, or pgvector, the embeddings must be explicitly normalized by passing normalize_embeddings=True or applying an L2 norm across the output tensors.
pplx-embed-v2-context-9b targets production retrieval pipelines where generic, single-sentence text embedders produce false positives or miss fragmented evidence.
In technical documentation, a chunk stating "The configuration parameter must be set to false" is meaningless without knowing which service the manual is discussing. By passing non-overlapping chunks together inside their parent document array, pplx-embed-v2-context-9b conditions each chunk vector on the rest of the file. Pronoun references, domain topics, and section hierarchies are preserved inside the chunk vectors without manual text enrichment.
Because the underlying 9B backbone handles vision-language representations, the model embeds text passages, charts, screenshots, and visual PDF pages into a shared dense vector space. A plain-text question can directly retrieve a relevant diagram or visual table chunk from a dense approximate nearest neighbor (ANN) index without requiring a separate OCR translation step.
The model's 1024-dimensional MRL prefix is vector-compatible with the 0.6B variant. This allows hardware-efficient system designs:
Running this model on private infrastructure requires understanding pplx-embed-v2-context-9b hardware requirements. Because dense 9B parameter encoders compute bidirectional representations across long contexts, memory usage scales with both batch size and document chunk counts.
The required memory depends directly on the chosen precision:
batch_size argument from the default 32 down to 4 or 8, and keep document chunk inputs segmented into smaller contextual batches.Because this is an encoder rather than an autoregressive generator, pplx-embed-v2-context-9b performance is measured in input processing speed rather than output generation speed. When compiled with flash-linear-attention on an RTX 4090, expected pplx-embed-v2-context-9b tokens per second during parallel batch encoding typically spans 1,500 to 3,500 tokens per second. Running on a CPU without hardware acceleration is not recommended for production indexing, as throughput drops below 150 tokens per second on standard multi-core processors.
While Ollama is frequently the fastest path for spinning up standard generative models, embedding models that use custom architectures and explicit encode_queries methods are best run directly via PyTorch or specialized embedding inference engines.
Installation requires modern dependencies:
1pip install "transformers>=5.4.0" torch numpy safetensors pillow torchvision flash-linear-attention causal-conv1d
Load the model using trust_remote_code=True to activate Perplexity's custom encoding modules:
1from transformers import AutoModel23model = AutoModel.from_pretrained(4 "perplexity-ai/pplx-embed-v2-context-9b",5 trust_remote_code=True,6).to("cuda")78# Document chunks must be non-overlapping lists of strings9documents = [10 [11 "First chunk explaining system memory structures.",12 "Second chunk detailing PCIe lane allocations.",13 ]14]1516# Documents use .encode(), queries must use .encode_queries()17doc_embeddings = model.encode(documents, normalize_embeddings=True)18query_embeddings = model.encode_queries([["What are the PCIe requirements?"]], normalize_embeddings=True)
Evaluating pplx-embed-v2-context-9b vs NV-Embed-v2 highlights fundamental differences in retrieval architecture. NV-Embed-v2 (7B) is a top-ranked encoder on the text-focused MTEB leaderboard. However, NV-Embed-v2 is strictly a text model that processes passages in isolation. If your corpus consists entirely of clean, self-contained text passages, NV-Embed-v2 provides slightly higher raw textual accuracy. But for messy real-world documentation, scanned PDFs, or multi-chunk passages where context drifts, pplx-embed-v2-context-9b provides significantly better passage disambiguation due to its contextual chunking approach.
Comparing pplx-embed-v2-context-9b to smaller multi-stage encoders like BGE-M3 (0.56B) reveals an operational tradeoff between memory footprint and cross-modal flexibility. BGE-M3 is much lighter to host locally and supports multi-vector (ColBERT-style) outputs. However, BGE-M3 lacks vision-language multimodal ingestion and does not support native document-level contextualization during chunk encoding.
For engineers who have 24GB of local VRAM and want to index mixed-media enterprise documents without relying on costly multi-step LLM preprocessing, pplx-embed-v2-context-9b is one of the most capable local embedding engines available.

Explore the Provider
Aggregate stats, leaderboard, release timeline, and benchmark coverage across every Perplexity model we track.

Check which of your devices can run this model and how fast.

Compare hosted per-token prices before you commit to local hardware.

Break-even math for self-hosting, renting a GPU, or paying per token.
Live status for the hosted APIs you might use instead of running this locally.