# AI chatbot for website owners: run it on the visitor's own AI

Source: https://tensorpass.app/blog/guides
Published on 19 November 2026, updated on 20 November 2026.

> An AI chatbot for website visitors costs your site $5.57 per 10,000 answers on gpt-5-mini with your own API key, $9,900 per 10,000 resolutions on a per outcome plan, and $0 in inference when each visitor answers with their own AI account.

An AI chatbot for website visitors costs your site $5.57 per 10,000 answers on gpt-5-mini with your own API key, $9,900 per 10,000 resolved conversations on a per outcome plan, and $0 in inference when each visitor answers with their own AI account. Those three figures describe two arrangements. In the first, the site pays for every answer, through a hosted widget, a per outcome fee or its own provider key, and the bill grows with traffic. In the second, the visitor's ChatGPT, Claude, Gemini or OpenRouter account carries the tokens, and your server holds no provider key. This page sets out the second arrangement next to the first and organises the decision in three parts: how you add the chat, what each payment model costs, and how a chat open to anonymous visitors stays safe. Every figure below carries its date, and every TensorPass test is labelled internal.

> **Key takeaways:**
> - A chat answer of 1,748 input and 60 output tokens costs $0.000557 on gpt-5-mini at list prices read on 12 November 2026; a retrieval answer on Claude Sonnet 5.5 costs $0.01199.
> - Intercom bills Fin at $0.99 per outcome on 19 November 2026, so 10,000 resolved conversations come to $9,900 a month.
> - With AI Connect, the site's inference line is $0 at any traffic; the site still hosts its own MCP server and the chat bundle.
> - On 12 November 2026 our internal pen test passed 108 of 108 guard and MCP checks and 35 of 35 model attacks in English, French and Hebrew.
> - AI Connect is on npm with provenance signed by the GitHub build; AI Wallet is on the Chrome Web Store and Firefox Add-ons.

## Who pays for an AI chatbot for website answers

Every chatbot on a website runs on a **large language model** (LLM), billed per token: a token is a fragment of text of roughly four characters, and providers price input and output tokens separately per million. Someone pays for those tokens on each answer. The market sells one answer to that question: the site pays.

The site pays in three forms. A hosted widget such as Chatbase or Botpress sells a monthly plan with a quota of messages or conversations. Intercom bills its Fin agent per outcome, a resolved conversation. A developer who calls OpenAI or Anthropic directly pays the provider per token on the site's own API key. All three put the inference bill on the site, and the bill rises in proportion to the number of answers served.

The other arrangement moves the bill to the visitor. The visitor already pays for a ChatGPT, Claude or Gemini plan, an OpenRouter balance or an API key. The site asks that account to answer. The **inference bill** (the cost of the model's tokens) lands on the plan the visitor chose, under that provider's terms. The site's cost for the model drops to zero, and the site keeps paying for what it hosts: its pages, the chat bundle and its own tools.

The two arrangements compare on five lines, each with the date of its figure:

| Line | The site pays per answer | The visitor's own AI answers |
| --- | --- | --- |
| Inference at 10,000 chat answers | $5.57 on gpt-5-mini, $40.96 on Claude Sonnet 5.5 (list prices of 12 November 2026) | $0 for the site |
| Hosted per outcome plan at 10,000 resolutions | $9,900 on Fin at $0.99 per outcome (19 November 2026) | Not applicable |
| Provider key on the site's server | Yes, one key for every visitor | None |
| What the site hosts | Backend proxy holding the key, or a vendor widget | Its MCP server and the chat bundle |
| Who sets the model | The site | The visitor's account |

The second column has a price of its own. The visitor needs an AI account or a plan, and the site gives up part of its control over which model answers. The sections below cover both costs.

## What the visitor's own AI changes for your site

**AI Connect** is our open source SDK (software development kit) under the Apache 2.0 licence, public on GitHub since 12 November 2026. It adds an AI chat, a search bar that answers or an AI mode to a site, and it runs each answer on the visitor's own account. **AI Wallet** is the browser extension that holds the visitor's AI accounts in an encrypted, password protected vault on their computer.

The repository lists the accounts AI Wallet supports: ChatGPT, Claude, Gemini, Grok, Muse, GLM, Qwen, MiniMax, Kimi, OpenRouter, CodeBuddy, MiMo and Nous Portal, plus API keys from DeepSeek, OpenAI, Gemini, Anthropic, Mistral, Perplexity and NVIDIA. That is 13 subscription or web accounts and 7 key providers. A visitor without the wallet signs in on the page with OpenRouter or with the TensorPass plan.

The site gets four calls from the wallet: status, connect, disconnect and chat. It cannot read the visitor's keys, the list of their accounts or another site's data. When a visitor who approved your site asks a question, the wallet forwards the conversation and your site's tools to the provider of the account that answers. That provider handles the request under its own terms.

Three other products follow the same visitor pays idea, each with a different account behind it:

- **OpenRouter OAuth with PKCE** (Proof Key for Code Exchange, a sign in flow for apps with no client secret). Each user signs in to OpenRouter, authorises your app and your app receives an API key tied to that user's OpenRouter credits.
- **Sign in with ChatGPT**, from OpenAI. Eligible users use their ChatGPT plan for eligible AI requests in your app. Developers request a client ID first, and the plan usage feature carries a preview limitations page.
- **Puter.js**. Visitors cover their own usage with a Puter account, and the first message opens a Puter sign in popup.

The difference that matters for a developer is the account the visitor needs. Puter asks for a Puter account. Sign in with ChatGPT accepts one provider and an access request. OpenRouter asks for OpenRouter credits. AI Wallet accepts the accounts the visitor already holds, 20 account types in all, and needs no access request from your side.

## Adding the chat: the install routes

You add AI Connect through one of six routes. Each one ends at the same place: a chat on your page that answers on the visitor's account and calls your tools over MCP. Our hub on how to [add an AI chatbot to your website](/blog/guides/add-ai-chat-to-a-website) walks through each route with its full code. The paragraphs below give you the shape of each in one pass.

The four npm packages sit under the `@tensorpass` scope. The core package `@tensorpass/aiconnect` carries the client, the fetch adapter, the tool loop, the MCP client and the guards. `@tensorpass/aiconnect-react` adds the React provider, hooks and interface modules. `@tensorpass/aiconnect-elements` ships the Web Components plus an 8 KB lazy loader. `@tensorpass/aiconnect-design` holds the CSS tokens and the marks.

### AI chatbot for website integration with a script tag and Web Components

The script tag route needs no build step. You serve the `aiconnect-elements.js` bundle from your own origin, load it with a deferred script tag, and place an `aiconnect-chat` or `aiconnect-search` element in your markup. The bundle weighs about 650 KB, or 185 KB gzipped; an optional 8 KB lazy loader ships beside it. On 16 November 2026 a plain HTML page loaded the elements script from jsDelivr and rendered its chat. This route fits a static site, a server rendered template or any page where you do not control a JavaScript build.

### React, Next.js and other frameworks

React projects install two packages with `npm install @tensorpass/aiconnect @tensorpass/aiconnect-react`. The React package needs React 19 or later. On 16 November 2026 a fresh app on Next.js 16.4.6 and React 19.3.1 installed the packages from npm with no `transpilePackages` setting, built, and passed 12 of 12 visitor checks against the live sign ins. Projects on Vue, Svelte or Astro use the Web Components route or the core client, which runs without React. If you already call a model through the OpenAI, Anthropic, Google Gen AI, Vercel AI SDK or LangChain clients, you pass AI Connect's fetch to that client and every call answers through the visitor's wallet.

### WordPress and Shopify

The WordPress plugin adds a block, a shortcode and an MCP server of your posts. It needs WordPress 6.5 or later and PHP 8.1. It is not in the plugin directory yet: you build it as a zip with the repository's script. The Shopify app adds a theme app extension that serves your catalogue over MCP. It is not on the Shopify App Store yet. Both are free, like the rest of the components.

### Coding agents and Agent Skills

If you work through a coding agent such as Claude Code, Cursor or Codex, start with our five Agent Skills, installed with `npx skills add tensorpass/aiconnect`. In Claude Code, `/plugin marketplace add tensorpass/aiconnect` then `/plugin install aiconnect@tensorpass` adds a docs MCP server at tensorpass.app/mcp and an account MCP server. The account server carries the `aiconnect` command that creates your **site key**, the free identifier that lets visitors without the wallet sign in to the TensorPass plan from your page. Outside Claude Code, `npx @tensorpass/aiconnect site-key shop.example` creates the same key.

### Tools on your MCP server

The **Model Context Protocol** (MCP) is the open protocol a model uses to call tools. Your site keeps its own tools, such as a catalogue search or an order lookup, and exposes them on an MCP server you run. The SDK calls that server from the visitor's browser over Streamable HTTP, adds each result to the conversation and asks the model again. Your server validates each call's arguments against the tool's `inputSchema`, caps string lengths, array sizes and a maximum `limit`, and returns its data as text, usually JSON. Serving it on your own domain at a path such as `/api/mcp` removes any CORS setup.

The order below covers the six steps from an empty project to a chat in production:

1. **Pick the route.** Script tag for a page without a build, React for a React or Next.js app, the plugin for WordPress, the app for Shopify.
2. **Install the packages.** Two npm packages for React, one bundle file for the script tag.
3. **Create the site key.** One command, free, needed only for visitors without the wallet.
4. **Expose your tools.** One MCP server on your origin, with schemas that cap every input.
5. **Run the guards.** They run on every conversation by default; check that the answer filter knows your allowed hosts.
6. **Test with a visitor account.** Sign in with OpenRouter on `localhost`, ask a question that calls a tool, and check the answer and the tool log.

![Four payment models for a website chat compared as stacks of token costs](https://renderings.laboetie.io/media/10ODSI0l4y6jiO0sBI54g/w2560)

## What each payment model costs a site

Four payment models cover the market on 19 November 2026. Our hub on [AI chatbot pricing by who pays](/blog/guides/ai-chatbot-costs-and-alternatives) keeps the full price tables and their dates. The comparison below normalises each model to 10,000 units a month.

**The site's own API key.** Our cost study multiplies token counts by list prices read on 12 November 2026, with no prompt caching or batch discount. A chat answer of 1,748 input tokens and 60 output tokens costs $0.000557 on gpt-5-mini, at $0.25 per million input tokens and $2.00 per million output tokens. A retrieval answer of 3,865 input and 426 output tokens costs $0.00181825 on the same model. On Claude Sonnet 5.5, at $2.00 in and $10.00 out per million, the chat answer costs $0.004096 and the retrieval answer $0.01199. Across eight models the cheapest and the dearest differ by a factor of 40. Input carries 85 % of the cost of a Sonnet chat answer. At 10,000 answers the bill runs from $5.57 on gpt-5-mini to $119.90 for retrieval on Sonnet; at 1,000,000 chat answers it runs from $204.80 on Claude Haiku 5.5 to $8,192 on Claude Opus 5.5. You also host the proxy that holds the key, and every visitor shares that key's rate limit.

**The per outcome fee.** Intercom bills Fin at $0.99 per outcome on 19 November 2026, charged at most once per conversation and not charged when Fin cannot answer or the customer asks for a human. Fin on another helpdesk carries a $49 monthly minimum that includes 50 outcomes; on the Intercom helpdesk the minimum is one seat at $19. Ten thousand resolved conversations come to $9,900.

**The subscription with a quota.** Chatbase lists Basic at $150 a month with 4,000 message credits and Business at $500 a month with 15,000, on monthly billing, and sells extra credits at $40 per 1,000. At one credit per answer, 10,000 answers fit the $500 Business plan or cost $390 on Basic with 6,000 extra credits. Botpress lists Plus at $150 a month billed annually with 250 conversations, extra conversations at $0.65 each in packs of 100, and $0.10 of AI usage included per conversation. Ten thousand conversations on Plus cost $6,520.

**The visitor's own AI.** With AI Connect the site's inference line is $0 for every row of the three cost tables in our study. The SDK, the plugins, the Agent Skills, the MCP servers, AI Wallet and the site key are free. What the site keeps paying is its hosting: the MCP server, the 185 KB gzipped bundle and the pages around them.

| Model | Unit billed | Price read | Cost at 10,000 units a month |
| --- | --- | --- | --- |
| Own API key, gpt-5-mini chat | Token | $0.25 in, $2.00 out per million (12 Nov 2026) | $5.57 |
| Own API key, Sonnet 5.5 retrieval | Token | $2.00 in, $10.00 out per million (12 Nov 2026) | $119.90 |
| Fin per outcome | Resolved conversation | $0.99 (19 Nov 2026) | $9,900 |
| Chatbase Business | Message credit | $500 for 15,000 (19 Nov 2026) | $500 |
| Botpress Plus | Conversation | $150 for 250, then $0.65 (19 Nov 2026) | $6,520 |
| AI Connect | None for inference | $0 | $0 plus MCP hosting |

### The alternatives buyers compare

Buyers who search for the best AI chatbot for a website compare hosted widgets on monthly plan, setup time and channels. Chatbase, Botpress and Fin are agents with their own dashboards, training on your URLs and a support workflow behind them; their fee pays for that workflow as well as the tokens. Puter.js, Sign in with ChatGPT and OpenRouter OAuth are developer building blocks where the visitor pays. AI Connect sits in the second group and adds the guards, the MCP tool loop and the wallet. A support team that needs ticket routing and human handover gets those from a helpdesk product. A site that needs answers over its own catalogue, at a cost that stays flat as traffic grows, fits the visitor pays group.

## A worked example: one catalogue site at 10,000 questions a month

Take a bookshop with a catalogue search tool on its MCP server. Its chat serves 10,000 answers a month, and each answer retrieves catalogue entries before it replies. That workload matches the retrieval profile of our cost study: 3,865 input tokens and 426 output tokens per answer, priced at list rates read on 12 November 2026.

1. **Own key on gpt-5-mini.** Each answer costs $0.00181825, so 10,000 answers cost $18.18 a month and $218.16 a year.
2. **Own key on Claude Sonnet 5.5.** Each answer costs $0.01199, so 10,000 answers cost $119.90 a month and $1,438.80 a year.
3. **Own key with iterative retrieval on Sonnet 5.5.** The pipeline runs 12,814 input and 1,207 output tokens per answer, at $0.037698 each, or $376.98 a month.
4. **Per outcome plan.** If every one of the 10,000 conversations resolves on Fin at $0.99, the month costs $9,900 and the year $118,800.
5. **The visitor's own AI.** The inference line is $0 at 10,000 answers and at 1,000,000. The bookshop pays to host its MCP server and to serve the 185 KB gzipped bundle.

Traffic changes the first four rows in proportion. A month at 20,000 retrieval answers on Sonnet 5.5 costs $239.80, and a month at 1,000,000 costs $11,990. The fifth row stays at $0 for the site, because each extra answer bills to the account of the visitor who asked it. The bookshop's own costs in that row follow its MCP traffic: each tool call is one HTTP request to its server.

The table hides one cost on the own key rows. One key serves every visitor, so every visitor shares that key's rate limit, and a bot that floods the chat spends the site's budget. On the fifth row a flood spends the attacker's own account.

## AI chatbot for website security on a public page

A chat open to anonymous visitors is an input field that reaches a model with your instructions and your tools. **Prompt injection** is the attack where text written by a visitor, or planted in a page or a tool result, overrides those instructions. It sits first in the OWASP Top 10 for LLM Applications 2025 as LLM01:2025. The same list names system prompt leakage (LLM07:2025), improper output handling (LLM05:2025), excessive agency (LLM06:2025) and unbounded consumption (LLM10:2025), and each one applies to a public chat.

Simon Willison, the developer who coined the term, describes the root of the problem: "I coined the term prompt injection a few years ago, to describe this key issue of mixing together trusted and untrusted content in the same context." His **lethal trifecta** (access to private data, exposure to untrusted content and the ability to communicate externally) gives you a test for each tool you expose. A tool that reads private data, in a chat that accepts untrusted text, with an answer that renders links, carries all three. Our hub on [AI chatbot security for a public site](/blog/guides/website-chatbot-security) goes through each OWASP entry against a website chat.

The visitor pays arrangement changes two items on the OWASP list. Unbounded consumption stops costing the site money, because each visitor's own plan or budget absorbs their tokens; a bot that floods your chat spends its own account. A leaked provider key stops being a risk, because the site holds none. The other eight items stay with you.

AI Connect runs three guards on every conversation by default:

1. **Salted delimiters.** A random salt marks where instructions and tool results begin and end, so text planted in a page or a tool result arrives as data.
2. **Question guard.** Questions that try to replace the instructions stop before they reach the model.
3. **Answer guard.** An answer halts at the first unsafe piece, such as leaked instructions, a link outside your allowed hosts or an internal name, and a safe fallback replaces it.

Your MCP server keeps one job the guards cannot do for it. Anyone can call it without your page, so it validates every argument and decides what each caller may do. Treat each tool as a public API endpoint, with the same input limits, authentication and rate limits.

### Control when the visitor chooses the model

The visitor pays arrangement hands one decision to the visitor: the provider that answers. A visitor on Claude gets a Claude answer, a visitor on a Gemini plan gets a Gemini answer, and a visitor on the TensorPass Light plan gets the Quick level. Your instructions, your tools and the guards stay identical across all of them. The model behind them changes.

That change matters for security. Our pen test result of 35 of 35 conversations holds for `claude-haiku-5-5`, and one attack passed on that same model before a rule was added. A different model follows formatting requests and refusal rules in its own way. Test your instructions on the two or three providers your audience holds, keep tools that change data behind your own authentication, and keep the answer filter's allowed hosts short. The site keeps full control over what its MCP server returns, which is the part of the answer that carries your data.

### What the site sees of a conversation

Our privacy page, updated on 17 November 2026, states the flow in its own words: "When a site you approved asks a question, the wallet sends the conversation and the site's tools to the provider of the account that answers, with that account's credential. The provider handles it under its own terms. The site receives the answer; the wallet gives it no way to read your credentials, your other accounts or your other conversations."

Your MCP server receives the arguments of each tool call the model makes. Your logs therefore hold what the model asked your tools, and your own retention rules apply to them. On the TensorPass plan, the privacy page reads: "Our server keeps no conversation of the plan. It keeps a usage record of each answer to count the month's budget." On the wallet: "The wallet sends us no analytics, usage data or crash reports."

## What we have measured, with dates

Four measurements back the claims on this page. Each carries its date and its scope, and the security one is an internal audit, with no third party involved.

**The cost of one answer, 12 November 2026.** We took token counts from published workloads: 1,748 input and 60 output tokens for a chat turn from a university admissions chatbot in production, 3,865 and 426 for plain retrieval, 12,814 and 1,207 for iterative retrieval. We multiplied them by list prices of eight models read that day. The results are calculations at list price, not measured bills. A gpt-5-mini chat answer costs $0.000557; an iterative retrieval answer on Claude Sonnet 5.5 costs $0.037698, which is $376.98 per 10,000.

**The visitor checks, 16 November 2026.** A fresh Next.js 16.4.6 app installed AI Connect from npm and passed 12 of 12 visitor checks against the live sign ins. The checks simulated a visitor with no AI Wallet. They covered the connect card with both sign ins, the TensorPass sign in accepting the site key on `localhost`, the OpenRouter popup returning to the app's own page, and the page calling OpenRouter's real key exchange with its PKCE verifier.

**The internal pen test, 12 November 2026.** We attacked the chat on the tensorpass.app home page and our docs MCP server. The guards and the server passed 108 of 108 checks. On the model `claude-haiku-5-5`, 35 of 35 conversations passed: 21 direct attacks stopped by the question guard, 4 direct attacks that reached the model, 2 attacks spread over several messages, 4 plain questions and 4 questions with planted content. Of the 25 direct attacks, 19 were in English, 3 in French and 3 in Hebrew. A leak audit of 17 scripts on the live home page found 0 internal service names and 0 server addresses.

**What failed before the pass.** One attack went through before the 35 of 35: a JSON escape that asked for an extra debug field carrying a code. No injection pattern matches a formatting request, so the question guard let it pass, and the model complied. On 12 November 2026 we added an instruction rule against echoing visitor supplied codes or adding fields such as debug, and the next run passed all 35 conversations.

The test has three limits you should weigh. The 35 of 35 holds for one model; rerun it with the model your visitors use most. The answer guard works after generation, so pieces streamed before a pattern was complete showed until the safe answer replaced them. The model mode of the test needs an API key and runs by hand, outside continuous integration. The guards reduce the risk of prompt injection; they do not remove it.

## What is not ready yet

AI Connect is on npm, with provenance signed by the GitHub build. Version 0.1.0 reached npm on 16 November 2026 from a computer with no provenance; 0.1.1 followed the same day at 02:22 UTC from the public repository's release workflow, with provenance on every package.
AI Wallet runs in desktop Chrome, Edge, Brave and Opera from the Chrome Web Store, and in desktop Firefox from Firefox Add-ons since 18 November 2026. A Safari version is planned. Visitors in Safari and on phones reach your chat without the wallet, so the OpenRouter sign in and the TensorPass plan carry that traffic. The WordPress plugin is not in the plugin directory and the Shopify app is not on the App Store; both install from the repository. Show the sign in options in your chat's empty state.

## Visitors with no AI account

A visitor with no AI account gets the **TensorPass plan**, a monthly AI subscription we launched on 15 November 2026. Light costs US$5 a month and answers on the Quick level. Pro costs US$20 a month and adds Smart. Max costs US$50 a month and adds Expert. The visitor pays. Each plan holds a monthly budget; a warning shows at 80 % spent, and at full use answers stop until the month renews.

The plan appears in the connect window of every site built with AI Connect, and your site key lets visitors without the wallet sign in to it on your page. 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. A refund of the payment cancels its share. You claim the share with a DNS record on your domain. The share is a commission on payments; its amount depends on how many visitors subscribe from your window, and we give no forecast of it.

## FAQ: AI chatbot for website questions

### How much does an AI chatbot for website traffic cost per month?

It depends on who pays for each answer. On your own API key, 10,000 chat answers cost $5.57 on gpt-5-mini at list prices of 12 November 2026. A per outcome plan such as Fin bills $0.99 per resolved conversation, so 10,000 resolutions cost $9,900. Chatbase Business lists 15,000 message credits for $500 a month. With AI Connect the inference line is $0, and you pay only to host your MCP server and the chat bundle.

### Does the visitor need an AI account to use the chat?

Yes, the visitor needs an account or a plan to get an answer. A visitor with AI Wallet answers with a ChatGPT, Claude, Gemini, OpenRouter or other supported account. A visitor without the wallet signs in on your page with OpenRouter or subscribes to the TensorPass plan from US$5 a month. On 16 November 2026 both sign ins passed 12 of 12 visitor checks in a fresh Next.js app installed from npm, including OpenRouter's real key exchange with its PKCE verifier.

### Can I choose which model answers on my site?

You set the instructions and the tools; the visitor's account sets the provider. A visitor on Claude answers with Claude, and a visitor on the TensorPass Light plan answers on the Quick level. Our pen test of 12 November 2026 passed 35 of 35 conversations on one model, `claude-haiku-5-5`, and recommends rerunning it with the model your visitors use most. Test your prompts and guards on the two or three providers your audience holds.

### Is a public AI chat safe against prompt injection?

The guards lower the risk without removing it. Prompt injection ranks first in the OWASP Top 10 for LLM Applications 2025. AI Connect runs salted delimiters, a question guard and an answer guard on every conversation. Our internal pen test on 12 November 2026 passed 108 of 108 guard and MCP checks and 35 of 35 model attacks, after one fix. The guards reduce the risk, and your MCP server still validates every argument it receives.

### What does my server still host and pay for?

Your site hosts its MCP server, which serves your tools, validates their arguments and answers your page's origin over Streamable HTTP. It also serves the `aiconnect-elements.js` bundle, about 650 KB or 185 KB gzipped, and an optional sign in return page. The SDK, the plugins, the Agent Skills, AI Wallet and the site key are free. The model's tokens bill to the visitor's account.

### Is AI Connect ready for production?

AI Connect is on npm with provenance signed by the GitHub build, under Apache 2.0. AI Wallet runs in desktop Chrome, Edge, Brave and Opera from the Chrome Web Store, and in desktop Firefox from Firefox Add-ons since 18 November 2026. A Safari version is planned. Our own home page at tensorpass.app runs the chat. Until the wallet clears review, plan for visitors who arrive through the OpenRouter sign in or the TensorPass plan.

## How TensorPass helps you ship the chat

We build the pieces that let your visitors answer with their own AI, and we keep every component free for the site.

**The SDK and its plugins.** 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 and on npm since 16 November 2026.

**The TensorPass plan.** Visitors with no AI account subscribe at US$5, US$20 or US$50 a month, and 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.

**The done for you service.** We make a site AI native in under 24 hours, priced on quote. Questions go to hello@tensorpass.app, and vulnerability reports to security@tensorpass.app.

The developer page lists the quickstarts, the Agent Skills and the site key command: [start building on the TensorPass developer page](/developers).

## Where to start your AI chatbot for website rollout

Pick the route that matches your stack this week, and measure before you widen it. A Next.js or React site starts with two npm packages and one MCP server on `/api/mcp`. A static site starts with the elements bundle. A WordPress or Shopify site starts with the plugin or the app from the repository. Run one tool, one guard configuration and one sign in on `localhost`, then put the chat on a single page.

Your first measurement is the cost line. Count the answers your chat served in its first month and price them at your provider's list rate: that figure is the bill your visitors' accounts absorbed. Your second is the security line: rerun the attack set against your own prompts with the model your visitors use most. An AI chatbot for website traffic that grows stays at $0 in inference for your site, and you keep hosting its MCP server.

**Also worth reading:**

- [Add an AI chatbot to your website with no API key on your server](/blog/guides/add-ai-chat-to-a-website)
- [AI chatbot pricing compared by who pays for each answer](/blog/guides/ai-chatbot-costs-and-alternatives)
- [AI chatbot security for a public website, with a measured test of our own chat](/blog/guides/website-chatbot-security)
- [The TensorPass developer page](/developers)

**Sources:**

- [The cost of one AI answer on a website's own API key](https://tensorpass.app/blog/studies/costs/cost-of-one-ai-answer) : TensorPass, 12 November 2026, updated 18 November 2026
- [Attacking our own AI chat: the pen test of the tensorpass.app home page](https://tensorpass.app/blog/studies/security/attacking-our-own-ai-chat) : TensorPass, 12 November 2026
- [AI Connect 0.1.0 is on npm](https://tensorpass.app/blog/announcements/releases/aiconnect-on-npm) : TensorPass, 16 November 2026
- [The TensorPass plan: an AI subscription for people with no AI account](https://tensorpass.app/blog/announcements/products/tensorpass-plan) : TensorPass, 15 November 2026
- [AI Connect repository (Apache 2.0)](https://github.com/tensorpass/aiconnect) : GitHub, read 19 November 2026
- [AI Connect docs, MCP tools guide](https://tensorpass.app/docs/guides/mcp-tools) : TensorPass, read 19 November 2026
- [Privacy](https://tensorpass.app/privacy) : TensorPass, updated 17 November 2026
- [AI Connect docs, introduction](https://tensorpass.app/docs) : TensorPass, read 19 November 2026
- [Fin pricing](https://fin.ai/pricing) : Intercom, read 19 November 2026
- [Chatbase pricing](https://www.chatbase.co/pricing) : Chatbase, read 19 November 2026
- [Botpress pricing](https://botpress.com/pricing) : Botpress, read 19 November 2026
- [How to Add an AI Chatbot to Your Website](https://developer.puter.com/tutorials/add-ai-chatbot-to-your-website/) : Puter, 4 May 2026
- [Sign in with ChatGPT](https://developers.openai.com/siwc) : OpenAI developer documentation, read 19 November 2026
- [OAuth PKCE](https://openrouter.ai/docs/use-cases/oauth-pkce) : OpenRouter documentation, read 19 November 2026
- [OWASP Top 10 for LLM Applications 2025](https://genai.owasp.org/llm-top-10/) : OWASP GenAI Security Project, 2025
- [The lethal trifecta for AI agents: private data, untrusted content, and external communication](https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/) : Simon Willison, 16 June 2025

## Questions

**How much does an AI chatbot for website traffic cost per month?**
It depends on who pays for each answer. On your own API key, 10,000 chat answers cost $5.57 on gpt-5-mini at list prices of 12 November 2026. A per outcome plan such as Fin bills $0.99 per resolved conversation, so 10,000 resolutions cost $9,900. Chatbase Business lists 15,000 message credits for $500 a month. With AI Connect the inference line is $0, and you pay only to host your MCP server and the chat bundle.

**Does the visitor need an AI account to use the chat?**
Yes, the visitor needs an account or a plan to get an answer. A visitor with AI Wallet answers with a ChatGPT, Claude, Gemini, OpenRouter or other supported account. A visitor without the wallet signs in on your page with OpenRouter or subscribes to the TensorPass plan from US$5 a month. On 16 November 2026 both sign ins passed 12 of 12 visitor checks in a fresh Next.js app installed from npm, including OpenRouter's real key exchange with its PKCE verifier.

**Can I choose which model answers on my site?**
You set the instructions and the tools; the visitor's account sets the provider. A visitor on Claude answers with Claude, and a visitor on the TensorPass Light plan answers on the Quick level. Our pen test of 12 November 2026 passed 35 of 35 conversations on one model, `claude-haiku-5-5`, and recommends rerunning it with the model your visitors use most. Test your prompts and guards on the two or three providers your audience holds.

**Is a public AI chat safe against prompt injection?**
The guards lower the risk without removing it. Prompt injection ranks first in the OWASP Top 10 for LLM Applications 2025. AI Connect runs salted delimiters, a question guard and an answer guard on every conversation. Our internal pen test on 12 November 2026 passed 108 of 108 guard and MCP checks and 35 of 35 model attacks, after one fix. The guards reduce the risk, and your MCP server still validates every argument it receives.

**What does my server still host and pay for?**
Your site hosts its MCP server, which serves your tools, validates their arguments and answers your page's origin over Streamable HTTP. It also serves the `aiconnect-elements.js` bundle, about 650 KB or 185 KB gzipped, and an optional sign in return page. The SDK, the plugins, the Agent Skills, AI Wallet and the site key are free. The model's tokens bill to the visitor's account.

**Is AI Connect ready for production?**
AI Connect is on npm with provenance signed by the GitHub build, under Apache 2.0. AI Wallet runs in desktop Chrome, Edge, Brave and Opera from the Chrome Web Store, and in desktop Firefox from Firefox Add-ons since 18 November 2026. A Safari version is planned. Our own home page at tensorpass.app runs the chat. Until the wallet clears review, plan for visitors who arrive through the OpenRouter sign in or the TensorPass plan.

## Adding AI chat to a website

- [Add AI Chatbot to Website With No API Key on Your Server](https://tensorpass.app/blog/guides/add-ai-chat-to-a-website): Three ways to pay for AI chat on a website, priced at 1,000 answers: a hosted widget, your own API key at $0.557 on gpt-5-mini, or the visitor's own AI through AI Connect at $0 inference. Every install path, from a script tag to Shopify.
- [Agent Skills: let Claude Code, Cursor or Codex add the AI chat for you](https://tensorpass.app/blog/guides/add-ai-chat-to-a-website/let-claude-code-cursor-or-codex-add-the-ai-chat-with-agent-skills): With Agent Skills, Claude Code, Cursor or Codex can add an AI chat to your site in one session: five TensorPass skills, two MCP servers and one prompt install the chat, connect your tools and harden it.
- [Next.js AI chatbot tutorial with no key on your server](https://tensorpass.app/blog/guides/add-ai-chat-to-a-website/ship-a-nextjs-ai-chatbot-with-no-route-handler-holding-your-key): This Next.js AI chatbot tutorial removes app/api/chat/route.ts and the provider key it holds. Each answer counts against the visitor's own AI account, and your server keeps only the MCP tools it hosts.
- [Choosing a React AI chat component for a site with real traffic](https://tensorpass.app/blog/guides/add-ai-chat-to-a-website/choosing-a-react-ai-chat-component-for-a-production-site): Choosing a React AI chat component for a site with 200,000 monthly visits comes down to two numbers: what each answer costs you and where the checks against prompt injection run.
- [Give Your Site's AI Chat Real Tools: An MCP Server for Websites](https://tensorpass.app/blog/guides/add-ai-chat-to-a-website/give-your-sites-ai-chat-real-tools-with-an-mcp-server): An MCP server for websites lets your public AI chat answer from your live catalogue: four tools, JSON Schemas the model reads, Streamable HTTP and CORS, auth for anonymous visitors and the monthly hosting bill.
- [Build a RAG chatbot for website content you host, served as an MCP tool](https://tensorpass.app/blog/guides/add-ai-chat-to-a-website/build-a-rag-chatbot-over-your-own-website-content): A RAG chatbot for website content costs about $0.05 to embed 3,000 pages once at November 2026 list prices. Keep the index on your server, serve retrieval as an MCP tool, and let the visitor's own AI write and cite the answer.

## AI chatbot costs and alternatives

- [AI chatbot pricing compared by who pays for each answer](https://tensorpass.app/blog/guides/ai-chatbot-costs-and-alternatives): AI chatbot pricing runs from $0 to about $66,700 a month for the same 100,000 answers, and the gap comes from one variable: who pays for each answer.
- [Sign in with ChatGPT, ChatGPT Sites and AI Connect, side by side](https://tensorpass.app/blog/guides/ai-chatbot-costs-and-alternatives/sign-in-with-chatgpt-chatgpt-sites-and-ai-connect-side-by-side): Sign in with ChatGPT lets an eligible subscriber spend their ChatGPT plan inside your app, but a commercial website reaches it only through a limited trial and a client ID OpenAI issues on request. Here is how it compares with ChatGPT Sites and AI Connect.
- [Open source AI chatbot for website: nine SDKs, widgets and platforms on one grid](https://tensorpass.app/blog/guides/ai-chatbot-costs-and-alternatives/open-source-chatbot-sdks-and-widgets-for-a-website-compared): Nine projects compared for an open source AI chatbot for website use, shipping under four licences: MIT, Apache 2.0, AGPL 3.0 and FSL. Only two let an answer run without the site paying for the model.
- [Best AI chatbot for website owners: 7 tools compared by who pays for each answer](https://tensorpass.app/blog/guides/ai-chatbot-costs-and-alternatives/best-ai-chatbots-for-a-website-tested-with-their-payment-model): On 23 November 2026, 1,000 AI answers a month cost a site between $0 and $1,009 across Intercom Fin, Tidio Lyro, Chatbase, Botpress, SiteGPT, Crisp and AI Connect. Criteria first, then prices, free tiers and payment models.

## Website chatbot security

- [AI chatbot security for a public website, with a measured test of our own chat](https://tensorpass.app/blog/guides/website-chatbot-security): AI chatbot security for a public website: each risk of a public chat mapped to its guard, our internal test of 12 November 2026 (108 of 108 checks, 35 of 35 model attacks) and a launch checklist with pass rules.
- [A chatbot security testing checklist to run before launch day](https://tensorpass.app/blog/guides/website-chatbot-security/security-testing-checklist-to-run-before-your-chatbot-goes-live): A chatbot security testing checklist for a public site holds six checks: direct injection, indirect injection, prompt leakage, output handling, tool abuse and rate limits, each with a payload, a tool and a pass rule.
- [Indirect prompt injection through your own pages, reviews and tool results](https://tensorpass.app/blog/guides/website-chatbot-security/indirect-prompt-injection-through-your-own-pages-reviews-and-tool-results): Indirect prompt injection is an instruction planted in content your chat reads on its own: a product review, a seller listing, a CMS page or a tool result. In June 2025 one such flaw in Microsoft 365 Copilot scored 9.3 on the CVSS scale.
- [How to prevent prompt injection in a website chatbot, layer by layer](https://tensorpass.app/blog/guides/website-chatbot-security/how-to-prevent-prompt-injection-in-a-website-chatbot): How to prevent prompt injection in a website chatbot: four guards in order (input, envelope, stream, output), least privilege on tools, and our internal test of 12 November 2026.