# PageIndex

> PageIndex is an open-source AI tool for files and documents. Vectorless RAG engine that finds answers by reasoning over a document's page tree. It is available on API, self-hosted and Web.

- **Kind:** Tool
- **Pricing:** Open source
- **Platforms:** API, self-hosted, Web
- **Website:** https://pageindex.ai
- **Repository:** https://github.com/vectifyai/pageindex
- **GitHub stars:** 40,452
- **License:** MIT
- **Categories:** files and documents, knowledge and memory
- **Listing updated:** 2026-11-14

## About

Where standard retrieval ranks chunks by similarity, PageIndex builds a tree of a long document and lets a model reason through it to the sections that matter. The authors argue that similarity is not the same as relevance on dense professional documents, and say this avoids embeddings, chunking and a vector database. The site claims 98.7% on FinanceBench.

The newest pieces on the site are a Page Search API that finds the relevant pages for a question in about a second so a model reads only those, and a Page Extract API that fills a JSON Schema from a PDF. The project reports up to 97% lower token cost for the search API. A File System layer extends the tree across a whole corpus.

The Python SDK has local mode, using your own LLM key, and cloud mode, and the code is MIT licensed.

## Features

- **Tree-based indexing:** Builds a navigable structure from long documents.
- **Page Search API:** Returns only the pages relevant to a question.
- **Page Extract API:** Pulls fields out of PDFs using a JSON Schema.
- **Local and cloud modes:** SDK runs on your machine or on PageIndex Cloud.
- **Traceable retrieval:** Answers point back to pages in the source.

## Good for

- Answer questions over long financial filings
- Extract holdings tables from PDFs
- Cut LLM token use on document QA
- Index a large collection of reports

## FAQ

### Does it need a vector database?

No, it is described as vectorless.

### Can I run it locally?

Yes, the SDK has a local mode with your own LLM API key.

### What are the headline claims?

98.7% on FinanceBench and 97% lower token cost for Page Search, per the project.

### Is PageIndex free?

Yes. PageIndex is open source, so you can use and self-host it for free.

### What are the best alternatives to PageIndex?

The closest alternatives to PageIndex are graphify, JavaGuide, claude-mem, ragflow and anything-llm.

## Alternatives

- [graphify](https://ai-powered.com/tools/graphify-2): graphify is a freemium AI tool for knowledge and memory.
- [JavaGuide](https://ai-powered.com/tools/javaguide): JavaGuide is a free AI tool for knowledge and memory.
- [claude-mem](https://ai-powered.com/tools/claude-mem): claude-mem is a freemium AI tool for knowledge and memory.
- [ragflow](https://ai-powered.com/tools/ragflow): ragflow is a freemium AI tool for knowledge and memory.
- [anything-llm](https://ai-powered.com/tools/anything-llm): anything-llm is a free AI tool for personal assistants.
- [hindsight](https://ai-powered.com/tools/hindsight): hindsight is an open-source AI tool for knowledge and memory.
- [siyuan](https://ai-powered.com/tools/siyuan): siyuan is an open-source AI tool for knowledge and memory.
- [tidb](https://ai-powered.com/tools/tidb-2): tidb is an open-source AI tool for knowledge and memory.

---
Source: https://ai-powered.com/tools/pageindex
