Articles / raggenai-system-designmultimodal
Design a multimodal RAG pipeline for 1 billion documents (OCR, tables, images, video)
RAG system design for 1 billion documents with scanned PDFs, tables, images and video: 10.5B vectors, tiered indexes, OCR, costs and 11 diagrams.
Most RAG system design write-ups stop somewhere between 10 million and 100 million documents, and almost all of them assume the documents are clean text. This post goes to 1 billion documents and makes them messy on purpose: scanned PDFs that need OCR, tables, charts, photos, screenshots, meeting recordings and videos.
At that size, a few things change. You can no longer keep every vector in RAM, embedding stops being the expensive part, and a permission bug or a stale index hurts millions of users at once. The design below walks through every layer, with a diagram for each one and numbers from a small calculator you can run yourself.
All diagrams are drawn in Excalidraw. Each one has an "Open in Excalidraw" link so you can download the .excalidraw file and edit it for your own interview notes.
If you are new to the topic, start with my RAG architectures comparison and the 10M-document ingestion design. This post builds on both.
Requirements#
Assume an enterprise search product used by many companies (tenants). Each tenant connects drives, wikis, ticket systems, mailboxes and meeting recorders, then asks questions in a chat box and gets answers with citations.
Functional:
- Answer questions over text, PDFs (including scanned ones), tables, images, audio and video.
- Every answer cites its sources down to the page and region (for documents) or the timestamp (for recordings).
- A user only ever sees content they are allowed to open in the source system.
- Changes in sources show up in answers within minutes. Deletes disappear just as fast.
- Multi-turn chat: follow-up questions use the earlier turns.
Non-functional:
- 1,000,000,000 documents today, about 2 million new or changed documents per day.
- 500 queries per second at peak.
- p95 time to first token of 1.5 seconds.
- Full backfill of the corpus in about 30 days.
- Zero cross-tenant leaks. A wrong answer is bad; showing one company's document to another company ends the contract.
In an interview, ask before you draw: What is the document mix? How fresh must answers be? Do we need page-level citations? Is there a per-query cost budget? Are there tenants big enough to need their own hardware? The answers change the design more than any choice of vector database.
Napkin math: what 1 billion multimodal documents turn into#
Here is the document mix I assumed. Change it to match your data; the calculator at the end of the post takes these as inputs.
| Share | Type | What each one produces |
|---|---|---|
| 70% | Text docs (web pages, wiki, email, tickets) | ~2,000 tokens, 4 chunks of 500 tokens |
| 20% | PDFs and office files | 12 pages; per page 1 text chunk + 1 page-image vector; 0.4 tables and 0.3 figures per page; 15% of pages are scans |
| 8% | Standalone images | 1 image vector + 1 caption/OCR chunk |
| 2% | Audio and video (15 min avg) | 6 transcript chunks with timestamps; videos also keep ~10 keyframes |
The calculator turns that into:
| Quantity | Value |
|---|---|
| PDF pages | 2.4 billion (360 million need OCR) |
| Tables / figures | 960 million / 720 million |
| Audio to transcribe | 5 million hours |
| Text-space vectors (1024-d) | 7.18 billion, from 2.9 trillion tokens |
| Image-space vectors (768-d) | 3.30 billion |
| All vectors | 10.48 billion (about 10.5 per document) |
So "1 billion documents" is really a 10.5 billion vector problem in two embedding spaces. Raw storage for one copy of those vectors:
| Precision | Size |
|---|---|
| float32 | 39.6 TB |
| float16 | 19.8 TB |
| int8 | 9.9 TB |
| binary (1 bit per dimension) | 1.24 TB |
| PQ, 64 bytes per vector | 0.67 TB |
Forty terabytes of float32 vectors, times three replicas, in RAM, is not a budget anyone will approve. That single table drives most of the index design below.
The second surprise is where the money goes:
| One-time backfill job | GPU-hours (self-hosted) | Managed API |
|---|---|---|
| Speech-to-text (5M hours) | 100,000 | ~$1.8M at $0.006/min |
| Layout parsing (2.4B pages) | 66,667 | n/a |
| Text embedding (2.9T tokens) | 16,089 | ~$376K at $0.13 per 1M tokens |
| VLM captions (900M) | 12,500 | n/a |
| OCR (360M scanned pages) | 10,000 | ~$230K |
| Image embedding (3.3B) | 1,833 | n/a |
| Total | ~207,000 (≈ $518K at $2.50/GPU-hour) |
These totals are the worst case: they run the layout model on every page. Layer 2 shows how routing pages cuts that line.
Embedding is under 9% of the GPU time. Transcription and layout parsing dominate ingest. On the query side the gap is even larger: generation with a frontier model costs about $0.02 per uncached query, which at this load is roughly $6.2M a month, against about $144K a month for the reranker fleet. Keep both facts in mind: parsing dominates ingest cost, generation dominates running cost.
The API prices come from the OpenAI pricing page, Google Document AI pricing and Claude pricing, checked on 26 Nov 2026. The GPU throughput numbers are my assumptions and are listed in the calculator.
The big picture#
There are two paths and one shared middle.
The write path (top) pulls changes from sources, keeps a raw copy in object storage, routes each file to the right parser for its modality, chunks and stamps metadata, embeds, and writes to the indexes.
The read path (bottom) authenticates the user, resolves their permissions, rewrites the question, searches several indexes in parallel, fuses and reranks the results, builds a context with text and images, and streams an answer with citations.
The shared middle holds the indexes (a fresh delta index, a hot tier, a warm tier, a BM25 keyword index), the metadata database and the archive. A control plane watches all of it: evaluation, monitoring and the ACL service.
Every arrow on the write path is a queue (Kafka-style, partitioned by tenant). Stages scale and fail on their own, retries are safe, and anything that fails three times lands in a dead-letter queue with the error attached.
Layer 1: sources and connectors#
Connectors learn about changes in three ways: webhooks (fast, but deliveries get lost), change data capture for databases, and a periodic list-and-diff that catches whatever the first two missed. My ingestion post covers this layer in detail, so here are only the parts that change at 1 billion documents:
- Decide on a content hash, not a timestamp. About 2 million documents change per day, but many "changes" are re-saves with no edits. Hashing normalized content plus the ACL skips them before any GPU work.
- Raw copy first. Every file lands in object storage before parsing. When you improve the parser next quarter, you re-process from the lake instead of re-crawling a billion files through rate-limited source APIs.
- Two priority lanes. User-visible changes go into a FRESH lane; the backfill and re-embeds go into a BACKFILL lane that only gets spare capacity. Without this split, a 30-day backfill starves today's edits.
- Idempotent keys. Every write is keyed on
doc_id + version + element_id, so a retried message overwrites instead of duplicating.
Layer 2: parsing every modality (OCR, tables, figures, audio, video)#
This is where a multimodal pipeline earns or loses its answer quality. A modality router looks at each file and sends it to a processor. The important part is that PDFs are routed per page, not per file. A 40-page contract may have 37 born-digital pages, two scanned signature pages and a pricing table.
Born-digital text pages go to cheap CPU text extraction. Most pages fall here. Running a GPU layout model over all 2.4 billion pages costs about 67,000 GPU-hours; sending only scanned pages and pages with tables or figures to the GPU pool cuts that to the share of pages that need it.
Scanned pages are detected by checking the text layer (no text, or text that is mostly garbage characters) and sent to OCR with layout detection, so you get reading order and bounding boxes, not just a bag of words. Open-source options include Tesseract and PaddleOCR; Docling bundles layout analysis (DocLayNet) and table structure recognition (TableFormer) and runs on commodity hardware. Managed OCR is about $1.50 per 1,000 pages, dropping to $0.60 above 5 million pages a month.
Tables go through table-structure extraction and come out as Markdown plus a one-line summary ("Q3 revenue by region, 4 regions, 2024 vs 2025"). The summary is what matches a natural-language question; the Markdown is what the LLM reads. A table is never split across chunks.
Figures and charts are cropped, captioned by a vision-language model (VLM), and embedded twice: the caption goes into the text space, the crop into the image space. A question like "which chart shows churn by month?" can then match either way.
Every page also gets a page-image vector. Some pages carry meaning in layout that text extraction loses: slides, forms, diagrams with labels. ColPali showed that embedding the page image directly can beat OCR-based pipelines on visually rich documents. ColPali is multi-vector (one vector per image patch), which is too big for 2.4 billion pages, so the base design keeps one pooled vector per page and uses multi-vector late interaction only in the hot tier.
Standalone images get OCR text (screenshots are full of it), a VLM caption, and an image vector.
Audio goes through speech recognition with timestamps and, where possible, speaker labels. Whisper was trained on 680,000 hours of audio and is a common self-hosted choice. Transcripts are chunked on pauses and speaker turns, and every chunk keeps t_start and t_end.
Video gets the same audio treatment, plus keyframes: sample one frame every 30 seconds, drop near-duplicates with scene-change detection, keep about 10 per video, caption each, and embed each into the image space.
Every processor emits elements with a type, a location (page + bounding box, or a time range) and a pointer to the asset. That location is what makes a citation clickable later.
Layer 3: data model and chunking#
Four tables carry the state, in an ordinary relational database separate from the vector indexes:
Document(doc_id, tenant, source_uri, content_hash, acl, version, deleted_at)
Element (element_id, doc_id, type, page, bbox, t_start, t_end, asset_uri)
type in {text, table, figure, page, image, audio_seg, keyframe}
Chunk (chunk_id, element_id, parent_id, text, tokens, modality, acl, index_version)
Vector (chunk_id, space, tier, shard) space in {text, image}
The split between Element and Chunk is deliberate. An element is a thing on a page or in a recording; a chunk is the unit you embed. A long element becomes several chunks, and parent_id lets the read path expand a small matching chunk into its full section before sending it to the LLM.
The read side needs its own tables too: Conversation, Message, Citation (message → chunk, with page/bbox or timestamp), Feedback and Trace. They power multi-turn rewriting, the citation UI and evaluation.
Chunking follows structure. Split on headings and sections, keep the heading path ("Policies > Travel > International") as metadata, keep tables and code blocks whole, and only fall back to fixed 500-token windows with 50-token overlap for long unstructured text.
Contextual enrichment, selectively. Anthropic's contextual retrieval prepends an LLM-written line of context to each chunk before embedding and BM25 indexing; their numbers show top-20 retrieval failures dropping 49% with contextual embeddings plus contextual BM25, and 67% with reranking added. They quote $1.02 per million document tokens. At 2.9 trillion tokens that is about $3M, so I would apply it to the hot tier and to tenants who pay for it, not to the whole corpus on day one.
Layer 4: the embedding fleet#
Two models, two vector spaces:
- Text space, 1024 dimensions, from a Matryoshka-trained model. Matryoshka embeddings stay useful when you cut them short, so the same vector can be truncated to 256 dimensions for a cheap first pass.
- Image space, 768 dimensions, from a CLIP/SigLIP-family vision-language model. Captions are embedded in the text space too, so text-only queries still find images.
The fleet reads the change queue, batches by model and size, and runs two lanes. At steady state, 2 million changed documents a day become about 21 million vectors a day (243 per second on average), which is around 17 GPUs running around the clock including parsing. The backfill needs about 288 GPUs for 30 days.
Writers fan out to four places: the fresh delta index (so the change is searchable in minutes), the BM25 index, the metadata database, and the archive, which stores every vector in float16 alongside the parsed elements. The archive is the source of truth for every rebuild. Re-embedding 10.5 billion vectors from parsed elements is a GPU job; re-parsing 2.4 billion pages first would be a much bigger one.
Layer 5: index tiers and sharding#
Not all 10.5 billion vectors deserve RAM. Access is skewed: recent documents and a small set of popular ones get most of the traffic. The design uses four tiers.
Fresh delta. A small in-RAM index holding the last ~24 hours of writes, about 21 million vectors and 49 GB per copy. New documents are searchable in under 5 minutes. Each night it merges into hot.
Hot (10% of vectors, about 1.05 billion). In-RAM HNSW graphs over int8 vectors. With M = 32, the graph links add about 282 bytes per vector, so a 1024-d text vector takes about 1.3 KB. That is 1.30 TB of RAM per copy, split into 53 shards of 20 million vectors, 3 copies each: 159 nodes with about 32 GB of RAM each, including 30% headroom. p95 ANN under 30 ms.
Warm (the other 90%, about 9.43 billion). A DiskANN-style graph on NVMe. Only 64-byte PQ codes and a small cache live in RAM; the full int8 vectors and graph links live on SSD and are read only to re-score candidates. The DiskANN paper indexes a billion points on one workstation with 64 GB of RAM at over 95% 1-recall@1. Our warm tier needs 1.32 TB of RAM and 11.3 TB of NVMe per copy. At 50 million vectors per shard that is 189 shards, 567 nodes with 3 copies, each needing only about 9 GB of RAM and 60 GB of NVMe. Those nodes are limited by query load and SSD reads, not memory, which is why you size warm shards by QPS. Milvus ships this as its on-disk DiskANN index with a Vamana max degree of 56 by default. SPANN (centroids in RAM, posting lists on SSD) is the main alternative if you prefer an inverted-file design.
Archive. float16 vectors (19.8 TB), parsed elements (31 TB) and raw files (about 2.35 PB) in object storage. Never queried live. turbopuffer's architecture notes list the price gap that makes this tiering worth the effort: roughly $2 per GB-month for DRAM, $0.08 for NVMe and $0.02 for object storage.
Compression is what makes the numbers work. Hugging Face's embedding quantization study found int8 with rescoring keeps about 99% of retrieval quality, and binary with rescoring keeps 96.45% of NDCG@10. The pattern in every tier is the same: search with a compressed code, then re-score a few hundred candidates with a more precise vector.
Routing: tenant first, then hash. A query only touches its own tenant's shards. Large tenants get dedicated shards; small tenants are packed together, with tenant id as a hard filter. Within a tenant, hash(doc_id) spreads load. Rebalancing between hot and warm runs weekly from access statistics.
BM25 alongside. Vectors are bad at exact strings: error codes, invoice numbers, product SKUs, people's names. An inverted index (OpenSearch or Elasticsearch style), sharded the same way, costs about 3.5 TB per copy and catches what embeddings miss.
Layer 6: security and multi-tenancy#
At this scale, permissions are a design layer of their own.
- Tenant is a physical boundary. Separate shards (or at least separate partitions with a mandatory filter) per tenant. No query plan can reach another tenant's data.
- ACLs are stamped at ingest. Every chunk carries the ACL group ids of its source document. The gateway resolves the user to their groups once per session.
- Filter during search, not after. Post-filtering top-k results breaks when the user can see only 1% of a tenant's data: you get zero results back. Filtered-DiskANN builds the graph using label sets so filters apply during traversal, and reports thousands of queries per second at over 90% recall@10 from SSD.
- Permission changes do not re-embed. A changed ACL emits an event that re-labels the affected chunks' metadata. The vectors stay put.
- Deletes reach everything. A delete or a right-to-be-forgotten request writes a tombstone and purges the fresh delta, hot, warm, BM25, archive, the answer cache and any conversation that quoted the document. This list is where real systems leak, usually through a cache.
- PII redaction at ingest for tenants that need it, plus an audit log of who retrieved what.
Layer 7: the query path and its latency budget#
The p95 target is 1.5 seconds to the first streamed token. Here is the budget:
| Step | p95 budget |
|---|---|
| Gateway, auth, ACL resolve | 20 ms |
| Query understanding (rewrite, intent, modality, filters; small LLM, cached) | 120 ms |
| Query embedding in both spaces | 25 ms |
| Parallel fan-out: fresh + hot ANN 30, warm ANN 80, BM25 60, image ANN 80 | 80 ms (the slowest) |
| Fusion and dedupe | 10 ms |
| Rerank 200 → 20 | 150 ms |
| Context assembly (parents, page crops, thumbnails) | 40 ms |
| LLM time to first token | 600 ms |
| Total | ≈ 1,045 ms, leaving 455 ms headroom |
Query understanding does more work in a multimodal system. It rewrites follow-ups using conversation history ("what about last year?" becomes a full question), detects whether the user wants an image ("show me the floor plan"), and pulls structured filters out of the text (date ranges, document types, a named customer).
Every stage has a deadline. If the warm tier is slow, answer from fresh, hot and BM25 and record the miss in the trace. If the reranker misses its 150 ms, fall back to fusion order. A late perfect answer is worse than an on-time good one, and without deadlines one slow SSD shard sets the p95 for everyone.
A semantic answer cache sits in front of all of it, keyed on the normalized query, the tenant and a hash of the user's ACL groups. Leaving the ACL hash out of the key leaks answers between users. My semantic caching post shows why a plain cosine-similarity threshold is not safe on its own.
Layer 8: fusion and reranking#
Four candidate lists come back: about 1,000 from text ANN (fresh + hot + warm), 500 from BM25 and 300 from image ANN. Their scores are not comparable (cosine similarity, BM25 scores, and a different embedding space), so fuse by rank with Reciprocal Rank Fusion:
RRF(d) = Σ over lists of 1 / (60 + rank of d in that list)
The constant 60 comes from the original paper and works well in practice. After fusion, drop duplicates that share a parent and keep the top 200.
A cross-encoder reranks text candidates and a VLM scores image candidates against the question, keeping the top 20. This is the most expensive retrieval step: 500 QPS × 200 pairs is 80,000 query-document pairs per second, about 80 GPUs at peak. That cost is why fusion comes first.
The context sent to the LLM is about 8 chunks plus up to 4 images (page crops, figures or keyframes), within an 8,000-token budget. My hybrid search and reranking post has runnable code for this stage on a small corpus.
Layer 9: generation, citations and guardrails#
Context assembly expands each winning chunk to its parent section, attaches the image crops, and orders them so the strongest evidence sits at the start and the end of the context.
Before generation, an evidence check asks whether the top results support an answer at all. When the best rerank scores are low, the system says it could not find the answer and shows the closest sources. The check is cheap, and it stops the model from writing a fluent answer on top of irrelevant context.
Retrieved text is untrusted input. A wiki page can contain "ignore previous instructions". A prompt-injection filter runs on retrieved chunks, and the system prompt treats all context as data.
The multimodal LLM answers with citations in a fixed format: [doc, page, bbox] for documents and [doc, t_start–t_end] for recordings. A citation verifier checks that every claim maps to a cited chunk; claims with no support are dropped or regenerated. An output check catches PII the user should not see. The answer streams over server-sent events and is stored in the cache.
Route models by difficulty. Generation dominates running cost: about $6.2M a month with a frontier model at this load, against about $0.31M with a small model. An LLM gateway sends most questions to the small model and escalates long, multi-document or low-confidence ones to the large model. The gateway also handles per-tenant quotas, rate limits and provider fallbacks.
Layer 10: freshness and model upgrades#
Freshness. Change events flow through the FRESH lane into the fresh delta index, searchable in under 5 minutes. Each night the delta merges into hot; each week, access statistics move documents between hot and warm. FreshDiskANN shows graph indexes can take thousands of real-time inserts and deletes per second while keeping over 95% 5-recall@5, at 5–10x lower cost than periodic rebuilds.
Embedding model upgrades are blue/green. You cannot mix vectors from two models in one index. To move to a new model:
- Re-embed from the archive's parsed elements in the BACKFILL lane into a new index (about 18,000 GPU-hours for both spaces: about 2.6 days on the 288-GPU backfill pool, longer if it only gets spare capacity).
- Shadow-query the new index with real traffic; users still see results from the old one.
- Run the eval gate: recall@20 on the golden set and answer faithfulness, per tenant and per modality.
- Flip the router if it passes, keep the old index for 7 days for rollback, then delete it.
Layer 11: evaluation and observability#
Offline, keep golden question sets per tenant and per modality (a table question, a chart question, a scanned-page question, a meeting-recording question). Track recall@20, nDCG@10, citation correctness and answer faithfulness. My RAG evaluation pipeline post builds this with runnable code.
Online, collect thumbs up/down, clicks on citations and reformulation rate (the user asks the same thing again in different words). Failed and reformulated questions feed new golden examples.
Trace every request through every stage with timings and candidate counts, so a bad answer can be traced to "warm shard 112 timed out" or "the table was split across two chunks".
Dashboards and alerts cover ingest lag per lane, dead-letter queue size, p95 per shard, cache hit rate, GPU utilisation and cost per query. This eval gate is the one that approves the blue/green flip in Layer 10.
Failure modes to bring up in an interview#
| Failure | What it looks like | Fix |
|---|---|---|
| Scanned page parsed as empty text | Answers ignore half a contract | Per-page text-layer check, route to OCR |
| Table split across chunks | Numbers attributed to the wrong row | Table-aware chunking, Markdown + summary |
| Post-filtered ACLs | Zero results for users with narrow access | Filtered graph search, tenant partitions |
| Cache key without ACL hash | User B sees an answer built from user A's files | Key on tenant + ACL hash |
| Delete misses a copy | Deleted document still cited | Tombstone fan-out to every store and cache |
| Mixed embedding versions | Recall drops after a partial upgrade | Blue/green index per model version |
| One slow shard | p95 spikes for every query | Per-stage deadlines, partial results |
| Backfill starves fresh edits | Today's changes take days to appear | Separate FRESH and BACKFILL lanes |
| Generation cost explodes | Bill grows faster than usage | Model routing, semantic cache, context budget |
How I would present this in 45 minutes#
- Requirements and questions (5 min): mix, freshness, citations, tenants, budget.
- Napkin math (5 min): 1B documents → 10.5B vectors, 40 TB float32, why RAM-only fails, where the money goes.
- Big picture (5 min): write path, read path, shared indexes.
- Deep dive one: ingestion (10 min): per-page routing, OCR, tables, figures, ASR, data model.
- Deep dive two: index and query (10 min): tiers, sharding, ACL filtering, latency budget, fusion and reranking.
- Operations (10 min): freshness, blue/green upgrades, evaluation, failure modes, cost levers.
Pick the deep dives the interviewer cares about. If they work on search infrastructure, spend longer on tiers and filtered ANN; if they work on document AI, spend it on parsing.
Run the numbers yourself#
Every number in this post comes from one standard-library Python script. Change the assumptions at the top and run it:
python3 rag_capacity.py
Download rag_capacity.py. The core of it is short:
import math
DOCS = 1_000_000_000
MIX = {"text": 0.70, "pdf": 0.20, "image": 0.08, "av": 0.02}
text, pdf, img, av = (DOCS * MIX[k] for k in ("text", "pdf", "image", "av"))
pages = pdf * 12
videos = av * 0.5 # assume half of audio/video files are video
text_vectors = (text * 4 # 4 chunks per text doc
+ pages # 1 text chunk per PDF page
+ pages * 0.4 # tables: markdown + summary
+ pages * 0.3 # figure captions
+ img # image captions / OCR
+ av * 6 # transcript chunks
+ videos * 10) # keyframe captions
image_vectors = pages + pages * 0.3 + img + videos * 10
def tb(n_bytes):
return f"{n_bytes / 1e12:,.2f} TB"
print(f"text vectors {text_vectors / 1e9:.2f} B (1024-d)")
print(f"image vectors {image_vectors / 1e9:.2f} B (768-d)")
for name, bytes_per_dim in (("float32", 4), ("float16", 2), ("int8", 1), ("binary", 1 / 8)):
total = text_vectors * 1024 * bytes_per_dim + image_vectors * 768 * bytes_per_dim
print(f"{name:8} {tb(total)}")
print(f"pq-64B {tb((text_vectors + image_vectors) * 64)}")
hot = 0.10 * (text_vectors + image_vectors)
warm = 0.90 * (text_vectors + image_vectors)
print(f"hot shards {math.ceil(hot / 20e6)} x 3 copies, warm shards {math.ceil(warm / 50e6)} x 3 copies")
Output:
text vectors 7.18 B (1024-d)
image vectors 3.30 B (768-d)
float32 39.55 TB
float16 19.77 TB
int8 9.89 TB
binary 1.24 TB
pq-64B 0.67 TB
hot shards 53 x 3 copies, warm shards 189 x 3 copies
Try halving the hot-tier share, switching warm to binary codes, or assuming every audio file is a video. The tier sizes and node counts shift in ways that are hard to guess, which is the reason to run it.
Sources#
- Subramanya et al., DiskANN, NeurIPS 2019
- Singh et al., FreshDiskANN, 2021
- Gollapudi et al., Filtered-DiskANN, WWW 2023
- Chen et al., SPANN, NeurIPS 2021
- Malkov and Yashunin, HNSW
- Simhadri et al., NeurIPS'21 billion-scale ANN challenge results and NeurIPS'23 Big ANN results
- FAISS wiki: indexing 1G vectors
- Milvus on-disk index (DiskANN)
- Vespa: billion-scale vector search
- turbopuffer architecture
- Hugging Face: embedding quantization
- Kusupati et al., Matryoshka Representation Learning
- Faysse et al., ColPali; Khattab and Zaharia, ColBERT
- Docling technical report; Radford et al., Whisper
- Cormack et al., Reciprocal Rank Fusion, SIGIR 2009
- Anthropic, Contextual Retrieval
- Pricing: OpenAI, Google Document AI, Claude (checked 26 Nov 2026)