Open-Source ChatGPT Alternatives and BYOK Tools

Open source BYOK tools give you full transparency into how your data and API keys are handled. You can audit the code, self-host if needed, and contribute improvements. Combined with Bring-Your-Own-Key, open source means maximum control — over costs, privacy, and the software itself.

21 tools, newest first

  • 5ire

    Free, open source · macOS, Windows, Linux · Open source

    Visit

    Free, open-source desktop AI assistant and MCP client that works with your own keys for OpenAI, Claude, Gemini, DeepSeek and more.

    Works with:OpenAIAzure OpenAIAnthropicGoogle Gemini+5 more

  • Aider

    Free, open source · CLI · Open source

    Visit

    AI pair programming in your terminal. Works with your own Anthropic, OpenAI, DeepSeek and other model keys.

    Works with:AnthropicOpenAIDeepSeek

  • big-AGI

    Free; Pro $9/month · Web · Open source

    Visit

    Multi-model AI workspace that runs, compares and merges answers from many providers using your own API keys.

    Works with:OpenAIAnthropicGoogle GeminixAI+14 more

  • Cline

    Free, open source · VS Code, JetBrains, CLI · Open source

    Visit

    Open-source AI coding agent for VS Code, JetBrains and the terminal. Bring your own key, endpoint or local model.

    Works with:AnthropicOpenAIGoogle GeminiOllama+1 more

  • Dify

    Free self-hosted Community Edition; paid cloud plans · Self-hosted, Web · Open source

    Visit

    Open-source platform for building AI workflows, agents and RAG apps with your own model provider keys. Cloud or self-hosted.

    Works with:OpenAIAnthropicGoogle GeminiAzure OpenAI+1 more

  • goose

    Free, open source · macOS, Windows, Linux · Open source

    Visit

    Open-source AI agent for desktop and CLI that automates engineering tasks with any LLM and MCP extensions.

    Works with:AnthropicOpenAIGoogle GeminiOpenRouter+3 more

  • Jan

    Free, open source · macOS, Windows, Linux · Open source

    Visit

    Free, open-source ChatGPT alternative that runs models on your computer or connects to online models with your API key.

    Works with:OpenAIAnthropicGoogle GeminiMistral+2 more

  • Kilo Code

    Free to start, no markup on model usage · VS Code, JetBrains, CLI · Open source

    Visit

    Open-source AI coding agent for VS Code, JetBrains and the CLI. Use 500+ models at zero markup or bring your own keys.

    Works with:AnthropicOpenAIGoogle GeminiOpenRouter+8 more

  • Nanobrowser

    Free, open source · Chrome extension · Open source

    Visit

    Open-source Chrome extension AI agent that browses for you. Keys stay in your browser and go only to their provider.

    Works with:AnthropicOpenAIGoogle GeminiOpenRouter+4 more

  • OpenCode

    Free, open source · CLI, Web · Open source

    Visit

    Open-source AI coding agent for the terminal, desktop and web that works with any model provider or local models.

    Works with:OpenAIAnthropicxAI

  • Open WebUI

    Free to self-host; enterprise plans · Self-hosted, Web · Open source

    Visit

    Self-hosted, open-source AI chat platform for Ollama and any OpenAI-compatible API, including Anthropic and Azure.

    Works with:OllamaOpenAIAnthropicAzure OpenAI

  • SillyTavern

    Free, open source · Self-hosted · Open source

    Visit

    Open-source LLM frontend for power users, popular for role-play and creative writing. Connects to many APIs with your own keys.

    Works with:OpenAIAnthropicGoogle GeminiOpenRouter+3 more

  • LibreChat

    Free, open source · Self-hosted, Web · Open source

    Visit

    Open-source ChatGPT-style interface that brings OpenAI, Anthropic, Google, Bedrock, Mistral, OpenRouter and Ollama into one app.

    Works with:OpenAIAnthropicGoogle GeminiAzure OpenAI+4 more

  • OpenHands

    Free, open source; hosted and enterprise plans · Web, CLI, Self-hosted · Open source

    Visit

    Open-source platform for AI coding agents with a GUI, CLI and SDK. Use any LLM with your own API key or local models.

    Works with:OpenAIAnthropicGoogle GeminiOpenRouter+6 more

  • Zed

    Free editor; paid plans for Zed-hosted AI · macOS, Windows, Linux · Open source

    Visit

    Fast open-source code editor with an AI agent that works with your own Anthropic, OpenAI, Gemini, OpenRouter or local model keys.

    Works with:AnthropicOpenAIGoogle GeminiMistral+5 more

  • Besidka

    Pay only for what you use · Web, Self-hosted · Open source

    Visit

    Open-source, self-hostable AI chat client where you bring your own OpenAI or Google AI Studio API key and pay providers directly with no markup.

    Works with:OpenAIGoogle Gemini

  • Loupe

    Free, open source · Windows · Open source

    Visit

    Open-source Windows AI website builder where agents build the site and you refine it directly on the live, pixel-verified render.

    Works with:OpenAIGoogle GeminixAIOpenRouter

  • Henro

    Open source

    Visit

    Open-source brainstorming canvas that runs in the browser with a user-provided OpenRouter API key.

    Works with:OpenRouter

  • LettuceAI

    Free · macOS, Windows, Linux · Open source

    Visit

    Free open-source AI roleplay app with local-first storage, long-term character memory, and BYOK support for cloud and local providers.

    Works with:OpenRouterAnthropicGoogle GeminiChutes+1 more

  • AICoven

    iOS, macOS, Self-hosted · Open source

    Visit

    Multi-model AI orchestration platform with persistent shared memory, collaborative workspaces, and encrypted BYOK routing with quota-aware fallback.

    Works with:OpenAIAnthropicGoogle GeminiOllama

  • Witsy

    Free, open source · macOS, Windows, Linux · Open source

    Visit

    Open-source desktop AI assistant and universal MCP client for macOS, Windows, and Linux. BYOK app supporting 15+ AI providers including local models via Ollama.

    Works with:OpenAIAnthropicGoogle GeminixAI+8 more