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

SiYuan

Privacy-first, self-hosted block-based knowledge base with built-in AI writing and Q&A via your own API key.

Website Source code

Category:
Writing Tools
Pricing:
Open Source
Open source:
Yes (AGPL-3.0)
Self-hostable:
Yes
Local-first:
No
Platforms:
Desktop, Mobile, Self-hosted, Web, Docker
AI providers (bring your own key):
OpenAI, Azure OpenAI, Custom / OpenAI-compatible
API key storage:
Stored locally on device
Key risk level:
LOW
Trust score:
85/100

SiYuan is an open-source, privacy-first personal knowledge management application built around block-level editing, bidirectional links, databases, and spaced-repetition flashcards. It runs fully self-hosted (desktop, mobile, and Docker/web) with local-first data storage. Its built-in AI writing and Q&A features (writing continuation, translation, grammar correction, chat) are powered by the end user's own credentials: Settings → AI lets you choose an API Provider (OpenAI or Azure), and enter your own API Key, API Base URL ("the URL of the OpenAI-compatible API"), and API Model. Because the base URL is user-configurable, any OpenAI-compatible endpoint works (DeepSeek, OpenRouter, local/self-hosted models via a compatible gateway, etc.).

How your API key is handled

Your API key is stored locally on your device. 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

Open settings, paste your provider API key, choose a model, and start — the key stays on your device.