BYOAIK — Bring Your Own AI Key: a directory of AI tools that run on your own API key.

PrivateGPT

Privacy-first RAG app to ingest and query your documents using local or remote LLMs, fully offline-capable.

Website Source code

Category:
Document Analysis
Pricing:
Open Source
Open source:
Yes (Apache-2.0)
Self-hostable:
Yes
Local-first:
Yes
Platforms:
Self-hosted, Web, Library/SDK, CLI, Docker
AI providers (bring your own key):
OpenAI, Azure OpenAI, Google Gemini, Ollama, Custom / OpenAI-compatible
API key storage:
Configured by environment variable
Key risk level:
LOW
Trust score:
90/100

PrivateGPT is an Apache-2.0, source-available project (by Zylon) for ingesting documents and asking questions over them via RAG, with a focus on privacy and 100% offline operation. It exposes both a UI and an OpenAI-compatible API. Beyond fully local inference (Ollama, llama.cpp, vLLM, LocalAI), it supports bring-your-own-key configuration through multiple LLM modes selected in settings.yaml / env vars: `openai` (OpenAI key), `openailike` (any OpenAI-compatible endpoint with configurable api_base + api_key, e.g. LM Studio, vLLM, remote proxies), `azopenai` (Azure OpenAI endpoint + key), `gemini` (Google Gemini API key), and `sagemaker`. Users set their own api_key and api_base, so any remote OpenAI-compatible provider can be plugged in. Very popular (~57k stars) and actively maintained (v1.0.1 released June 2026).

How your API key is handled

Your API key is supplied via an environment variable or local config file. Requests are sent directly to the AI provider. Because it can be self-hosted, your key never has to touch a third-party backend.

Setup

Install the tool, set your provider API key as an environment variable (or in its config file), and pick a model.