When teams analyze multi-document collections—whether auditing a dozen vendor agreements, cross-examining four quarters of balance sheets, or reviewing interdependent software libraries—standard large language models hit a frustrating wall. They either truncate the input or rely on traditional Retrieval-Augmented Generation (RAG). Traditional RAG dices files into disconnected 500-token chunks, vectorizes them, and guesses which snippets matter. That setup answers simple factual lookups well enough. But when you ask an AI to pinpoint conflicting indemnity clauses across three contracts or track how revenue definitions evolved between 2023 and 2025, naive RAG falls apart. The connective tissue across documents is lost.
Kimi, developed by Moonshot AI, takes a radically different route. Rather than slicing files into isolated fragments, Kimi relies on an ultra-long context window capable of ingesting up to 2 million characters (and upwards of 1 million tokens in its advanced model configurations). At 365Finds, our commercial analysis focuses on how this shift from external retrieval to native in-context attention changes multi-document analysis in practice.
1. How the Ingestion Pipeline Operates
Kimi does not treat multi-document uploads as an opaque binary blob. When you drop files into Kimi's chat interface or call Moonshot AI's Files API using purpose="file-extract", the system processes files through a dedicated structural parsing engine before the model computes attention.
+-------------------------------------------------------------+
| Multi-Document Ingestion: PDF, DOCX, XLSX, CSV, Code, PPTX |
+-------------------------------------------------------------+
|
v
+-------------------------------------------------------------+
| Server-Side Structural Extraction |
| - Strips styling, layout wrappers, and raw formatting |
| - Reconstructs nested tables, lists, and code blocks |
| - Standardizes heterogenous inputs into unified Markdown |
+-------------------------------------------------------------+
|
v
+-------------------------------------------------------------+
| Full-Context In-Memory Attention (Up to 2M Characters) |
| - Entire document set injected into active prompt context |
| - Global attention calculates cross-document relationships |
| - Mooncake KV caching reuses prefill state for fast turns |
+-------------------------------------------------------------+
Supported Formats and Ingestion Limits
- Document Types:
.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.txt,.csv,.epub. - Technical Formats:
.json,.yaml,.log, and dozens of source code formats (.py,.js,.ts,.go,.cpp,.java). - File Sizing: Moonshot AI permits individual files up to 100 MiB. On consumer web interfaces, users can batch upload up to dozens of files in a single session, constrained by overall context token bounds rather than arbitrary file-count ceilings.
- Text Normalization: Extracted contents are normalized into Markdown syntax. Tabular data from Excel spreadsheets or PDF financial exhibits is transformed into structured Markdown grids, ensuring row and column relationships survive ingestion.
Images and non-OCR scanned documents do not run through the standard text-extraction endpoint; Kimi handles visual materials through separate multimodal vision parameters.
2. In-Context Attention vs. Chunk-Based RAG
The core architectural divergence between Kimi and conventional RAG architectures lies in where cross-document reasoning happens.
| Dimension | Conventional Vector RAG | Kimi Long-Context Processing |
|---|---|---|
| Document Representation | Split into arbitrary chunks (300–800 tokens) | Ingested in its entirety as continuous text |
| Information Retrieval | Cosine similarity against vector embeddings | Direct attention spanning the entire document set |
| Cross-Document Synthesis | Weak; misses relationships between distant sections | Native; tokens in Document A attend directly to Document B |
| Table and Sequence Handling | Broken across chunk boundaries | Preserved within full document flow |
| Computational Bottleneck | Vector database indexing and embedding drift | Memory footprint and initial prefill processing |
When you supply three competing supplier proposals to a standard RAG system and ask, "Which vendor offers the most favorable termination terms when factoring in equipment depreciation?", the vector retrieval engine searches for "termination" and "depreciation." If those concepts sit in separate exhibits across forty pages, the system retrieves disconnected snippets and hallucinates the link.
Kimi loads all three proposals into its shared attention window. Because every token can attend to every other token, the model evaluates how the indemnity clause in File 1 interacts with the penalty structure in File 2 without relying on heuristic search guesses. 365Finds considers this direct-attention architecture indispensable for deep analytical workloads.
3. Serving Efficiency: The Role of Mooncake and KV Caching
Feeding millions of tokens into an autoregressive transformer creates an immense computational bottleneck. Processing the initial prompt (the "prefill" phase) across 500,000 words requires significant compute. If Kimi had to recompute that attention matrix on every single follow-up question, multi-turn analysis would be prohibitively slow and expensive.
Moonshot AI addresses this using an infrastructure architecture known as Mooncake:
- Prefill-Decode Disaggregation: The compute-heavy prefill stage is separated from the lighter token generation stage, running on specialized node clusters.
- Prefix KV Caching: Once your batch of documents is uploaded and parsed, the key-value (KV) attention states are cached in memory hierarchies.
- Sub-Second Follow-Ups: When you ask your second, third, or tenth question about those same documents, Kimi skips re-processing the files. It simply reads the existing cache and begins generating answers within seconds.
For commercial teams working through marathon research sessions, this caching behavior transforms Kimi from a one-off document reader into an interactive research partner.
4. Practical Workflow: Getting Accurate Multi-Document Synthesis
Having a 2-million-character window does not mean you should throw files at Kimi without structure. The quality of Kimi's analysis depends heavily on prompt construction. At 365Finds, we recommend four concrete operational rules when running multi-document jobs:
Step 1: Establish Document Identity Explicitly
Do not let the model guess file boundaries. When referencing multiple files, label them in your instruction prompt:
I have uploaded three regulatory filings:
- Document 1: 2023 Form 10-K (Annual Filing)
- Document 2: 2024 Form 10-K (Annual Filing)
- Document 3: 2025 Auditor Opinion Memo
Analyze these documents jointly according to the following instructions.
Step 2: Demand Structured Comparison Grids
Unstructured prompts like "compare these files" invite narrative vagueness. Force Kimi into tabular synthesis:
Construct a Markdown comparison table contrasting:
1. Revenue recognition criteria
2. Warranty reserve methodology
3. Disclosed legal contingent liabilities
Include a column citing the specific document name and section title for each finding.
Step 3: Implement Negative Constraints Against Hallucination
Even long-context models can extrapolate when asked to bridge gaps. Mitigate this by setting hard boundaries:
If a topic is addressed in Document 1 but omitted in Document 2, explicitly state "Not Disclosed in Document 2" rather than inferring continuity. Do not extrapolate metrics not explicitly printed in the text.
Step 4: Iterative Drill-Down
Start with a high-level cross-file inventory, verify that Kimi has captured the scope of all uploaded materials, and then run targeted investigative questions against specific provisions.
5. Where Kimi Falls Short: The 365Finds Reality Check
365Finds rejects the notion that a multi-million-token context solves all analytical problems. Our evaluation highlights distinct friction points:
- Context Saturation and "Needle" Blindspots: While Kimi handles long context exceptionally well compared to peers, no model achieves flawless retrieval when processing 1.5 million dense characters. Obscure footnotes buried in the exact middle of an eighty-page appendix can still be overlooked if your prompt is unfocused.
- Scanned and Low-Fidelity Files: If your PDF is an un-OCRed scan or contains heavily degraded typography, Kimi's text-extraction pipeline will fail or output corrupted garble. You must verify that your source documents have a readable text layer.
- Vague Prompting Penalties: With small context models, asking "What does this mean?" might return a concise summary because of token limits. With Kimi, asking a lazy question across ten multi-megabyte files yields an unfocused, ten-paragraph generic summary. Long context demands precise questions.
- Data Sovereignty: Uploading proprietary commercial contracts or confidential financial data requires compliance awareness. Moonshot AI's consumer terms and enterprise API tiers have differing data retention policies that legal teams must evaluate prior to enterprise deployment.
Summary Evaluation
For multi-document analysis, Kimi changes the paradigm from retrieval approximation to direct comprehension. By pairing automated structural extraction with massive in-memory attention windows and efficient KV caching, Kimi allows researchers, analysts, and developers to interrogate complex document sets without the structural blindness of traditional vector RAG.