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 Dec 6, 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.
Data & compliance: does PrivateGPT phone home?
| Telemetry (usage data sent to the vendor) | Not documented |
|---|---|
| Other calls home by default (updates, marketplaces, default cloud services) | Not documented |
| Single sign-on (OIDC / SAML / LDAP) | Paid / enterprise only By protocol: LDAP paid. LDAP/Active Directory integration is offered in Zylon, the commercial platform built on PrivateGPT. |
| Audit log | Paid / enterprise only SIEM audit logs are a Zylon (commercial) feature. |
| Role-based access control (RBAC) | Paid / enterprise only RBAC user management is a Zylon (commercial) feature. |
| Data residency / GDPR notes from the project | Not documented |
Checked against the project's own docs and repository on . "Not documented" means we could not find the answer in official sources; it does not mean the feature is missing or that no data is sent. Third-party services you connect (model APIs, vector databases, search engines) have their own data policies. Compare all apps.
What hardware does PrivateGPT need?
The project does not publish a minimum CPU/RAM figure, so we leave the official value 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
- AFFiNE Notion- and Miro-style workspace (docs, whiteboards, databases) with built-in AI, self-hostable with Docker. Compare AFFiNE vs PrivateGPT
- AppFlowy Open-source Notion-style AI workspace (docs, databases, boards) with desktop apps and a self-hosted cloud server. Compare AppFlowy vs PrivateGPT
- AnythingLLM All-in-one private chat with your documents, agents and an embeddable widget. Compare AnythingLLM vs PrivateGPT
- Open Notebook Private, self-hosted alternative to Google NotebookLM with your choice of AI models. Compare Open Notebook vs PrivateGPT
- LightRAG Graph-based RAG server that builds a knowledge graph from your documents, with a web UI and REST API. Compare LightRAG vs PrivateGPT
- WeKnora Tencent's open-source knowledge-base and agent platform with document parsing, RAG and team workspaces. Compare PrivateGPT vs WeKnora
- Langchain-Chatchat Chinese-first local knowledge-base Q&A and agent app built on LangChain, wired to local model servers. Compare Langchain-Chatchat vs PrivateGPT
- Onyx (formerly Danswer) AI chat and enterprise search connected to 50+ workplace apps. Compare Onyx (formerly Danswer) vs PrivateGPT
- Karakeep Self-hosted bookmark and read-later app (formerly Hoarder) with AI tagging, summaries and full-text search. Compare Karakeep vs PrivateGPT
- FastGPT Knowledge-base Q&A and visual AI workflow platform. Compare FastGPT vs PrivateGPT
- kotaemon Open-source RAG web app for chatting with your documents, with citations and GraphRAG. Compare kotaemon vs PrivateGPT
- MaxKB Enterprise knowledge-base and agent platform with RAG and workflows. Compare MaxKB vs PrivateGPT
- LocalGPT Chat with your documents through a local RAG stack that talks to Ollama. Compare LocalGPT vs PrivateGPT
- Linkwarden Collaborative bookmark preservation with configurable AI tagging. Compare Linkwarden vs PrivateGPT
- DocsGPT Open-source platform for AI agents and assistants that answer from your documents with sources. Compare DocsGPT vs PrivateGPT
- QAnything Local knowledge-base Q&A over many file types, with hybrid search and cited answers, started with one Docker Compose command. Compare PrivateGPT vs QAnything
- R2R Production RAG platform with a REST API, hybrid search, knowledge graphs and an agentic Deep Research mode. Compare PrivateGPT vs R2R
- OpenAgent Self-hosted AI assistant with RAG, agent tools, SSO and an admin UI, shipped as a single binary. Compare OpenAgent vs PrivateGPT
- PipesHub Self-hosted workplace search and AI answers across 50+ connected apps, filtered by each user's permissions. Compare PipesHub vs PrivateGPT
- Morphik Core Multimodal document retrieval engine for RAG over PDFs, images and visually rich files, with an API, SDKs and MCP. Compare Morphik Core 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: Dec 3, 2026. Latest release: v1.0.1 (Jun 18, 2026). Checked Dec 6, 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, AFFiNE, AppFlowy, AnythingLLM, Open Notebook, LightRAG, WeKnora, Langchain-Chatchat, Onyx (formerly Danswer), Karakeep, FastGPT, kotaemon, MaxKB, LocalGPT, Linkwarden, DocsGPT, QAnything, R2R, OpenAgent, PipesHub, Morphik Core.
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.