Compare the best BYOK (bring your own key) AI platforms of 2026: chat UIs, aggregators, mobile and desktop apps and agents, with real prices and fees.
Last updated: October 29, 2026. Prices, fees and features were checked against each vendor’s official pricing pages, documentation and GitHub releases.
BYOK AI (bring your own key) lets you connect your own API keys from OpenAI, Anthropic, Google and other providers to the app of your choice. You pay the provider directly for what you use, instead of paying for another AI subscription.
Choosing the app is the hard part. In 2026, “BYOK” covers team workspaces, open-source chat UIs, web apps you buy once, desktop and mobile clients, API routers, and autonomous agents. They treat your key, your data and your bill very differently.
This guide compares the best BYOK AI platforms in each category, with current prices, platform fees, where each one stores your key, and what to check before you paste a key anywhere.
Disclosure: Grengin is our product. We rank it first for teams because that is what it is built for, and we list its limitations as plainly as everyone else’s.
Best BYOK AI Platforms at a Glance
| If you need… | Best pick | Why |
|---|---|---|
| A BYOK workspace for a team | Grengin | One governed workspace, flat price per team, no markup on AI |
| An aggregator to route API requests | OpenRouter | 600+ models behind one API; BYOK is free up to $25,000/month of usage |
| A self-hosted gateway with no fees | LiteLLM Proxy | Open source, with budgets, fallbacks and virtual keys |
| An open-source ChatGPT alternative | LibreChat | Self-hosted, multi-user, broad provider support |
| Local and cloud models in one UI | Open WebUI | The strongest Ollama and local-model support |
| AI that answers from your documents | AnythingLLM | Built around RAG and document workspaces |
| A polished web chat UI you pay for once | TypingMind | One-time license, keys stay in your browser |
| Comparing many models side by side | Big-AGI | “Beam” sends one prompt to up to 24 models |
| One free app on desktop and phone | Chatbox | Windows, Mac, Linux, iOS, Android and web |
| A general-purpose AI agent | Manus or Zo Computer | Both now accept your own model provider |
| A coding agent | Cline or OpenCode | Free, open source, provider-agnostic |
| Roleplay and character chat | SillyTavern | The default frontend for character cards |
What Is BYOK AI?
BYOK stands for Bring Your Own Key. The “key” is an API key issued by an AI model provider such as OpenAI, Anthropic, Google, Mistral or xAI.
Here is how it works:
- You create an API key in the provider’s console (for example the OpenAI Platform, the Anthropic Console or Google AI Studio).
- You paste the key into a BYOK app.
- The app sends your prompts to the provider using your key.
- The provider bills your account per token. The app charges for its software, or nothing at all.

A BYOK platform lets you:
- Switch between models from different providers in one interface
- Use inexpensive models for routine work and reserve advanced models for hard tasks
- Combine cloud models with locally hosted models
- Monitor usage and set spending limits at the source
- Change providers without rebuilding your workflow
- Avoid paying a markup on top of model prices
BYOK is not automatically cheaper. Large documents, long conversations and agents that run continuously can push usage-based costs up quickly. The main benefit is control, flexibility and model choice. We cover the cost question further down.
What are BYOK AI models?
There is no special class of “BYOK models.” A BYOK AI model is any model you reach through your own provider account. That includes GPT and GPT Image models from OpenAI, Claude from Anthropic, Gemini from Google, Mistral’s models, Grok from xAI, and open-weight models such as Llama, Qwen, Kimi or DeepSeek served by Groq, Cerebras, Together AI, Fireworks or OpenRouter.
What you can use depends on your provider account, not on the app:
- Your usage tier sets your rate limits.
- Some models need extra steps. For example, OpenAI may ask your organization to complete API Organization Verification before its GPT Image models work with your key.
- Consumer plans are separate. A ChatGPT Plus or Claude Pro subscription doesn’t give you an API key. BYOK usage is billed to your API account.
BYOK in AI vs. BYOK for encryption keys
If you work in IT or security, you may know BYOK from cloud security, where it means something else: bring your own encryption key. This is also called customer-managed keys (CMK). HYOK (hold your own key) goes one step further: the key never leaves your environment.
| BYOK for AI (API keys) | BYOK for encryption (CMK) | |
|---|---|---|
| What the key does | Authorizes and bills model requests | Encrypts your stored data |
| Who issues it | The AI provider (OpenAI, Anthropic, Google…) | You, through your key management service or HSM |
| Main benefit | Model choice, direct billing, no markup | Control over data at rest; you can revoke access |
| Examples | Grengin, OpenRouter, TypingMind, Cursor | AWS KMS, Azure Key Vault, Salesforce Shield; CRM platforms such as LeadSquared |
Some products use both ideas. Glean, for example, lets admins choose between its managed “Universal” model key and their own LLM provider key.
BYOK vs. Keycloak: these aren’t alternatives. Keycloak is an open-source identity and access management server. It handles single sign-on, OIDC and SAML, so it decides who can sign in. It doesn’t manage AI API keys or encryption keys. In a BYOK AI setup, Keycloak can be the identity provider a platform uses for SSO, as long as that platform supports custom OIDC or SAML.
How We Chose These BYOK Platforms
We looked at each platform on six criteria:
- Provider coverage: major providers, plus OpenAI-compatible endpoints and local models
- Cost transparency: the software price, and any markup or fee on your AI usage
- Key handling: where your key is stored, and whether requests go straight to the provider
- Control: self-hosting, team permissions and spending limits
- Features: web search with sources, file and image input, image generation and MCP tools
- Maintenance: active releases in 2026 (we flag projects that shut down or went quiet)
BYOK AI Platforms Compared
| Platform | Type | Software price | Fee on your AI usage | Self-host | Local models | Best for |
|---|---|---|---|---|---|---|
| Grengin | Team AI workspace | Free self-hosted; hosted plans priced per team (see below) | None | Yes (Apache 2.0) | No (cloud providers, including open-weight models via Groq and Cerebras) | Teams that need governance |
| OpenRouter | Aggregator / API router | Pay as you go; 5.5% fee on credit purchases | Free up to $25,000/month of usage, then 5% | No | No | Many models through one API |
| LibreChat | Self-hosted chat UI | Free (MIT) | None | Yes | Yes | Open-source ChatGPT alternative |
| Open WebUI | Self-hosted chat UI | Free; paid Enterprise plan | None | Yes | Yes | Local and cloud models |
| AnythingLLM | Documents and RAG | Free desktop and Docker; cloud from $50/month | None | Yes | Yes | Chatting with documents |
| TypingMind | Web chat UI | One-time, from $39 | None | Licensed static build | Yes | A polished UI you pay for once |
| Big-AGI | Web chat UI | Free; Pro $9/month for sync | None | Yes (MIT) | Yes | Comparing models side by side |
| LobeHub | Chat and agent UI | Free self-hosted; cloud from about $9/month | None | Yes | Yes | Agents and plugins |
| Chatbox | Desktop and mobile app | Free with your own key | None | Not applicable | Yes | One app on every device |
| LiteLLM Proxy | Self-hosted gateway | Free (open source) | None | Yes | Yes | Routing for developers |
Prices in USD as of October 2026. “Fee on your AI usage” means what the platform adds on top of what your model provider bills you.
1. Grengin — Best BYOK AI Platform for Teams

Most BYOK apps are built for one person with one key. When a whole team needs AI, new questions come up: who holds the keys, who can use which models, how spending is capped, and what gets logged.
Grengin is an open-source (Apache 2.0) AI workspace built for that situation. An admin connects provider API keys once on the Control Hub’s AI Engines page, chooses which models each provider exposes, and sets budgets. Everyone else signs in with SSO and chats with any approved model in one interface. Keys are stored encrypted on the server and only ever shown as a masked preview.
Why Grengin stands out
- Multi-provider BYOK: OpenAI, Anthropic, Google Gemini and Mistral, plus open-weight models such as Llama, Qwen and Kimi through Groq and Cerebras. Amazon Bedrock, Azure and Hugging Face are also supported.
- No markup on AI: you pay providers at their published rates.
- Flat pricing, not per seat: hosted plans are priced per workspace by team size.
- Governance built in: SAML and OIDC single sign-on, role-based access, departments, and budgets per user, department and project. It also has real-time cost tracking, PII detection and redaction, and audit logs.
- Everyday chat features:
- Switching models mid-conversation
- Web search with linked sources
- File and image attachments
- MCP connectors (Jira and Confluence, Slack, Google Drive, GitHub, or any other MCP server)
- Voice dictation and a shared prompt library
- Deploy your way: hosted by Grengin; launched from AWS Marketplace into your own AWS account in about five minutes; or self-hosted from source.
Pricing
Hosted by Grengin, one flat price per team (not per seat): Starter $20/month for up to 10 people, Team $50/month for up to 30, Business $150/month for up to 100; Enterprise on request. Self-hosting is free at any size. Bring your own AI keys, with no markup on usage. See pricing.
Pros
- Governance and cost controls without an enterprise contract
- The price doesn’t rise with every new user
- The same software on every deployment option, and you can export your workspace at any time
- On self-hosted deployments, requests go straight from your instance to the model providers, not through Grengin
- Open source, so you can inspect and extend it
Cons
- Built for teams. A solo user who only wants a personal chat app may prefer TypingMind or Chatbox.
- No local-model (Ollama) option on hosted plans; Grengin focuses on cloud providers.
- One-click self-hosting is AWS-only for now (AWS Marketplace). Other clouds mean building from source or an Enterprise deployment.
- Self-hosting means you handle patching and updates.
- The connector library is still young. You can add any MCP server, but ready-made OAuth presets currently cover Atlassian, Google, GitHub and Slack.
- Grengin doesn’t have its own SOC 2 report yet (its AWS hosting does).
Best for
Grengin is best for security-conscious teams and budget-constrained companies that need governance controls, without per-seat pricing or running a DIY self-hosted stack. Those controls include encrypted key storage, access management and usage oversight.
Try Grengin for free · How BYOK keys work in Grengin · Grengin vs. LibreChat
2. OpenRouter — Best BYOK Aggregator for Routing API Requests

OpenRouter is the best-known BYOK aggregator. One OpenAI-compatible API and one account give you access to 600+ models from more than 80 providers. You can pay through OpenRouter credits, or attach your own provider keys so requests are billed to your provider accounts.
That makes it easy to pick a model per task:
- A fast, inexpensive model for classification
- A long-context model for document analysis
- A reasoning model for complex problems
- A coding-focused model for software development
- A vision model for image tasks
Most BYOK chat apps also accept an OpenRouter key. One key can unlock hundreds of models inside TypingMind, Chatbox, LibreChat, Open WebUI and others.
How OpenRouter BYOK pricing works
As of October 2026:
- Credits: models are billed at provider list prices. OpenRouter charges a 5.5% fee when you buy credits on its Standard plan.
- BYOK allowance: on pay-as-you-go, BYOK is free up to $25,000 per month of usage, measured at list price. Above that, OpenRouter charges 5% of what the same request would cost through OpenRouter, deducted from your credits (BYOK docs).
- OpenRouter replaced its older “1 million free BYOK requests per month” rule with this allowance (update dated August 2026), so articles quoting that rule are out of date.
- Fallback: if your key fails or hits a rate limit, OpenRouter falls back to its own shared capacity by default and bills your credits. Each key has a “shared capacity fallback” setting that can turn this off (docs).
- Privacy: Zero Data Retention routing can be enforced for the whole account or per request.
Pros
- Huge model catalog, with new models usually added soon after release
- One API reduces integration work
- Routing, fallbacks and provider selection
- Detailed pricing, context and latency information per model
- A generous BYOK allowance for most teams and individuals
Cons
- It’s an API and router, not a team workspace. You still need a front end.
- You need a credit balance to cover any BYOK fees above the allowance.
- Fallback and routing settings need review, for both cost and privacy.
- Your data passes through OpenRouter as well as the model provider.
- If you build on it, securing keys and limiting usage is still your job.
Best for
OpenRouter is best for developers, AI engineers, startups and power users who want broad model access through one consistent API. It’s also a good “universal key” for other BYOK apps.
3. LibreChat — Best Open-Source ChatGPT Alternative

LibreChat is a self-hosted, multi-user chat platform with a familiar ChatGPT-style interface.
- License and activity: MIT-licensed, about 47,000 GitHub stars, and frequent releases. ClickHouse acquired the project in November 2025.
- Providers: OpenAI, Anthropic, Google and Vertex AI, Amazon Bedrock, Azure, OpenRouter, Ollama, and any OpenAI-compatible endpoint.
- Features:
- Web search
- Image input and image generation (GPT Image, Stable Diffusion, Flux)
- Chat with files through a RAG API
- MCP tools and no-code agents
- A code interpreter
- Sign-in through OAuth2, LDAP or email
Self-hosting gives you control over deployment, user access, authentication, logging and updates. It doesn’t keep prompts inside your network, though. When LibreChat calls a cloud model, the request still goes to that provider. The advantage is control over the application layer, not isolation from external model providers.
Pros
- Open source (MIT) and highly customizable
- Very broad provider support, including obscure and local endpoints
- Familiar interface, so there’s little to learn
- Active community and documentation
- Strong agent and MCP features
Cons
- Deployment is a project in itself: a production setup usually involves MongoDB, Meilisearch, a vector database and a reverse proxy.
- Updates, backups, secrets and monitoring are your responsibility.
- Team-level governance (budgets, cost analytics, audit) is thinner than in dedicated team platforms.
- Misconfiguration can create security risks.
Best for
LibreChat is best for developers, IT departments and technical teams that want an open-source, self-hosted AI chat workspace and have the DevOps capacity to run it. See our Grengin vs. LibreChat comparison for the trade-offs.
4. Open WebUI — Best for Combining Local and Cloud AI

Not every request needs a paid cloud model. Open WebUI is the most popular interface for running local models with Ollama, and it connects just as easily to OpenAI-compatible APIs, Anthropic and OpenRouter. It has about 159,000 GitHub stars.
That makes hybrid workflows easy:
- A local model for private notes and routine summaries
- A cloud model for advanced reasoning or coding
- One interface for both
Features include:
- Web search that cites its sources
- File and image uploads
- Image generation (OpenAI, Gemini, ComfyUI and Automatic1111)
- RAG across several vector databases
- MCP and OpenAPI tool servers
- Plugins (Tools, Functions and Pipes)
- Role-based access with user groups
An experimental “Direct Connections” feature lets each user add their own key, stored in their browser.
License note: since v0.6.6 (April 2025), deployments with more than 50 users in a 30-day period must keep the “Open WebUI” branding unless they buy an enterprise license. The project says this is no longer an OSI-approved open-source license (license page).
Local AI cuts API spending, but it isn’t free. Budget for hardware, memory, storage, electricity and maintenance. Smaller local models run on modest machines but usually trail leading cloud models in quality.
Pros
- The best local-model support in this list
- Combines local and cloud models in one UI
- Large community and frequent releases
- Strong plugin, tool and RAG options
Cons
- Installation and upkeep can be hard for beginners
- Local models need capable hardware
- Branding requirements apply to larger deployments
- Self-hosting means you handle security and updates
Best for
Open WebUI is best for developers, privacy-conscious users, researchers and AI hobbyists who want local models and cloud AI side by side.
5. AnythingLLM — Best for Chatting With Your Documents

AnythingLLM turns a pile of documents into an AI workspace you can question. It is MIT-licensed and has about 68,000 GitHub stars. It uses retrieval-augmented generation (RAG): it finds the relevant passages in your files and gives them to the model, so answers come with citations instead of guesses.
- Form factor: a free desktop app for Mac, Windows and Linux; free Docker self-hosting with multi-user mode; and a hosted cloud version from $50/month.
- Providers: OpenAI, Anthropic, Gemini, OpenRouter, any OpenAI-compatible endpoint, Ollama and LM Studio. You choose separate options for embeddings and vector storage.
- Agents: a no-code agent builder, web browsing through an agent skill, and MCP tools.
Typical uses include research collections, product documentation, support playbooks, policies and internal knowledge bases.
Pros
- Purpose-built for document-based AI
- Flexible model, embedding and vector database choices
- Runs fully locally if you want it to
- Workspaces keep document collections separate
Cons
- Answer quality depends on your documents and on retrieval accuracy
- Large collections need storage and processing
- Embeddings add API costs if you use a cloud provider
- Permissions need care in team setups
- More specialized than you need if you just want general chat
Best for
AnythingLLM is best for businesses, researchers, consultants and support teams that want AI to answer from their own documents.
Best BYOK Web Chat UIs
If you just want a better chat interface for your own keys, these hosted and browser-based UIs come up most often in 2026 rankings.
TypingMind — best web chat UI you pay for once
TypingMind is a static web app with no backend of its own. Your keys stay in your browser’s local storage, optionally encrypted, and requests go straight from your browser to the provider. You can install it as an app on desktop or phone (as a PWA), and there is a native Mac app.
- Pricing (one-time): Standard $39; Extended $79, which adds web search, image input, image generation and document upload; Premium, which adds multi-model chats, MCP connectors and Artifacts, has a $198 list price and is usually sold at a discount (current prices). Team plans are sold separately as a subscription.
- Providers: OpenAI, Anthropic, Gemini, OpenRouter, DeepSeek, Groq, Mistral, xAI and custom endpoints, plus Ollama and LM Studio.
- Watch out for: there are no native Android or iOS apps (it uses the PWA instead), and team features cost extra.
Big-AGI — best for comparing models side by side
Big-AGI is an open-source (MIT) AI suite you can use free at app.big-agi.com or self-host.
- Beam: sends one prompt to between 2 and 24 models at once, then merges the best parts of their answers.
- Other features: web search with citations, image generation (OpenAI and Gemini), camera and PDF input, and local models through Ollama or LM Studio.
- Pricing: free; Pro costs $9/month for sync and cloud backup. All plans run on your own keys.
LobeHub (formerly LobeChat) — best for agents and plugins
LobeChat has been renamed LobeHub, and version 2 shifted its focus from chat to multi-agent workflows. Teams choose it for BYOK deployments for three reasons:
- Design: one of the most polished interfaces among self-hostable options.
- Ecosystem: a large library of MCP-compatible plugins and skills.
- Deployment: simple to deploy with Docker or Vercel.
In the server-database setup, user keys are encrypted in Postgres. LobeHub Cloud’s paid plans start at about $9/month.
License note: LobeHub uses a community license based on Apache 2.0, but derivative works need a commercial license.
Newer hosted options
- MultiModelChat: a low-cost hosted BYOK chat at $2/month or $39 lifetime. Keys are encrypted in your browser, but requests pass through its server.
- Oriveo: a new 2026 BYOK app for web, iOS and Android, with 15 providers. It adds no markup to BYOK use; Pro adds sync.
Best BYOK Desktop Apps
These desktop apps are the most common BYOK picks for Mac, Windows and Linux. LibreChat and Open WebUI run in the browser, not as native apps.
| App | Platforms | Price | Stands out for |
|---|---|---|---|
| Chatbox | Windows, Mac, Linux, iOS, Android, web | Free with your own key (optional hosted plans from $3.99/month) | One app everywhere; local models; MCP in Agent Mode |
| Jan | Windows, Mac, Linux | Free, open source (Apache 2.0) | Local-first with built-in llama.cpp; cloud providers too; MCP |
| Msty Studio | Windows, Mac, Linux | Free; Aurum $149/year or $349 lifetime | Knowledge Stacks (RAG), MCP toolbox, local and cloud models |
| Cherry Studio | Windows, Mac, Linux | Free (AGPL) | 300+ prebuilt assistants, knowledge bases, MCP |
| BoltAI | Mac | One-time, from $99 (often discounted) | Native Mac app; can also drive Codex CLI and Claude Code |
| TypingMind | Mac app or PWA | One-time, from $39 | Polished UI; keys stay in the browser |
Best BYOK AI Chat Apps for Android and iPhone
| App | Android | iPhone / iPad | Price | Notes |
|---|---|---|---|---|
| Chatbox | Yes | Yes | Free with your own key | Same app on desktop; many providers including OpenRouter |
| Pal Chat | No | Yes (also Mac and Vision Pro) | Free; optional Pro | OpenAI, Claude, Gemini, Grok, Groq, OpenRouter, custom endpoints; shows token costs |
| Open Minis | No | Yes | Free | A BYOK mobile agent: on-device shell, browser, MCP, memory and sub-agents |
| RikkaHub | Yes | No | Free, open source | OpenAI-, Google- and Anthropic-compatible APIs; MCP; web search |
| ChatterUI / Maid | Yes | No | Free, open source | On-device local models plus remote APIs |
| Oriveo | Yes | Yes | No markup on BYOK; optional Pro tier | 15 providers; keys stay on your device by default |
TypingMind has no native mobile app, but you can install it to your home screen as a PWA. PocketPal AI is popular too, but it runs local models only and doesn’t take API keys.
Best BYOK Aggregators and Gateways
An aggregator (or gateway) sits between your apps and your model providers. You get one endpoint, plus routing, fallbacks, caching and spend controls. So what is the best BYOK aggregator? For most people it’s OpenRouter. Developers who want zero fees and full control should self-host LiteLLM.
| Gateway | Hosting | Fee with your own keys | Highlights | Watch out for |
|---|---|---|---|---|
| OpenRouter | Hosted | Free up to $25,000/month of usage, then 5% | 600+ models, Zero Data Retention routing, per-key fallback control | You need credits to cover fees and fallback |
| LiteLLM Proxy | Self-hosted, open source | None | 100+ providers behind one OpenAI-compatible endpoint; virtual keys, budgets, load balancing, fallbacks | Pin versions: a compromised release (1.107.0) was published on October 21, 2026 |
| Portkey | Hosted or self-hosted | Paid plans now quoted through Palo Alto Networks | Fallbacks, caching, guardrails, observability | Now part of Palo Alto Networks (acquisition closed May 2026) |
| Vercel AI Gateway | Hosted | No markup | Simple setup for apps on Vercel | BYOK requires paid credits; if your key fails it falls back to Vercel’s own keys; BYOK spend isn’t counted in Vercel budgets |
| Cloudflare AI Gateway | Hosted | No BYOK fee; core features free | Keys kept in Cloudflare Secrets Store; caching, rate limits, budget limits | Logging limits and pricing depend on your Cloudflare plan |
| Kong AI Gateway | Self-hosted or cloud | Enterprise pricing | PII redaction, semantic caching, token-based rate limits | Built for platform teams, not individuals |
Best BYOK API providers
Which keys should you actually get? Most BYOK users start with one or two of these providers, plus an OpenRouter key for everything else.
| Provider | Good for | Free tier | Spend controls |
|---|---|---|---|
| OpenAI | GPT and GPT Image models | No (prepaid credits) | Hard spend limits per organization and project |
| Anthropic | Claude models for writing, coding and agents | No permanent free tier | Organization spend limits, plus per-workspace limits |
| Google (Gemini API) | Long context, multimodal | Yes, for Flash and Flash-Lite models (free-tier data may be used to improve Google products) | Project spend caps in AI Studio |
| Mistral | European provider, open-weight models | Yes, “Experiment” plan (requests may be used for training) | Pay-as-you-go on the Scale plan |
| Groq | Very fast open-weight models | Yes, rate-limited | Monthly spend limits on paid plans |
| Cerebras | Very fast open-weight models | Yes, for development use | Not documented |
| xAI | Grok models | No (prepaid) | Billing limit and capped auto top-up |
Best BYOK AI Agents
Agents run many model calls per task. BYOK keeps that usage on your own provider bill, at provider prices.
General-purpose agents
- Manus: since September 29, 2026, Manus Flex lets you connect your own OpenRouter, Fireworks or Modal account and choose the primary model and reasoning effort. Inference is billed by your provider. Tools, the sandbox and hosting still use Manus credits. To use OpenAI or Anthropic models, route them through OpenRouter.
- Zo Computer: a personal cloud computer, meaning an always-on server with your files, agents and sites. Under Settings → Advanced → Custom Models you can add OpenAI-compatible endpoints (including OpenRouter and Together AI), Anthropic-compatible endpoints or Groq. The model must support streaming and tool calls, and there is no fallback to Zo’s own models if your key fails.
- OpenHands: an open-source agent you can run locally or on OpenHands Cloud. BYOK is available to all cloud users.
- Goose: an open-source desktop and CLI agent, originally from Block and now part of the Linux Foundation’s Agentic AI Foundation. It works with many providers through your own keys.
- OpenClaw: an open-source, self-hosted personal assistant you message through WhatsApp, Telegram, Slack or iMessage. It works with Anthropic, OpenAI or OpenRouter keys, or with local models.
For teams, Grengin brings agent-style tool use into a governed workspace. The AI can call MCP tools such as Jira, Confluence, Slack and Google Drive, and admins control which roles can use each tool.
BYOK coding agents and harnesses
| Tool | BYOK | Context and memory | Notes |
|---|---|---|---|
| Cline | Yes, free and open source | .clinerules, Memory Bank, Auto Compact |
The project Roo Code was forked from |
| OpenCode | Yes, 75+ providers | AGENTS.md (project and global) |
Terminal-first |
| Kilo Code | Yes, through Kilo Gateway with no markup | Rules files | Keys are stored in your Kilo account |
| Crush | Yes, including local models | AGENTS.md, LSP context, MCP |
Terminal agent from Charm |
| GitHub Copilot (VS Code) | Yes, no Copilot plan required | Custom instructions and agents | Code completions don’t use your key |
| JetBrains AI Assistant | Yes, no JetBrains AI subscription required | — | Some features aren’t covered by BYOK |
| Zed | Yes, no subscription required | — | Many providers, plus Ollama and LM Studio |
| Cursor | Partly | Rules | Your key works for chat models only; Tab uses Cursor’s models; requests go through Cursor’s backend |
| Codex CLI | Yes (API key sign-in) | AGENTS.md |
Also works with a ChatGPT sign-in |
| Aider | Yes | CONVENTIONS.md, repo map |
No release since v0.86.0 (August 2025) |
| Roo Code | Not applicable | Not applicable | Shut down on May 15, 2026; the community fork is Zoo Code |
Shared memory and context management: AGENTS.md has become the closest thing to shared memory between coding harnesses. OpenCode, Crush and Codex CLI all read it, so one file of project rules follows you from tool to tool. For long sessions, look for automatic context condensing, such as Cline’s Auto Compact. It keeps the agent working without resending your whole history on every call, which also saves tokens.
Best BYOK Frontend for Roleplay
SillyTavern is the default choice for roleplay and character chat. It’s a free, self-hosted (AGPL-3.0) frontend built around character cards. It works with OpenAI, Claude, Gemini, OpenRouter, DeepSeek, Mistral and local backends such as KoboldCpp, llama.cpp and Ollama. It also has a built-in RAG “Data Bank,” web search and image generation extensions, and a multi-user mode.
One caution: SillyTavern stores API keys in plain text in each user’s data folder, so keep your install private. RisuAI and Agnai are the usual alternatives.
Other Apps That Support BYOK
Wondering whether a specific product supports BYOK? Here’s a quick lookup for apps people often ask about.
| App | BYOK? | Details |
|---|---|---|
| GitHub Copilot | Yes | VS Code, JetBrains, Xcode and CLI, for chat and agents; not code completions |
| Cursor | Partly | Chat models only |
| JetBrains AI | Yes | No JetBrains AI subscription needed |
| Zed | Yes | No subscription needed |
| Warp | Yes | Bring your own API key for agents |
| Raycast | Yes, on paid plans | OpenAI, Anthropic, Google, OpenRouter |
| Obsidian (Copilot plugin) | Yes | Community plugin; keys stored locally |
| AFFiNE | Yes, when self-hosted | The admin sets the provider key, base URL and model |
| Taskade | Yes, on paid plans | OpenAI, Claude and Gemini on Pro; Groq and OpenRouter on Business |
| OpenTodo | Yes | Open-source, self-hosted task manager with an AI assistant |
| Glean | Yes | Admins choose Glean’s Universal key or their own LLM key |
| Manus | Yes | Through Manus Flex |
| Zo Computer | Yes | Through Custom Models |
| SeamUI | Yes | A BYOK image and video generation workspace with one-time lifetime plans |
| Notion AI | No | No native BYOK |
| Perplexity | No | No BYOK in the consumer app |
Web Search, Vision and Image Generation With BYOK
These are the features people most often look for in a BYOK chat interface:
| Platform | Web search with sources | Image input (vision) | Image generation | MCP tools |
|---|---|---|---|---|
| Grengin | Yes | Yes | Not built in | Yes |
| LibreChat | Yes | Yes | Yes (GPT Image, Stable Diffusion, Flux) | Yes |
| Open WebUI | Yes | Yes | Yes (OpenAI, Gemini, ComfyUI, Automatic1111) | Yes |
| TypingMind | Yes (Extended) | Yes (Extended) | Yes (Extended) | Yes (Premium) |
| Big-AGI | Yes | Yes | Yes (OpenAI, Gemini) | Not listed |
| Chatbox | Yes | Yes | Yes | Yes |
Using OpenAI image generation with your own key:
- DALL·E is gone from the API. OpenAI removed DALL·E 2 and DALL·E 3 on May 12, 2026, so apps that still call them fail. The current models are OpenAI’s GPT Image models; the GPT Image 2.5 versions were released in September 2026.
- Your organization may need to be verified. OpenAI may require API Organization Verification before GPT Image models work with your key. If a BYOK app returns a permissions error for image generation, check this first.
How BYOK Apps Make Money: 6 Pricing Models
BYOK changes what you pay for. Your model usage goes to the provider, so the app has to charge for something else, or nothing at all.
| Pricing model | How it works | Examples | Watch out for |
|---|---|---|---|
| Free and open source | Free software; you pay hosting and API usage | LibreChat, Open WebUI, Jan, AnythingLLM desktop, Grengin self-hosted | Your time for setup and maintenance; license terms such as Open WebUI’s branding clause |
| One-time or lifetime license | Pay once for the app | TypingMind (from $39), BoltAI (from $99), Msty Aurum Lifetime ($349), MultiModelChat ($39), SeamUI | Sync, teams or major upgrades may cost extra; lifetime deals depend on the vendor staying in business |
| Subscription plus BYOK | A monthly fee for app features | Raycast (BYOK on paid plans), Big-AGI Pro (sync), Taskade | You pay twice: the app and the provider |
| Platform fee on usage | A percentage on top of your tokens | OpenRouter (5% above the allowance) | The cost scales with your usage |
| Flat per-workspace price | One price per team, not per seat | Grengin hosted plans (see above) | Choose the plan by team size |
| Hybrid: BYOK plus credits | Your key pays for inference; credits pay for tools and compute | Manus Flex, Zo Computer | Credits still run out on long tasks |
For a deeper look at how AI tools charge teams, read The AI Seat Tax: 5 Pricing Models.
What Changed in BYOK in 2026
If you read a BYOK review from earlier this year, these changes may affect your choice:
- OpenRouter replaced “1M free BYOK requests per month” with a $25,000 monthly usage allowance, and charges 5% above it (August).
- Manus added BYOK through Manus Flex (September).
- OpenAI retired DALL·E 2 and DALL·E 3 from its API (May) and released new GPT Image models (September).
- Roo Code shut down (May). Users moved to Cline or the Zoo Code fork.
- Portkey was acquired by Palo Alto Networks (May).
- LiteLLM had a compromised PyPI and Docker release on October 21. Pin and verify versions.
- GitHub Copilot expanded BYOK to VS Code without a Copilot plan, to the Copilot app, and (in preview) to Business and Enterprise organizations.
- Raycast moved BYOK to its paid plans.
Which BYOK AI Platform Should You Choose?
| Choose… | If you… |
|---|---|
| Grengin | Need one BYOK workspace for a team, with SSO, budgets, audit logs and flat pricing, and no servers to maintain unless you want to |
| OpenRouter | Want hundreds of models through one API, or one key that works in every BYOK app |
| LiteLLM Proxy | Are a developer who wants a self-hosted gateway with no fees |
| LibreChat | Want an open-source, self-hosted ChatGPT alternative and have DevOps capacity |
| Open WebUI | Want local models (Ollama) and cloud AI in one interface |
| AnythingLLM | Need AI that answers from your documents |
| TypingMind | Are an individual who wants a polished web UI and a one-time price |
| Chatbox | Want one free app on desktop and phone |
| Cline or OpenCode | Want a BYOK coding agent |
| Manus or Zo Computer | Want a general-purpose agent on your own model provider |
Is BYOK Actually Cheaper?
Sometimes, but not automatically. A subscription is a fixed monthly fee. With BYOK you pay per token, so the answer depends on how you use AI.
Here is an illustrative example using a mid-tier model priced at $3 per million input tokens and $15 per million output tokens, over 22 working days:
| Usage | Daily messages | Tokens per message | Monthly API cost |
|---|---|---|---|
| Light user | 10 | 2,000 in / 500 out | About $3 |
| Heavy user (long chats, files) | 40 | 8,000 in / 1,000 out | About $34 |
Two lessons follow:
- Context drives cost. Each new message in a long conversation resends the earlier ones, so input tokens grow quickly. Starting fresh chats is the cheapest habit you can build.
- Model choice matters more than the platform. Sending routine work to a smaller, cheaper model can cut the bill several times over.
BYOK tends to be cheaper if you use AI occasionally, choose cost-effective models, keep prompts short and monitor usage. It can cost more if you run agents continuously, use premium reasoning models for everything, upload large documents, or leave unlimited fallback routing on.
For teams, the bigger saving is often structural. You stop paying a per-seat fee for people who barely use AI. We break this down in AI Got 40% Cheaper, So Why Is Your Budget Running Out?
How to Avoid an Unexpected API Bill
1. Set a hard limit at the provider first
- OpenAI: hard spend limits per organization and project
- Anthropic: organization and per-workspace spend limits
- Google AI Studio: project spend caps
- Groq: spend limits on paid plans
- xAI: a prepaid billing limit
Set these before testing new models, agents or integrations, and don’t rely only on limits inside a third-party app. Vercel AI Gateway, for example, doesn’t count BYOK spend in its budgets.
2. Use one key per app
A dedicated key per app, and separate keys for development and production, make it easy to see where spending comes from and to revoke a single key.
3. Watch conversation length
Long conversations resend earlier messages as context. Start a new chat when the old context is no longer needed.
4. Match the model to the task
You don’t need the most expensive reasoning model to rewrite an email.
5. Be careful with agents
One visible action can trigger many model calls, tool requests, searches and retries. Review an agent’s limits before letting it run unattended.
6. Check fallback settings
OpenRouter can fall back to its shared capacity, and Vercel AI Gateway to its own keys, when your key fails. Both are billed to your credits. Turn fallback off if you need strict cost or data routing.
7. Protect your keys
Never put API keys in public repositories, screenshots, shared documents, untrusted browser extensions or client-side code. For self-hosted gateways and UIs, pin versions and verify updates, as the LiteLLM incident showed. Rotate any key you think was exposed.
8. Review data policies
Check the retention policies of both the BYOK platform and the model provider. A self-hosted interface doesn’t mean model processing happens locally.
Where BYOK Apps Store Your API Key
| Where the key lives | Examples | What it means |
|---|---|---|
| In your browser | TypingMind, Open WebUI Direct Connections | Requests go straight to the provider; anyone with access to that browser profile can use the key |
| On your device | Chatbox, Oriveo, Obsidian Copilot; the GitHub Copilot app (OS keychain) | Good for individuals; nothing to manage centrally |
| On your server, encrypted | Grengin, LibreChat, LobeHub (server database) | Keys are managed centrally, so protect the server and its secrets |
| On your server, in plain text | SillyTavern | Keep the install private |
| With the vendor, or passed through its servers | OpenRouter, Vercel AI Gateway, Kilo Gateway, SeamUI; Cursor and MultiModelChat route requests through their backends | Review the vendor’s retention and security policies |
Security Questions to Ask Before Choosing a BYOK Platform
Connecting an API key lets a platform send requests through your provider account. Before you do, ask:
- Where is the API key stored, and is it encrypted?
- Can the platform display or export the original key?
- Do requests go directly to the provider or through the vendor’s servers?
- Are conversations and uploaded documents retained, and can they be deleted?
- Can administrators see prompts?
- Does the platform support SSO, role-based access and audit logs?
- What happens to keys and access when an employee leaves?
- Which providers receive the data, and is fallback routing enabled?
- Does the platform use customer data for training?
For sensitive business information, your security team should review both the application and every connected AI provider. Our guide to who can actually see your prompts compares the main options.
BYOK Is About More Than Saving Money

The most important benefit of BYOK may not be cost. It may be control.
You choose the model and the provider, and you decide when to switch. You can use an inexpensive model for routine work and a more capable one when a task needs it. If a provider changes its pricing, performance or terms, you have options.
Instead of asking, “Which AI subscription should I buy?”, BYOK encourages a better question:
“Which model is right for this task, and how much control do I need over the process?”
Final Verdict
BYOK isn’t for everyone. If you want completely predictable pricing and zero configuration, a conventional AI subscription is simpler. If you are a developer, an IT team, a researcher or a business that wants to choose its own models and control its costs, BYOK gives you far more flexibility.
- Grengin is the best BYOK AI platform for teams that need governance and flat pricing.
- OpenRouter is the best BYOK aggregator for broad model access through one API.
- LibreChat is the best open-source, self-hosted ChatGPT alternative.
- Open WebUI is the best for combining local and cloud models.
- AnythingLLM is the best for documents, knowledge bases and RAG.
- TypingMind, Big-AGI and Chatbox are the best personal BYOK chat apps.
Your keys. Your models. Your workflow.
Frequently Asked Questions About BYOK AI Platforms
What does BYOK mean in AI?
BYOK means Bring Your Own Key. You connect an API key from an AI provider, such as OpenAI, Anthropic or Google, to a compatible third-party app. The app provides the interface, and the provider processes and bills each model request.
What is a BYOK AI model?
Any model you access through your own provider account, such as GPT, Claude, Gemini, Mistral, Grok, or open-weight models like Llama and Qwen through Groq, Cerebras or OpenRouter. Your provider account, not the app, decides which models and rate limits you get.
Is BYOK in AI the same as BYOK encryption?
No. In AI, BYOK means bringing your own API key to access models. In cloud security, BYOK means bringing your own encryption key (customer-managed keys) to protect stored data. Some enterprise products, such as Glean, support both concepts.
What is the best BYOK aggregator?
OpenRouter is the best BYOK aggregator for most people. It has 600+ models behind one API, and BYOK is free up to $25,000/month of usage, then 5%. If you’d rather self-host with no fees, use LiteLLM Proxy. For production observability, consider Portkey or Cloudflare AI Gateway.
Does OpenRouter charge a fee for BYOK?
Yes, above a monthly allowance. As of October 2026, pay-as-you-go accounts get $25,000 of BYOK usage per month (measured at list price) with no fee. Above that, OpenRouter charges 5% of what the request would cost on OpenRouter, deducted from your credits.
What is the best BYOK chat interface?
For teams, Grengin. For individuals, TypingMind (hosted, pay once), Big-AGI (free, compares many models), or Chatbox (free desktop and mobile app). If you want to self-host, choose LibreChat or Open WebUI.
What is the best BYOK app for Android and iPhone?
Chatbox works on both Android and iOS for free with your own key. On iPhone, Pal Chat is a popular alternative and Open Minis is a BYOK mobile agent. On Android, RikkaHub, ChatterUI and Maid are free, open-source options.
Can I generate images with my own OpenAI API key?
Yes, in apps that support it, such as LibreChat, Open WebUI, TypingMind, Big-AGI and Chatbox. Use OpenAI’s GPT Image models: DALL·E 2 and 3 were removed from the API in May 2026. OpenAI may require organization verification first.
Does Manus support BYOK?
Yes. Since September 2026, Manus Flex lets you connect an OpenRouter, Fireworks or Modal account. Inference is billed by your provider, while tools and sandbox time still use Manus credits.
Are BYOK AI platforms cheaper than subscriptions?
They can be, especially for light or occasional use, but savings aren’t guaranteed. Costs depend on the model, conversation length, document size and agent activity. For teams, avoiding per-seat fees is often the bigger saving.
Does ChatGPT Plus or Claude Pro include API access?
No. Consumer subscriptions such as ChatGPT Plus and Claude Pro are billed separately from the API. BYOK apps need an API key from the provider’s developer platform, with its own billing.
Is it safe to enter an API key into a third-party platform?
It can be, if the platform stores keys securely and you limit the damage a leaked key can do. Use a dedicated key per app, set a hard spending limit at the provider, monitor usage, and rotate any key that may have been exposed.
Does BYOK mean my data is private?
Not necessarily. When you use a cloud model, your request goes to that provider, and sometimes through the BYOK platform’s servers too. Self-hosting the interface gives you control over the application, not over the model provider. Review both privacy policies.
Can BYOK platforms work with local AI models?
Many can. Open WebUI is the strongest choice for local models, and LibreChat, AnythingLLM, Jan, Chatbox, Msty Studio and Big-AGI also connect to Ollama or LM Studio. Hosted team platforms such as Grengin focus on cloud providers.
What happens if my API key is leaked?
Someone else can make requests on your account and run up charges. Revoke the key immediately, create a new one, review recent usage, and contact the provider if you see suspicious activity.
Are free BYOK platforms completely free?
Not always. The software may be free, but you still pay for model usage, and for hosting, storage, embeddings, hardware and maintenance if you self-host. Compare the total cost, not just the app’s price.
Can businesses use BYOK platforms?
Yes. Businesses should check security, SSO, permissions, data retention, audit logs, key management and provider contracts before rollout. Regulated data needs a legal and security review first.
Prices and features checked October 29, 2026. Vendors change pricing often, so confirm on their official pages before you buy.
Want to run the chat interface yourself? See the 10 best open-source AI chat platforms, tested for self-hosting, privacy and RAG.