Perplexity Launches 9B and 0.6B Contextual Embedding Models for Multimodal Retrieval
Summary:Perplexity has added 9B and 0.6B contextual embedding models to its Embeddings API, handling search queries, ordered document chunks, and page images through `POST /v1/embeddings`. Each document-chunk vector incorporates context from the rest of the document, while screenshots can be submitted as base64 data URIs and divided into one embedding per horizontal region through `num_chunks`. The 9B model returns 2,048 dimensions by default and can be reduced to 1,024; the 0.6B model defaults to 1,02
What Changed
Perplexity added pplx-embed-v2-context-9b and pplx-embed-v2-context-0.6b to POST /v1/embeddings. Both models handle search queries, chunked documents, and page images through the same hosted API, consolidating multimodal retrieval behind one endpoint.
Callers must provide input_type: use query for search requests and document for content being indexed. Omitting it returns HTTP 400. This contract explicitly separates the asymmetric roles of queries and documents, reducing the risk of mixing incompatible vector types, although Perplexity has not disclosed whether the models use separate encoders, a shared encoder, or conditional prefixes internally.
Contextualization Mechanics
Conventional chunk retrieval usually encodes each segment independently, which can be represented as e_i = f(c_i). Perplexity's contextual models behave more like e_i = f(c_i, c_1...c_n): callers submit document chunks in order, and each chunk vector incorporates information from the rest of the same document. This formulation describes the observable contract rather than a disclosed Transformer implementation.
The main benefit is reduced context fragmentation. A chunk containing only “the method significantly outperforms the baseline” may be nearly unsearchable after its subject, metric, and qualification are removed. Contextualization can encode cross-passage entities, section headings, and argumentative relationships into the vector, making the feature more useful for contracts, technical documentation, papers, and long web pages.
The trade-off is that chunk vectors are no longer independent. Editing one section may alter the contextual representation of other sections, so incremental updates generally require re-embedding the full document rather than only the changed chunk. Cross-chunk dependencies may also complicate straightforward parallelization, but Perplexity has not disclosed the computation, communication complexity, parallelism strategy, or maximum context length.
Image Inputs and Layout Segmentation
Page scans and screenshots can be submitted as base64 data URIs. The num_chunks parameter produces one embedding per horizontal region, allowing page-level or region-level indexing for scans, tables, headings, and clauses. This can make a query match the relevant region rather than only the complete page.
Perplexity does not explain how horizontal regions are determined, whether they have equal width, whether OCR is performed, or how rotated pages and complex multi-column layouts are handled. It should not be treated as a general-purpose visual document-understanding system. Base64 also increases transfer size by roughly one third over binary image data, while request limits, supported resolutions, and image tokenization rules remain undisclosed.
Dimensions, Storage, and Cost Trade-offs
| Model and output | Raw float32 payload per vector | Text price per 1M tokens | Image price per 1M tokens | |---|---:|---:|---:| | 9B, 2,048 dimensions | About 8 KiB | $0.12 | $0.42 | | 9B, 1,024 dimensions | About 4 KiB | $0.12 | $0.42 | | 0.6B, 1,024 dimensions | About 4 KiB | $0.02 | $0.40 | | 0.6B, 512 dimensions | About 2 KiB | $0.02 | $0.40 |
The storage figures cover vector payloads only and exclude metadata, inverted-index structures, graph links, replicas, and quantization overhead. At one million vectors, the raw float32 payload is approximately 8.2 GB at 2,048 dimensions, 4.1 GB at 1,024, and 2.0 GB at 512. Lower dimensions reduce storage and scan costs, but Perplexity has not disclosed the exact projection mechanism behind dimensions or the associated recall-loss curve.
The shared embedding space is the most useful compatibility feature in this release. The 0.6B model's 1,024-dimensional output occupies the same space as the 9B model configured for 1,024 dimensions, allowing same-dimension model replacement and shadow evaluation. Shared space should not be treated as blanket permission to mix every version: query and document vectors should still be tested for recall drift when the model changes. The 2,048- and 512-dimensional outputs cannot be assumed to belong to the same vector space.
Pricing also has an important asymmetry. Text through the 0.6B model costs one sixth of the 9B price, making it attractive for query-heavy or large-scale text indexing. Image pricing, however, falls only from $0.42 to $0.40, a reduction of roughly 4.8%. For corpora dominated by scans and screenshots, the smaller model's primary potential advantage would therefore be throughput or latency rather than API cost, and neither performance metric has been disclosed.
Evidence and Evaluation Boundaries
The release provides a clear API contract, output dimensions, shared-space relationship, and pricing, but no architecture, training corpus, baselines, Recall@k, MRR, nDCG, end-to-end latency, throughput, concurrency limits, or image-region retrieval results. The available evidence is insufficient to establish that the 9B model always outperforms the 0.6B model, or to quantify the benefit of contextualization over conventional independent chunk embeddings.
A valid comparison must fix the chunking strategy, query set, normalization behavior, index parameters, and Top-K policy, then separately evaluate independent chunks, contextual chunks, page-level images, and region-level images. No local weights or self-hosting instructions were included, so this should be treated as a hosted API update rather than an auditable open-model release.
Deployment Guidance
- Preserve chunk order during indexing and retain metadata such as sequence numbers, page numbers, and region identifiers. Treat full-document re-embedding as the default consistency strategy after any document edit.
- Enforce the distinction between
queryanddocument, and treat HTTP 400 as a client-contract error rather than a retryable service failure. - Before replacing a live 9B configuration with the 0.6B model, run shadow retrieval on the same test set and measure Recall@k, nDCG, p95 latency, QPS, and full reindexing cost.
- Budget a complete index rebuild whenever output dimensionality changes; never mix 2,048-, 1,024-, and 512-dimensional vectors in one index.
- For images, test both page-level and region-level retrieval across two-column layouts, skewed scans, low-resolution screenshots, and questions spanning multiple regions.
- Calculate cost using the actual mix of text tokens, image tokens, queries, and indexing requests rather than nominal price per million tokens alone.
— END —Source: Perplexity Changelog (2026-11-18)
Tags: #Perplexity #Contextual Embeddings #Multimodal Retrieval #Embeddings API #Vector Search
Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.
Community Comments