Bring your own key AI: every visitor sign in route, ranked by who holds the token
Eight routes let a visitor answer your site's AI chat with their own AI. We rank pasted keys, Sign in with ChatGPT, OpenRouter OAuth, Puter.js, window.ai, browser models, relays and AI Wallet on who holds the token and who pays.
Published on
Eight routes let a visitor answer your site's AI chat with their own AI, and on 2 December 2026 only five of them could ship on any site this week. Most bring your own key AI pages stop at one route: the visitor pastes a provider API key. This arena adds the other seven. Sign in with ChatGPT, OpenRouter OAuth, Puter.js, window.ai, browser built in models, subscription relays and AI Wallet each move the token to a different place. You read each route on four columns: who holds the token, who pays for each answer, which accounts work and whether any site can ship it today. Every competitor fact below was read on the competitor's own page on 2 December 2026, and the list of pages closes the article. TensorPass publishes AI Wallet and AI Connect, so the ranking comes from a party with a product in it.
Key takeaways:
- Sign in with ChatGPT draws on the ChatGPT Plus or Pro plan, but on 2 December 2026 OpenAI opened it to selected commercial partners through a limited trial, with 16 launch partners named on 29 September 2026.
- OpenRouter OAuth needs no client registration: the authorization code is single use, expires after 10 minutes and returns a user controlled key billed to the visitor's OpenRouter credits.
- Chrome's Prompt API runs Gemini Nano with no token at all, from Chrome 148 on the web, on desktops with at least 22 GB of free disk space.
- window.ai has had no commit since 6 August 2024, and its Chrome Web Store listing is still version 0.0.21 of 17 July 2023.
- AI Wallet lists 21 accounts (14 sign ins and 7 API keys) in an encrypted vault on the visitor's computer.
What bring your own key AI pages leave out
A pasted API key is the route every bring your own key AI page covers, and it serves a developer at a desk. Warp's documentation is the clearest example. It accepts OpenAI, Anthropic and Google keys. It stores personal API keys (a provider key issued to one person and billed to that person) in the device's secure storage. It marks every model that runs on your key with a key icon. Your provider bills the inference that runs on your key. The feature is open on the Free plan and eligible paid plans for teams of 10 employees or fewer, and larger organizations need the Business or Enterprise plan.
That model fits a terminal, and a public website breaks it in three places. First, your visitors are strangers with no device storage you control. Second, a ChatGPT Plus subscription and an OpenAI API key are separate products: the API bills per token to a key, the subscription is a monthly plan. A visitor who pays for a ChatGPT plan holds no OpenAI API key unless they also opened an API account. Third, the key ends up in the browser, where anyone with DevTools can copy it.
The DEV Community post of 2 November 2026 on exposed keys gives the one exception it accepts for browser calls: a bring your own key tool where each user pastes their own key. That exception stops at the key. It says nothing about a visitor who holds a ChatGPT plan, an OpenRouter account, a Puter account or no account at all.
The product engineer at a writing tool site meets this gap every week. Users already pay for ChatGPT or Claude and ask why the site also charges for AI. A key field reaches the share of users who hold an API key and leaves the plan holders out. The seven other routes exist to reach those plan holders, and each one moves the token somewhere else. For the wider field, including hosted widgets the site pays for, see the full chart of AI chat options.
Four questions to put to every sign in route
Four questions decide whether a route belongs on a public page, and the ranking table answers each one per route.
Who holds the token. A token is the credential that lets a request spend the visitor's AI usage. It sits in one of five places: nowhere (the model runs on the device), the visitor's own machine, the page, your server or a third party's server. Each step away from the visitor's machine adds a party that a leak or a breach reaches.
Who pays. The answer runs against the visitor's plan, the visitor's prepaid credits, the visitor's API billing, an allowance held by a third party or the visitor's hardware. Your inference bill (what your site pays a model provider per answer) is zero on all eight routes. The difference lies in what the visitor must already own.
Which accounts work. A route that accepts only API keys reaches developers. A route that accepts ChatGPT, Claude or Gemini plans reaches subscribers. A route tied to one vendor's account reaches that vendor's users and asks everyone else to open an account first.
Whether any site can ship it today. Some routes are open to anyone with a callback URL. Others sit behind a partner trial, a hardware floor or a personal use clause. A route you cannot ship this week does not answer this week's support ticket.
These four columns are the whole framework. The table that follows fills them in for the eight routes, ordered from the token closest to the visitor to the token furthest away.
The ranking table: eight routes by who holds the token
The table ranks the eight routes from no token at all to a token held on a third party's machine.
| Rank | Route | Who holds the token | Who pays | Accounts that work | Any site can ship it today |
|---|---|---|---|---|---|
| 1 | Browser built in models (Chrome Prompt API) | No token: Gemini Nano runs on the device | The visitor's hardware | No account; desktop Chrome 148 or later on qualifying hardware | Yes, on desktop Chrome only |
| 2 | AI Wallet with AI Connect | An encrypted vault on the visitor's computer | The visitor's plan, credits or API key | 21 accounts: 14 sign ins, 7 API keys | Yes, free SDK on npm since 16 November 2026 |
| 3 | window.ai | The window.ai extension, locally | The visitor's API keys | API keys and local models | Installable, no commit since 6 August 2024 |
| 4 | A pasted API key | The page, then your server if you store it | The visitor's API billing | Provider API keys only | Yes |
| 5 | Puter.js | Puter, through the visitor's Puter account | The visitor's Puter allowance, then the visitor pays Puter | A Puter account | Yes |
| 6 | OpenRouter OAuth with PKCE | Your server, which stores a user controlled key | The visitor's OpenRouter credits | An OpenRouter account with credits | Yes, no client registration |
| 7 | Sign in with ChatGPT | Your backend, which holds the access token | The visitor's ChatGPT Plus or Pro plan | ChatGPT Plus and Pro | No: limited trial for selected commercial partners |
| 8 | Subscription relays | The relay owner's machine | The relay owner's own subscriptions | 10 subscription providers on Subrouter | No: personal use only |
Three readings stand out. Only two routes keep a long lived credential on the visitor's own machine, ranks 2 and 3, and one of those two has had no commit for 28 months. Only rank 7 reaches a ChatGPT plan through the vendor's own program, and it is closed to most sites. Ranks 4, 5 and 6 are open today, and each one asks the visitor for something they hold less often than a chat plan: an API key, a Puter account or OpenRouter credits.
The next eight sections give the facts behind each row, in the order a developer meets them in search results.
Sign in with ChatGPT: the plan route behind a partner trial
Sign in with ChatGPT is OpenAI's sign in program that lets a user sign in to a third party app with a ChatGPT account and, with extra scopes, spend their ChatGPT plan on that app's AI requests. It started as identity. In July 2026 OpenAI released it as a beta with identity partners including Airtable, GitLab, HubSpot, Notion, Supabase and Vercel. Partners received the user's name, email address and profile picture.
Plan usage arrived at OpenAI DevDay on 29 September 2026. Eligible ChatGPT Plus and Pro subscribers can now spend their plan inside participating apps. OpenAI named 16 launch partners that day: OpenCode, OpenClaw, Pi, T3, Hyperagent, Hermes Agent, Vorflux, Amp, Dactyl, Kilo Code, Warp, Conductor, Devin, Notion and Vercel, with Lovable listed as coming soon. Sam Altman, CEO of OpenAI, framed the pitch on stage: "This makes it easier for people to try your product. They're already paying for an AI subscription, and now you don't have to cover their token costs to get them going."
The flow is OpenID Connect (the identity layer built on OAuth 2.0) with PKCE (Proof Key for Code Exchange). Identity only clients request openid profile email. Plan usage needs separate Responses API scopes the user authorizes. Your backend exchanges the code, verifies the OpenAI ID token and receives an access token for eligible inference requests. The token therefore sits on your server, and you own sessions, storage and revocation.
Third party requests draw on the ChatGPT Work and Codex usage the plan already includes. The user sets a weekly cap per app. When a cap or plan limit is reached, included usage stops, and the request does not fall through to the app's own billing.
Access is the blocking column for your site. On 2 December 2026 the quickstart reads that Sign in with ChatGPT is available to selected commercial partners through a limited trial. ChatGPT plan usage is open to all open source partners and selected private clients, and the open source flow runs without a client secret or a partner API key. A commercial writing tool site applies through the client ID request page and waits. For the detailed duel with our own route, the battles hub sets BYOK and bring your own AI tools against TensorPass one at a time.
What you can plan around today: if you ship an open source tool, the plan route is open. If you ship a commercial site, the identity scopes and the plan scopes both sit behind the trial, and your launch date depends on OpenAI's queue.
OpenRouter OAuth: a user owned key, held on your server
OpenRouter OAuth is OpenRouter's PKCE flow that issues a visitor's own OpenRouter API key to your app, billed to the visitor's OpenRouter credits. It is the most open sign in on this list: the documentation mentions no client ID and no client secret, and your callback URL identifies your app.
The flow has three steps. You send the visitor to https://openrouter.ai/auth with a callback_url, a code_challenge and code_challenge_method=S256; both challenge parameters are required, and S256 is the only documented method. OpenRouter redirects back with a code. You POST that code, the code_verifier and the method to https://openrouter.ai/api/v1/auth/keys, and the response carries a key.
Four limits shape the integration. The code is single use and expires after 10 minutes. The limit parameter prefills a credit limit in US dollars, and the visitor can change it. The expiration parameter runs from 1 hour to never, and the visitor can override it too. Without both parameters, the key has no credit limit and no expiry. Localhost callbacks work on any port, so you can test the flow before deploying. Localhost apps stay out of OpenRouter's marketplace and rankings.
Three optional parameters help a multi tenant site. key_label names the key in the visitor's OpenRouter dashboard, so they can find and revoke the one your site holds. workspace_id and required_workspace_id place the key in a given workspace. state carries your CSRF check through the redirect. A headless mode also exists: with no callback, OpenRouter shows the code on screen and the visitor pastes it into your app, which suits a desktop tool more than a website.
The storage rule decides the token column. OpenRouter tells you to keep the key encrypted in a server side database or in the OS keychain, and it rules out localStorage, sessionStorage, IndexedDB and cookies readable by JavaScript. On a public website, that means your server holds a key that spends the visitor's money until the visitor revokes it or it expires. A breach of your database exposes every stored key, and the default key has no spending cap.
The accounts column is narrow. A visitor needs an OpenRouter account with credits. A ChatGPT Plus subscriber without OpenRouter credits has nothing to sign in with. For a writing tool whose users pay ChatGPT or Claude directly, this route reaches the subset that already tops up OpenRouter.
What you can ship this week: a backend route that runs the exchange, an encrypted key table, a limit value proposed at sign in and an expiry shorter than never. The trios hub holds three way comparisons for a site chat, one trio per page.
A pasted API key: the route that puts the key on the page
A pasted API key is a provider key the visitor copies from their OpenAI, Anthropic or Google console into a field on your site. It is the route every bring your own key AI guide documents, and it works on any site today with no partner program.
The token column is the weakest of the open routes. The key enters the page as plain text. If the page calls the provider from the browser, the key travels in a request header that anyone with DevTools can read on that machine. If the page sends the key to your server, your server sees it, and storing it turns your database into a key vault you must defend. The DEV Community post of 2 November 2026 accepts the browser call only for this case, where each user pastes their own key and spends their own money.
The accounts column is narrower than it looks. A provider API key is billed per token on the provider's API account. A ChatGPT Plus plan does not yield an OpenAI API key, because the subscription and the developer API are separate products. Your visitor must open a developer account, add a card, create a key and paste it. On a writing tool site, the users who ask why the site charges for AI are plan holders, and this route asks them to become API customers first.
The payer column is clear and favourable to you: the provider bills the visitor's key, and your inference bill stays at zero. Warp's own implementation shows how a desktop product limits the exposure. Keys sit in the device's secure storage, and the prompt, the context and the key pass through Warp's servers to the provider without Warp retaining the key. A website has no equivalent of device secure storage for a stranger's key.
What you can ship this week: a key field, a provider selector, a request path that keeps the key in memory for the session only, and a warning that names who bills the key.
Puter.js: one vendor account for every visitor
Puter.js is a JavaScript library from Puter Technologies that gives a web page authentication, storage, a database and AI models from one script tag, with usage billed to each user's Puter account. Puter lists 500+ models from OpenAI, Claude, Gemini, Grok and others. There are no API keys to obtain and no servers to provision.
Puter calls its billing the User Pays model: every user covers their own storage, database and AI usage through their own Puter account. The developer pays $0 for infrastructure, with one user or a million. Each Puter account includes an allowance of storage, database and AI usage at no charge. A user who runs out pays Puter directly for the extra. One Puter account works across every app built on Puter.
The token column points at Puter. The visitor signs in to Puter, every request is authenticated and scoped to that signed in user, and Puter meters it. Your site holds no key, which is a real gain over ranks 6 and 7. The visitor's credential, though, is a Puter session, and the visitor's spending runs through Puter's allowance and Puter's prices.
The accounts column is the trade. A visitor who pays OpenAI for ChatGPT Plus does not spend that plan through Puter. They open a Puter account, use the free allowance and then pay Puter. For your writing tool's users who already pay a chat subscription, Puter adds a second AI account and, past the allowance, a second bill.
Puter's pricing page publishes no allowance size and no overage price on 2 December 2026. You cannot tell a visitor how many answers the free allowance covers before Puter asks them to pay. That gap matters for a writing tool, where a single long draft runs many requests.
What you can ship this week: the script tag, a sign in button that opens Puter, and copy that tells the visitor the allowance and any extra spend belong to their Puter account. The alternatives hub lists free chatbot alternatives where the visitor's own AI plan pays, product by product.
window.ai: an extension that stopped in 2024
window.ai is an open source browser extension, MIT licensed, that lets a user configure AI models and keys once and lets any web page request a completion through an injected window.ai object. A page calls await window.ai.generateText with a prompt, and the extension asks the user for permission and routes the prompt to the model they chose.
The token column was the right design. Keys are stored only locally, inside the extension, and the page never sees them. The user also gets visibility on what each site asks and when. That is the same principle as rank 2, and it is why window.ai ranks third.
The availability column ends the comparison. On 2 December 2026, the latest commit on the GitHub repository is dated 6 August 2024, with the message "add encodeURIComponent for document title (#84)". The repository shows 516 commits and 991 stars. The Chrome Web Store listing is version 0.0.21, updated 17 July 2023, with 4,000 users and a 4.1 rating from 10 ratings. Its supported model list still names GPT-3.5, GPT-4, PaLM 2 and Claude Instant.
The accounts column is limited to API keys and local models served over HTTP. A ChatGPT, Claude or Gemini plan has no entry. A visitor without the extension sees nothing, and the store counts 4,000 users in all.
What you can ship this week: a feature check for window.ai that falls back to another route. Building a launch on window.ai alone means building on an extension with 40 months without a store update. The team fights hub compares bring your own subscription, bring your own key and site paid AI category by category.
Browser built in models: no token, one browser, a hardware floor
Browser built in models are AI models the browser downloads and runs on the visitor's device, exposed to web pages through browser APIs. In Chrome, the Prompt API runs Gemini Nano, Google's on device model. It is stable for web pages from Chrome 148 and for extensions from Chrome 138. Chrome downloads the model separately the first time an origin uses the API.
The token column is empty, which is why this route ranks first. No account signs in and no key exists. The prompt runs on the device, and no provider bills anyone per answer. The visitor pays with disk space, memory and battery.
The hardware column is the cost. The device needs at least 22 GB of free space on the volume holding the Chrome profile. It needs a GPU with strictly more than 4 GB of VRAM, or 16 GB of RAM and 4 CPU cores. The operating system must be Windows 10 or 11, macOS 13 or later, Linux, or ChromeOS on Chromebook Plus devices. The first download needs an unmetered connection. Chrome for Android and iOS are not supported, so every phone visitor falls outside the route.
The model column is the second cost. Gemini Nano is a small on device model. From Chrome 149 it supports English, Spanish, Japanese, German and French for input and output text. Each session has a context window, and a prompt that overflows it fails with a QuotaExceededError. The API is not available in Web Workers. For a writing tool, short rewrites and summaries fit; long drafts and tool calls over your catalogue fit less well.
What you can ship this week: a feature check for the Prompt API on desktop Chrome, with a second route for every other visitor. The multi provider arena covers LiteLLM, OpenRouter, the Vercel AI SDK and TensorPass for the server side of that fallback.
Subscription relays: one person's plans, held on one machine
A subscription relay is a local tool that routes one person's AI subscriptions into that person's own tools and switches accounts when one hits a limit. Subrouter describes itself as "like OpenRouter, but for your personal AI subscriptions". Its supported table lists 10 subscription providers, from Anthropic and OpenAI to xAI, GitHub Copilot and Kimi.
The token column is a file on the relay owner's machine: Subrouter keeps its tokens in ~/.subrouter/auth.json. After a 429 rate limit response, it waits for the provider's retry header or, without one, 5 minutes before using that account again. Both behaviours fit one developer's coding agent.
The availability column closes the route for a website. The Subrouter README states that Subrouter is for personal use only. A relay serves the person whose plans it holds. It has no flow for a stranger on your page to connect their own plan, and pointing your site's chat at your own relay spends your plans on your visitors, which reverses the purpose of the whole arena.
The payer column confirms it. The relay owner pays every subscription the relay holds. Your visitors pay nothing and own nothing in this setup, and your costs scale with your traffic through your own plans.
Coding tools reached the same idea before OpenAI's program. In May 2026 OpenClaw let users power OpenAI agent turns with their existing ChatGPT subscription through OpenAI's Codex authentication route, signing in from the OpenClaw command line to create what OpenClaw called a "subscription-backed Codex auth profile". Dactyl, launched by Ryan Dahl on 24 August 2026, ran its agent on the user's ChatGPT subscription on its US$20 a month Builder plan, first for personal ChatGPT Pro subscribers only. Both serve the person at the keyboard, and both now sit inside or next to Sign in with ChatGPT.
The category still belongs in the ranking because developers search for it next to bring your own AI. A coding agent with Claude Code on a Pro or Max plan, or a relay over several plans, gives one developer a flat monthly cost. It does not give a public site a way to let each visitor answer with their own plan.
What you can ship this week: nothing on the site side. Keep the relay for your own development work.
AI Wallet and AI Connect: the token stays in the visitor's vault
AI Wallet is TensorPass's browser extension that keeps a visitor's AI accounts in an encrypted vault on their computer. AI Connect is the open source SDK a site installs so the visitor answers its chat with an account from that vault. We publish both, and both are free, site key included.
The token column is the reason we built the pair. The vault is sealed with a key made from the visitor's recovery words, which their password unlocks. Keys and sign ins stay in the vault. An approved site receives the answer, the tool calls it asked for and the name of the account that answered. The AI Connect SDK contains no sign in or key handling, so your page and your server never hold the visitor's credential.
The accounts column, read on the providers page on 2 December 2026, lists 21 accounts. Fourteen are sign ins: ChatGPT plan, Grok, Muse, TensorPass plan, GLM, Gemini plan, Claude plan, Qwen, MiniMax, Kimi, OpenRouter, CodeBuddy, MiMo and Nous Portal. Seven are API keys: DeepSeek, OpenAI, Gemini, Claude, Mistral, Perplexity and NVIDIA. Visitors without the extension keep two accounts through a window the page opens: OpenRouter on any site, and the TensorPass plan on a site that passes a site key.
Two details matter for a chat that runs all afternoon. The wallet starts renewing a sign in token one minute before its expiry. It keeps each account's model list for a day. An OpenRouter account defaults to the openrouter/auto model, and the visitor picks other models in the account's settings, because OpenRouter's catalogue is too long to choose from on every site.
The payer column runs on the visitor's side. The inference runs on the visitor's account, so your site pays nothing for it. A plan answers within its own limits, credits draw down the visitor's balance, and an API key is billed by its provider. Your site still hosts its own MCP server for tools such as a catalogue search, and the SDK calls it from the page when the model asks for a tool.
The availability column has dates. The AI Connect SDK is under Apache 2.0, public on GitHub since 12 November 2026. Its four packages are on npm under the @tensorpass scope since 16 November 2026, with provenance signed by the GitHub build, and the changelog reads version 0.1.11 on 29 November 2026. AI Wallet runs in desktop Chrome, Edge, Brave and Opera from the Chrome Web Store, and in desktop Firefox from Firefox Add-ons. The product is weeks old, and your launch plan should treat it that way.
What you can ship this week: the npm packages, the connect window and your MCP server. The providers page in our docs gives the sign in steps and the model list of each account.
Which bring your own key AI route to offer first
Offer the route that reaches the accounts your visitors already pay for, then add a fallback for everyone else. For a writing tool whose users pay ChatGPT or Claude plans, that rules out an API key only design as the first route.
Seven checks order the decision for a public site:
- List the accounts your users pay for. A plan holder needs a plan route; an API key field reaches only the users who hold provider keys.
- Place the token. Prefer the visitor's machine or no token at all, then your server with encryption, then a third party.
- Read the access status. Sign in with ChatGPT sits behind a limited trial for commercial sites on 2 December 2026; OpenRouter OAuth needs no registration.
- Check the device floor. The Chrome Prompt API needs desktop Chrome 148 or later, 22 GB of free disk and qualifying memory, and excludes phones.
- Check maintenance dates. window.ai's last commit is 6 August 2024; Subrouter states personal use only.
- Set spend limits. On OpenRouter OAuth, propose a
limitin US dollars and an expiry shorter than never, since the defaults are no limit and no expiry. - Plan the fallback. Decide what a visitor with no AI account sees: a paid plan, a hosted answer you pay for, or a sign up prompt.
A worked example shows the order. Take a visitor to your writing tool on desktop Chrome who pays for ChatGPT Plus and holds no API key. On a pasted key route, they leave or open an API account. On OpenRouter OAuth, they need OpenRouter credits first. On Puter.js, they open a Puter account and use its allowance. On Sign in with ChatGPT, they would spend their plan within a weekly cap you cannot offer until OpenAI admits your commercial site. On the Prompt API, they answer on Gemini Nano if their machine clears the floor. With AI Wallet installed, they answer with the ChatGPT plan entry from their vault.
Now take the same visitor on a phone. The Prompt API is gone. AI Wallet is desktop only. OpenRouter OAuth, Puter.js and a pasted key remain, each with the account step above. That second visitor is why every plan needs a fallback row.
FAQ: bring your own AI on a website
What is bring your own key AI on a website?
It is a setup where each visitor's own AI account pays for the answers your site's chat gives. The original form is a field where the visitor pastes a provider API key. The wider form covers sign ins such as OpenRouter OAuth and Sign in with ChatGPT, vendor accounts such as Puter, on device models such as Chrome's Gemini Nano, and wallets such as AI Wallet that hold 21 account types on the visitor's computer.
Which route lets a ChatGPT Plus subscriber pay for answers on my site today?
Sign in with ChatGPT draws on Plus and Pro plans, but on 2 December 2026 commercial sites reach it only through a limited trial for selected partners, with 16 launch partners named on 29 September 2026. Open source tools have plan usage now. On a commercial site today, a ChatGPT plan reaches your chat through a wallet that lists a ChatGPT plan sign in, which AI Wallet does among its 14 sign ins.
Is a pasted API key safe on a public page?
A key the browser sends to a provider is readable by anyone with DevTools on that machine. The DEV Community post of 2 November 2026 accepts browser calls only where each user pastes their own key, so the exposure stays with the key's owner. Your duty is to avoid storing it: keep it in memory for the session, and if you store it on your server, encrypt it and tell the visitor who bills the key.
Does OpenRouter OAuth need a backend?
OpenRouter's sample code runs the code exchange in the browser, so the sign in itself works without one. Storage needs one. OpenRouter rules out localStorage, sessionStorage, IndexedDB and cookies readable by JavaScript, and asks for an encrypted server side database or the OS keychain. The code also expires after 10 minutes and works once, so the exchange must run right after the redirect.
Can a visitor without any AI account still use the chat?
On ranks 2 to 8 they need some account or key first. The Chrome Prompt API needs none, on desktop Chrome 148 or later with 22 GB of free disk space. With AI Connect, a visitor without an account can subscribe to the TensorPass plan at US$5, US$20 or US$50 a month, paid by the visitor, on a site that passes a site key.
Is window.ai still a route to build on?
Its design keeps keys only in the extension. Its last GitHub commit is dated 6 August 2024, and the Chrome Web Store still lists version 0.0.21 of 17 July 2023, with 4,000 users. Its model list names GPT-3.5 and Claude Instant. Treat it as a feature check with a fallback, and plan your launch on a maintained route.
How TensorPass helps you ship the visitor's own AI
We build the route ranked second in this arena and give it away to sites. Three parts cover a site from installation to visitors with no AI account.
AI Connect and AI Wallet. The AI Connect SDK, the WordPress plugin, the Shopify app, the Agent Skills, the MCP servers, AI Wallet and the site key are free. The SDK is under Apache 2.0, public on GitHub since 12 November 2026, with four packages on npm since 16 November 2026.
The TensorPass plan. A visitor with no AI account subscribes for US$5 a month (Light), US$20 a month (Pro) or US$50 a month (Max), paid by the visitor. Your site earns 5% of each TensorPass plan payment made from its AI window, for 12 months, with a 60 day hold, paid in USDC once US$50 is available.
Done for you. TensorPass makes a site AI native in under 24 hours, and the service is priced on quote.
Start with the 21 accounts on the providers page, then write to [email protected] with your stack.
Bring your own key AI on your site: the order to ship this week
Ship the open routes first and keep a place for the closed one. This week, a public writing tool site can offer a wallet route that keeps the token on the visitor's machine, an OpenRouter OAuth sign in with a dollar limit and a short expiry, and a Prompt API path for desktop Chrome. Next, file the Sign in with ChatGPT client ID request so your site can join when OpenAI widens the trial beyond its 16 launch partners. Keep pasted keys as the last option and hold them in memory only. Leave window.ai and subscription relays out of the plan. Read each route's column on who holds the token before you add a button, because that column decides what a breach of your site exposes. A bring your own key AI design that starts from the accounts your visitors already pay for reaches the users who asked why your site charges for AI.
Also worth reading:
- The full chart of AI chat options
- Every way to let visitors bring their own AI to a website, compared with TensorPass
- Bring your own subscription, bring your own key or let the site pay
- Three way comparisons for a site chat
Sources:
- Sign in with ChatGPT : OpenAI, developer documentation, read 2 December 2026
- Sign in with ChatGPT quickstart : OpenAI, read 2 December 2026
- OpenAI makes 'Sign in with ChatGPT' a way to use your subscription in third-party developer tools : The New Stack, Paul Sawers, 29 September 2026
- OAuth PKCE : OpenRouter, documentation, read 2 December 2026
- Bring Your Own API Key : Warp Docs, read 2 December 2026
- API Key Exposed in Browser? Check Your OpenAI, Claude or Gemini Key in 2 Minutes : DEV Community, Hassann, 2 November 2026
- Puter.js Pricing: The User-Pays Model : Puter Technologies, read 2 December 2026
- Puter Developer : Puter Technologies, read 2 December 2026
- window.ai repository : GitHub, commit history read 2 December 2026
- Window AI : Chrome Web Store, listing read 2 December 2026
- The Prompt API : Chrome for Developers, updated 21 October 2026
- Get started with built-in AI : Chrome for Developers, read 2 December 2026
- subrouter README : GitHub, remorses, read 2 December 2026
- Providers : TensorPass docs, read 2 December 2026
- AI Wallet : TensorPass, read 2 December 2026
- AI Connect introduction : TensorPass docs, read 2 December 2026
- Changelog : TensorPass docs, 29 November 2026
Questions
- What is bring your own key AI on a website?
- It is a setup where each visitor's own AI account pays for the answers your site's chat gives. The original form is a field where the visitor pastes a provider API key. The wider form covers sign ins such as OpenRouter OAuth and Sign in with ChatGPT, vendor accounts such as Puter, on device models such as Chrome's Gemini Nano, and wallets such as AI Wallet that hold 21 account types on the visitor's computer.
- Which route lets a ChatGPT Plus subscriber pay for answers on my site today?
- Sign in with ChatGPT draws on Plus and Pro plans, but on 2 December 2026 commercial sites reach it only through a limited trial for selected partners, with 16 launch partners named on 29 September 2026. Open source tools have plan usage now. On a commercial site today, a ChatGPT plan reaches your chat through a wallet that lists a ChatGPT plan sign in, which AI Wallet does among its 14 sign ins.
- Is a pasted API key safe on a public page?
- A key the browser sends to a provider is readable by anyone with DevTools on that machine. The DEV Community post of 2 November 2026 accepts browser calls only where each user pastes their own key, so the exposure stays with the key's owner. Your duty is to avoid storing it: keep it in memory for the session, and if you store it on your server, encrypt it and tell the visitor who bills the key.
- Does OpenRouter OAuth need a backend?
- OpenRouter's sample code runs the code exchange in the browser, so the sign in itself works without one. Storage needs one. OpenRouter rules out localStorage, sessionStorage, IndexedDB and cookies readable by JavaScript, and asks for an encrypted server side database or the OS keychain. The code also expires after 10 minutes and works once, so the exchange must run right after the redirect.
- Can a visitor without any AI account still use the chat?
- On ranks 2 to 8 they need some account or key first. The Chrome Prompt API needs none, on desktop Chrome 148 or later with 22 GB of free disk space. With AI Connect, a visitor without an account can subscribe to the TensorPass plan at US$5, US$20 or US$50 a month, paid by the visitor, on a site that passes a site key.
- Is window.ai still a route to build on?
- Its design keeps keys only in the extension. Its last GitHub commit is dated 6 August 2024, and the Chrome Web Store still lists version 0.0.21 of 17 July 2023, with 4,000 users. Its model list names GPT-3.5 and Claude Instant. Treat it as a feature check with a fallback, and plan your launch on a maintained route.