TensorPass

Puter.js alternative: the visitor pays in both, through different accounts

Puter.js and AI Connect both bill the visitor for each AI answer. Puter asks every visitor to open a Puter account; AI Connect runs on the ChatGPT, Claude or Gemini plan they already pay for.

Published on

A Puter.js alternative matters when you want visitors to cover their own AI usage without asking each of them to open one more account. Puter.js and AI Connect both follow a user pays model: the visitor's account pays for each answer and your server holds no API key. The difference sits in the account. Puter asks every visitor to sign in with a Puter account, metered against a free monthly allowance. AI Connect runs on the ChatGPT, Claude or Gemini plan the visitor already pays for, or on an OpenRouter account. This page sets the two side by side on account friction, licences, rate limits and prompt injection guards, with figures checked on 26 November 2026.

Key takeaways:

  • A free Puter account is limited to 30 AI requests per 10 seconds and 3 concurrent requests (November 2026).
  • Puter's tutorial chatbot sends the first 8,000 characters of the page text to the model as a system prompt.
  • The puter.js client package is under Apache 2.0; the Puter platform repository is under AGPL 3.0.
  • The TensorPass plan for visitors with no AI account costs US$5, US$20 or US$50 a month, paid by the visitor.

What the visitor needs and who pays in each model

The visitor needs a Puter account in one model and an AI account they already hold in the other. With Puter.js, the first message a visitor sends opens a Puter sign in popup. That account covers their cloud and AI usage. You cover your own usage like any other Puter user. Each account starts with a free monthly allowance that resets monthly and does not roll over. When it runs out, Puter prompts the visitor to upgrade or buy credits.

With AI Connect, the visitor answers with an account they already have. AI Wallet (the TensorPass browser extension that holds the visitor's AI accounts) signs in to ChatGPT, Claude, Gemini, Grok, OpenRouter and other providers, or stores an API key from OpenAI, Anthropic, Mistral or DeepSeek. A visitor without the extension signs in on the page with OpenRouter, or subscribes to the TensorPass plan when your site sets a site key. AI Wallet runs in desktop Chrome, Edge, Brave and Opera from the Chrome Web Store, and in desktop Firefox, where it has been public since 18 November 2026.

CriterionPuter.jsAI Connect
What the visitor needsA Puter account, opened at the first messageAn existing ChatGPT, Claude or Gemini plan, an OpenRouter account, or the TensorPass plan
Who paysThe visitor, through Puter's allowance then creditsThe visitor, through their own provider account or the TensorPass plan
Licence of the client SDKApache 2.0 (platform repository under AGPL 3.0)Apache 2.0

Both models bill the visitor. The question a Puter.js alternative answers is which account carries the bill: a Puter account opened for your site, or the subscription the visitor already pays each month. The hub page on AI chatbot pricing compared by who pays places both against per token and per conversation billing.

Two licence documents side by side, one long and one short, under a reading lamp

AGPL 3.0 against Apache 2.0 for a Puter.js alternative

The licence question splits in two for Puter. The npm package @heyputer/puter.js (version 2.6.5 in November 2026) declares Apache 2.0 in its package.json. The HeyPuter/puter repository, with 44,300 stars on GitHub, states that its contents, sub-projects, modules and components are under AGPL 3.0 unless explicitly stated otherwise. A site that only loads the client library runs Apache 2.0 code. Self hosting Puter, or modifying its server code, puts you under the AGPL 3.0 (GNU Affero General Public License version 3, published by the Free Software Foundation on 19 November 2007). Its section 13 sets the obligation for a hosted service: "if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version". A commercial site that patches a self hosted Puter must offer its modified server source to every visitor who uses it.

The Apache 2.0 licence (January 2004) grants a perpetual, worldwide, royalty free copyright licence and a patent licence. Its redistribution conditions are four: ship a copy of the licence, mark modified files, keep the existing notices, and include the NOTICE file when one exists. The AI Connect SDK is under Apache 2.0 for its four npm packages, its demo and its WordPress plugin. AI Wallet is separate proprietary TensorPass software. You can fork the SDK, keep your changes private and ship them in a closed product. For a Puter.js alternative used on a commercial site, that is the clause to check first. The open source SDKs compared grid sets these licences next to other chat widgets.

Rate limits and prompt injection guards

Puter's 30 requests per 10 seconds

Puter counts AI rate limits per user and per app, over rolling windows. A paid account gets 200 requests per 10 seconds and 20 concurrent requests. A free account gets 30 requests per 10 seconds and 3 concurrent requests. A temporary guest account gets 20 and 2. Past the limit, Puter returns 429 too_many_requests; an empty balance returns 402 insufficient_funds. A free tool site whose visitors fire three parallel requests (a chat, a summary, a search) reaches the concurrent ceiling of a free account on its first page view. With AI Connect as the Puter.js alternative, the limits are those of the visitor's provider plan, which you do not control either.

Guards in Puter.js and in a Puter.js alternative

Puter's tutorial reads document.body.innerText, keeps the first 8,000 characters and passes them to the model as the system prompt. It does not mention prompt injection. Any review, comment or hidden text on the page reaches the model as instruction. The OWASP Top 10 for LLM Applications 2025 ranks prompt injection first (LLM01) and states that "it is unclear if there are fool-proof methods of prevention for prompt injection". The developer Simon Willison set the bar for injection filters on 16 June 2025: "in web application security 95% is very much a failing grade."

AI Connect 0.1.0 (16 November 2026) wraps the instructions and the tool results in salted envelopes. It adds a question guard against injection in English, French and Hebrew, and an answer guard that cuts the stream at the first leak. Version 0.1.7 (24 November 2026) puts the text of every attached file in its own salted envelope. These guards reduce the risk of indirect prompt injection without removing it.

FAQ: Puter.js, its API key and its alternatives

Does Puter.js need an API key?

No API key is involved on your side. The Puter user pays model runs with no API keys at all. You load one script from js.puter.com and call puter.ai.chat(). The cost moves to the visitor's Puter account, which every visitor must open or sign in to at the first message. You pay for your own usage when you test the app, like any other Puter user.

How many models does Puter.js offer?

Puter.js offers more than 500 models in November 2026, from providers including OpenAI, Anthropic, Google, Alibaba Cloud, xAI and Mistral. The default model of puter.ai.chat() is gpt-5.4-nano. AI Connect gives the visitor the models of the account they bring. A visitor on a Claude plan answers with Claude models; a visitor on OpenRouter picks from the OpenRouter catalogue.

Is AI Connect a Puter.js alternative for a commercial site?

Yes, for a site that loads a client SDK. Both client libraries are under Apache 2.0, so neither imposes source publication on your site. The AGPL 3.0 applies only if you self host and modify the Puter platform. The practical difference is the visitor account: Puter adds an account, AI Connect reuses the visitor's plan or offers the TensorPass plan at US$5 a month and up.

What happens when a visitor has no AI account?

With Puter.js, the visitor opens a free Puter account and uses its monthly allowance, then buys credits. With AI Connect, a visitor without AI Wallet signs in with OpenRouter on the page, or takes the TensorPass plan when your site sets a site key. The TensorPass plan costs US$5 (Light), US$20 (Pro) or US$50 (Max) a month, paid by the visitor.

How TensorPass supports a site moving off Puter.js

Free components. 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 four SDK packages are on npm under the @tensorpass scope since 16 November 2026, with provenance signed by the GitHub build.

The TensorPass plan. Visitors with no AI account subscribe at US$5, US$20 or US$50 a month. Your site earns 5% of each 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. We make a site AI native in under 24 hours, on quote.

The comparison of other bring your own AI tools lists Puter.js, Sign in with ChatGPT and the other options on one page.

Choosing a Puter.js alternative for your free tool site

Count the accounts your visitor must hold before the first answer. Puter.js asks for one new account, a 30 requests per 10 seconds ceiling on free accounts and no guard in its tutorial code. AI Connect asks for an AI account the visitor already pays for, or for OpenRouter, and ships guards against prompt injection. If your audience already pays for ChatGPT, Claude or Gemini, test AI Connect as your Puter.js alternative on one page first and compare sign in completion over a week. The Sign in with ChatGPT compared page covers the OpenAI route as a third Puter.js alternative.

Also worth reading:

Sources:

Questions

Does Puter.js need an API key?
No API key is involved on your side. The Puter user pays model runs with no API keys at all. You load one script from js.puter.com and call puter.ai.chat(). The cost moves to the visitor's Puter account, which every visitor must open or sign in to at the first message. You pay for your own usage when you test the app, like any other Puter user.
How many models does Puter.js offer?
Puter.js offers more than 500 models in November 2026, from providers including OpenAI, Anthropic, Google, Alibaba Cloud, xAI and Mistral. The default model of puter.ai.chat() is gpt-5.4-nano. AI Connect gives the visitor the models of the account they bring. A visitor on a Claude plan answers with Claude models; a visitor on OpenRouter picks from the OpenRouter catalogue.
Is AI Connect a Puter.js alternative for a commercial site?
Yes, for a site that loads a client SDK. Both client libraries are under Apache 2.0, so neither imposes source publication on your site. The AGPL 3.0 applies only if you self host and modify the Puter platform. The practical difference is the visitor account: Puter adds an account, AI Connect reuses the visitor's plan or offers the TensorPass plan at US$5 a month and up.
What happens when a visitor has no AI account?
With Puter.js, the visitor opens a free Puter account and uses its monthly allowance, then buys credits. With AI Connect, a visitor without AI Wallet signs in with OpenRouter on the page, or takes the TensorPass plan when your site sets a site key. The TensorPass plan costs US$5 (Light), US$20 (Pro) or US$50 (Max) a month, paid by the visitor.
Read the quickstartRead the changelog