PrivateGPT
API-first private document Q&A that sits on top of your own LLM server.
Quick answer
PrivateGPT is an API-first private document Q&A that sits on top of your own LLM server, listed under Knowledge base & RAG. A typical small-business use: back-end for an internal document assistant where no data may leave the network. The project publishes no official RAM figure, so we do not estimate a monthly server cost. License: Apache-2.0, which allows internal business use.
Last updated · facts verified against official docs on · sources
Activity data comes from GitHub and was last refreshed Oct 22, 2026.
What is PrivateGPT?
PrivateGPT provides an API (with a demo UI) for ingesting files and asking questions about them, using an OpenAI-compatible model server that you run separately, such as Ollama, LM Studio, llama.cpp or vLLM. Developers are expected to build their own apps on the API.
Where it fits in a 10–200 person business
- Back-end for an internal document assistant where no data may leave the network
- Pilot or demo of private document Q&A
- Base for a custom app that needs ingestion and retrieval APIs
These use cases are our editorial suggestions, not claims made by the project.
Can a business use PrivateGPT? (license)
| License | Apache-2.0 |
|---|---|
| Type | Permissive: MIT / Apache-2.0: use, modify and sell with few obligations. |
| Internal business use | Allowed under the license text |
| What to watch | Permissive. Internal and commercial use allowed; keep license and notices. |
This is a plain-English summary of the license text, not legal advice. Third-party models you run with it have their own licenses.
What hardware does PrivateGPT need?
The project does not publish a minimum CPU/RAM figure, so we leave it blank rather than guess.
No official figures for PrivateGPT itself. The model server dominates; the quickstart's example LLM (qwen3.5:35b) is about 24 GB.
How much does it cost to host PrivateGPT per month?
The project publishes no RAM figure we could verify, so we do not estimate a cost.
How to deploy PrivateGPT
Method: uv (Python) or Docker
uv tool install --python 3.11 \
--find-links https://wheels.privategpt.dev/packages/ "private-gpt[core]"
OPENAI_API_BASE=http://localhost:<llm-port>/v1 \
OPENAI_EMBEDDING_API_BASE=http://localhost:<embedding-port>/v1 \
private-gpt serve From the official instructions: github.com/zylon-ai/private-gpt#readme. Always check the source for the current version before you run it.
Known gotchas when self-hosting PrivateGPT
Alternatives in Knowledge base & RAG
- RAGFlow RAG engine with deep document parsing (OCR, layout and tables) and cited answers. Compare PrivateGPT vs RAGFlow
- AnythingLLM All-in-one private chat with your documents, agents and an embeddable widget. Compare AnythingLLM vs PrivateGPT
- Onyx (formerly Danswer) AI chat and enterprise search connected to 50+ workplace apps. Compare Onyx (formerly Danswer) vs PrivateGPT
- FastGPT Knowledge-base Q&A and visual AI workflow platform. Compare FastGPT vs PrivateGPT
- MaxKB Enterprise knowledge-base and agent platform with RAG and workflows. Compare MaxKB vs PrivateGPT
PrivateGPT FAQ
How much RAM does PrivateGPT need?
PrivateGPT does not publish an official RAM figure, so we do not state one. The model server dominates; the quickstart's example LLM (qwen3.5:35b) is about 24 GB.
How much does it cost to self-host PrivateGPT?
The software is free to download. The project publishes no official RAM figure, so we do not estimate a monthly server cost.
Is PrivateGPT free for commercial use?
PrivateGPT is licensed under Apache-2.0 (Permissive). Internal business use is allowed under the license text. Permissive. Internal and commercial use allowed; keep license and notices. This is a summary, not legal advice.
What are common problems when self-hosting PrivateGPT?
Requires a separately running OpenAI-compatible LLM server. PrivateGPT does not run models itself. Ollama has no tokenizer endpoint, so with Ollama PrivateGPT falls back to approximate token counting, which can affect context-window management.
Is PrivateGPT still maintained?
Yes, it is actively developed. Last commit: Oct 20, 2026. Latest release: v1.0.1 (Jun 18, 2026). Checked Oct 22, 2026.
How do I install PrivateGPT?
The official method is uv (Python) or Docker. The exact commands are in the "How to deploy" section above and in the official instructions: https://github.com/zylon-ai/private-gpt#readme
What are self-hosted alternatives to PrivateGPT?
Other apps in Knowledge base & RAG: RAGFlow, AnythingLLM, Onyx (formerly Danswer), FastGPT, MaxKB.
Sources
- GitHub repository: github.com/zylon-ai/private-gpt
- Official documentation, Hardware requirements, Gotcha 2: docs.privategpt.dev/getting-started/quickstart
- License text: github.com/zylon-ai/private-gpt/blob/main/LICENSE
- Deploy instructions, Gotcha 1: github.com/zylon-ai/private-gpt#readme
- Hetzner Cloud pricing (cost estimate): www.hetzner.com/cloud/regular-performance
- GitHub stars, commits and releases: GitHub REST API, fetched
Facts on this page were checked against the project's own repository and docs on 2026-10-22. Spotted something out of date? Tell us.