Self-hosted alternatives to PDF.ai

2 open options that can take over part of what PDF.ai does, on a machine you control. Each one lists the memory it needs, how it is installed, what the licence allows and what you give up. Set your seats and hardware to see the cost next to the subscription. Checked 23 Nov 2026.

Your situation

PDF.aipaid plans from $49 a month · change tool
Graphics memory decides what runs. On a Mac the shared memory plays that role.
Drives the electricity and rented-GPU figures. A shared team server is often on all day: enter 24.
Options shown2open models and apps
Run without a graphics card—of those shown
Subscription today—

AnythingLLM

App Document chat and search Commercial use allowed
Mintplex Labs · latest release 1.20.0, Nov 2026

Desktop and Docker app for chatting with your documents, with workspaces, agents, a built-in vector database and a built-in local model engine.

Covers about 75% of what PDF.ai is used for
Hardware

8 GB graphics memory minimum, 12 GB comfortable · Mac with 16 GB memory

The desktop docs give 16 GB RAM and an 8-core CPU as the basic minimum, call 8 to 12 GB of VRAM a good fit on Windows, and say any M-series Mac works. The Docker server alone needs 2 GB RAM, a 2-core CPU with AVX2 and 5 GB disk. Disk figure adds one mid-size model: Gemma 4 12B, 4-bit GGUF, 8.0 GB file. The sources state no speed.
Setup

Desktop installer

Install the desktop app for one person, or run the Docker image for a multi-user server.Needs: Its built-in local model engine, or Ollama, A mid-size chat model such as Gemma 4 12B
Licence

MIT

Strong at

Document chat works after install with a built-in embedder, vector store and local model engine.

What you give up

The desktop app is single-user (accounts, white-labelling and the embed widget are in the Docker version only), and answers from a local model are less reliable than hosted tools on frontier models.

RAGFlow 1.0.0

App Document chat and search Commercial use allowed
InfiniFlow · released Nov 2026

Self-hosted RAG engine that parses complex documents, builds a searchable knowledge base and answers questions with agents on top.

Covers about 75% of what PDF.ai is used for
Hardware

10 GB graphics memory minimum, 20 GB comfortable

RAGFlow's recommended starting configuration is 4 CPU cores, 16 GB RAM and 50 GB disk, before any local model. The README says macOS is not currently supported for the Docker deployment. Model figures are for a mid-size model served by Ollama: Gemma 4 12B, 4-bit GGUF, 8.0 GB file, about 10 GB memory. Recommended figure is Gemma 4 26B, 4-bit, 18 GB file, about 20 GB. The sources state no speed. Disk is RAGFlow's 50 GB plus the model file.
Setup

Container

Clone the repository, check out the release tag and start it with Docker Compose, then add an LLM, an embedding model and a reranker in the web interface.Needs: Ollama or another model runner, A mid-size chat model such as Gemma 4 12B, An embedding model
Licence

Apache-2.0

Strong at

Built around parsing complex documents before retrieval, under a plain Apache-2.0 licence.

What you give up

It is heavier to run than a hosted PDF chat tool (16 GB RAM, several services, no macOS support), and answer quality depends on the local model you attach.

See all 94 self-hosted options · Hosted alternatives to PDF.ai

What the hardware costs

The cost lines above use this table. Purchase prices run from the maker's list price to the highest shop listing seen, and for graphics cards they cover the card alone, not the rest of the computer. Shop prices for graphics cards currently sit well above list. Power is the maker's maximum draw, so electricity figures are an upper bound. Rental is the lowest on-demand hourly price found on the providers' own pricing pages, checked 23 Nov 2026.

HardwareMemoryTo buyMax powerTo rent
Ordinary laptop with 16 GB of memory and no separate graphics card14-inch business laptop with an Intel Core Ultra 5 and 16 GB RAM, 14-inch laptop with an Intel Core i7 H-series and 16 GB RAM 16 GB $780 to $1,620 37 W —
Desktop with an 8 GB graphics cardGeForce RTX 5060 (8 GB), GeForce RTX 5050 (8 GB), Radeon RX 9060 XT (8 GB) 8 GB $249 to $620 145 W from $0.12/hSaladCloud
Desktop with a 12 GB graphics cardGeForce RTX 5070 (12 GB), Arc B580 (12 GB) 12 GB $549 to $940 250 W from $0.17/hSaladCloud, 1 more checked
Desktop with a 16 GB graphics cardGeForce RTX 5060 Ti (16 GB), GeForce RTX 5070 Ti (16 GB), GeForce RTX 5080 (16 GB) 16 GB $349 to $2,155 300 W from $0.15/hHyperstack, 5 more checked
Desktop with a 24 GB graphics cardRTX PRO 4000 Blackwell (24 GB, workstation card), GeForce RTX 4090 (24 GB, previous generation), Radeon RX 7900 XTX (24 GB, previous generation) 24 GB $3,397 to $5,535 450 W from $0.27/hRunpod, 9 more checked
Desktop with a 32 GB graphics cardGeForce RTX 5090 (32 GB), RTX PRO 4500 Blackwell (32 GB, workstation card) 32 GB $1,999 to $7,329 575 W from $0.60/hSaladCloud, 2 more checked
Workstation with a 48 GB graphics cardRTX PRO 5000 Blackwell (48 GB), RTX 6000 Ada Generation (48 GB) 48 GB $8,669 to $9,085 300 W from $0.35/hThunder Compute, 9 more checked
Server with an 80 GB data-centre cardNVIDIA H100 (80 GB), NVIDIA A100 (80 GB) 80 GB $27,295 350 W from $1.09/hThunder Compute, 17 more checked
Two or more large cards in one machine (about 96 to 192 GB in total)2x NVIDIA H100 or A100 (160 GB in total), 2x RTX PRO 5000 Blackwell (96 GB in total), 2x RTX PRO 6000 Blackwell (192 GB in total) 160 GB $18,170 to $34,318 600 W from $3.20/hKoyeb, 4 more checked
Mac with 16 GB unified memoryMac mini (M6), MacBook Air 13-inch (M5), MacBook Air 15-inch (M5) 16 GB $899 to $1,499 70 W —
Mac with 32 GB unified memoryMac mini (M6), MacBook Air 13-inch (M5), MacBook Pro 14-inch (M6) 32 GB $1,499 to $2,399 70 W —
Mac with 64 GB unified memoryMac mini (M5 Pro), Mac Studio (M5 Max), MacBook Pro 14-inch (M5 Pro) 64 GB $2,699 to $3,799 145 W —
Mac with 128 GB unified memoryMac Studio (M5 Max), MacBook Pro 14-inch (M5 Max) 128 GB $5,099 to $6,699 200 W —

Before you switch

When does running it yourself pay off?

When the hardware is already on the desk, when several people share one machine, or when the data may not leave the building. For one person with no suitable hardware, a subscription usually costs less than renting a graphics card by the hour.

What does "covers about 70%" mean?

It is an editorial estimate of how much of the paid tool's everyday job the open option can take over for a typical user. It is not a benchmark score. The "what you give up" line says where the missing part is.

Why does the licence matter?

Open weights are not always free for business use. Some models are released for research or personal use only, and some apps keep team features in a paid edition. Tick "commercial work" to hide the ones that do not allow it, and read the licence before building on the ones marked "with conditions".

Is there a middle route?

Yes. Many open language models are also sold per token by inference providers. Nothing has to be installed, the model is the same, and the bill follows usage. Where that exists, the cost lines show it next to the other routes, and the token cost calculator compares those providers.

How were the hardware figures chosen?

From the maker's model card or documentation, or from the size of the published build named in each entry. "Minimum" gives usable results; "comfortable" is what the entry needs to run at good quality and speed.