PDF-GPT
PDF-GPT is an open-source application for asking questions about PDF contents with GPT functionality.
What PDF-GPT is
PDF-GPT is an open-source application for asking questions about PDF contents with GPT functionality. Users provide a document by uploading it or entering a PDF URL. The app divides the document into smaller sections, creates embeddings with a Deep Averaging Network Encoder, and searches those embeddings semantically. Its documented retrieval flow selects the top five chunks with KNN before sending relevant material to OpenAI for answer generation. Answers can include the source PDF page number in square brackets. The project describes a local Gradio playground at localhost:7860, an API exposed through langchain-serve with ask_url and ask_file endpoints, Docker Compose deployment, and Jina Cloud deployment. Sample requests pass an OPENAI_API_KEY through environment variables. The Universal Sentence Encoder download is 915 MB when fetched at runtime. PDF-GPT is MIT licensed, and its maintainer seeks voluntary contributors for backlog work.
Good
- Accepts uploads or PDF URLs
- Semantic search targets relevant passages
- Answers can include page numbers
- Offers local Gradio and API use
- MIT licensed open source
Watch out
- Requires an OpenAI API key
- Runtime encoder download is 915 MB
- Maintenance depends on voluntary contributors
Who it suits
It suits users who want conversational PDF queries with page references. Developers can run the local playground, API, Docker setup, or self-hosted deployment.
Verdict
PDF-GPT focuses on question answering over PDF content, with semantic retrieval and optional page citations. Its setup involves OpenAI credentials and a sizable encoder download when fetched at runtime.
The facts
Each one read from PDF-GPT's own pages, with the date it was checked.
What it does
- Answers and citations
- It searches for relevant PDF content and can return answers with the source page number in square brackets.checked 11 Oct 2026
- API
- The README documents production API deployment using langchain-serve, with endpoints for asking questions about a PDF URL or uploaded PDF file.checked 11 Oct 2026
- API key
- The sample API requests pass an OPENAI_API_KEY in the request environment variables.checked 4 Oct 2026
- Deployment
- The repository includes Docker instructions and a Docker Compose command for running the application.checked 11 Oct 2026
- Document processing
- The app splits documents into smaller chunks and creates embeddings with a Deep Averaging Network Encoder.checked 11 Oct 2026
- Encoder download
- The README says the Universal Sentence Encoder download is 915 MB if fetched at runtime.checked 4 Oct 2026
- Input methods
- The documented workflow accepts a PDF upload or a PDF URL.checked 11 Oct 2026
- Input options
- The documented workflow accepts an uploaded PDF or a PDF URL.checked 4 Oct 2026
- Integrations
- The README names OpenAI, LangChain Serve, Jina Cloud, and Universal Sentence Encoder in its setup and deployment instructions.checked 11 Oct 2026
- License
- The project is licensed under MIT; the license file credits Bhaskar Tripathi with the 2023 copyright.checked 11 Oct 2026
- Local use
- The README describes running a local Gradio playground at localhost:7860.checked 11 Oct 2026
- Notable setup detail
- The README says downloading the Universal Sentence Encoder locally avoids downloading 915 MB at runtime each time.checked 11 Oct 2026
- Page citations
- Answers can include the PDF page number in square brackets.checked 4 Oct 2026
- PDF chat
- PDF-GPT lets users chat with an uploaded PDF using GPT functionality.checked 4 Oct 2026
- Purpose
- PDF-GPT lets users chat with the contents of a PDF using GPT capabilities.checked 11 Oct 2026
- Requirements
- The documented question workflow supplies an OpenAI API key through an environment variable.checked 11 Oct 2026
- Retrieval limit
- The documented flow retrieves the top five chunks with KNN before generating an answer.checked 4 Oct 2026
- Security and compliance
- The repository page does not state security certifications or compliance standards.checked 11 Oct 2026
- Semantic search
- It searches PDF content semantically and sends the most relevant embeddings to OpenAI.checked 4 Oct 2026
- Support and maintenance
- The README says the maintainer is seeking open-source contributors to take backlog items and jointly maintain the application.checked 11 Oct 2026
Where it runs
- Maintainer appeal
- The README says the maintainer is seeking open-source contributors to help maintain the application and take backlog items voluntarily.checked 4 Oct 2026
Alternatives to PDF-GPT
- 1

ChatPDF
Free planAndroidiOSWebAPI8.2From $89.99 a year - 2

AskYourPDF
Free planAndroidiOSWebAPI8.1From $11.99 a month - 3

Audeus
Free planAndroidiOSWebExtension7.9From $9.92 a month - 4
Paperpal
Free planWebExtensionmacOSWindows7.9From $139 a year - 5

PDF.chat
Free planWebAPI7.4From $48 a year - 6

Anara
Free planiOSWebExtensionmacOS7.0Free plan
