Can I put ChatGPT on my website? 3 real options (2026)

You can't embed ChatGPT itself, and custom GPTs retire 11 Dec 2026. What works: the OpenAI API, a WordPress plugin, or a hosted chatbot.

No, you can't put ChatGPT itself on your website. OpenAI has no embed code for chatgpt.com, and a custom GPT only opens inside ChatGPT. What you can add is a chat window that calls an AI model and answers from your own pages. There are three ways: build on the OpenAI API, use a WordPress plugin with your own API key, or paste a hosted chatbot's snippet.

If a client has asked for a custom GPT, steer them away: OpenAI retires custom GPTs on 11 December 2026.

Pick by who fixes it when it breaks on a Saturday night: your developer, you, or the vendor. We make Laddu Chat, which is option 3, so we'll also tell you when it's the wrong pick.

Why can't I just embed ChatGPT?#

ChatGPT is OpenAI's own app, tied to a ChatGPT login. There's no "copy embed code" button, and an iframe won't work either: chatgpt.com sends a frame-ancestors 'self' security header, so browsers refuse to show it inside another site's page. And when a client says "ChatGPT on our website", they almost never mean ChatGPT. They mean a chat window on their own site that answers from their price list and policies, with an OpenAI (or other) model behind it.

A general chatbot guesses; a bot trained on your pages quotes them

Custom GPTs don't solve it either. A custom GPT lives inside ChatGPT. You can put its link on your site, but visitors leave your page to use it, you don't see what they asked, and you can't capture a lead. And if you were about to build one, OpenAI's help centre (checked 20 November 2026) says:

  • New GPT creation and publishing isn't available on personal accounts (Free, Go, Plus, Pro).
  • Standard retirement of custom GPTs is scheduled for 11 December 2026. OpenAI is moving them to plugins inside ChatGPT, which don't run on your site either.

A tutorial that promises to "embed your GPT" is really an API build or a third-party wrapper that calls the API for you. Either way you end up at option 1 or 3 below, so skip the GPT and start there.

How to put ChatGPT on your website: 3 options compared#

1. Build on the OpenAI API2. WordPress plugin + your API key3. Hosted chatbot builder (e.g. Laddu Chat)
Who it suitsYou have a developer, or are oneWordPress sites, including freelancers on a care plan who are happy to manage an API keyNo developer, or a freelancer who doesn't want to maintain chat code on client sites; any site where you can paste a script
Setup timeHours for a demo, days to do retrieval, UI and abuse limits properlyAn afternoonMinutes to add sources and paste the snippet; testing takes longer
Answers from your content?Only if you build the retrieval stepDepends on the plugin and tierYes, from the pages, PDFs and text you add
Cost modelOpenAI per token, plus hosting and dev timePlugin licence (if any) plus your own OpenAI billMonthly subscription with an answer allowance
Who maintains itYou: model changes, bugs, rate limitsYou: plugin updates, key, spend limitsThe vendor runs it; you keep sources current
Lead captureBuild itPlugin-dependentLaddu: yes, on all plans (turn on lead fields in Configure)
Model choiceAny model you likeUsually your pick of providerLaddu: no model choice

Three ways to put a ChatGPT-style chatbot on a website compared

Option 1: Build on the OpenAI API (for developers)#

This is the "real ChatGPT" route: the same family of models, through OpenAI's API. You write a small server endpoint, a chat window, and the part that finds your content.

The rule that matters most: the API key never goes in the browser. Your page posts the visitor's question to your own endpoint (/api/chat), your server adds the key and calls OpenAI's Responses API, and the page only sees the answer. Put a key in front-end JavaScript and anyone can copy it and run up your bill.

What you have to build yourself:

  1. Retrieval. The model doesn't know your prices. Upload your pages and PDFs to an OpenAI vector store and give the model the file search tool, or run your own search and pass the matching passages with each question.
  2. The chat window. OpenAI's ChatKit gives you an embeddable chat UI, but it still needs your server to create sessions. OpenAI set its no-code Agent Builder path to shut down on 30 November 2026, so new projects use the custom server integration.
  3. Limits. Cap message length, add per-visitor rate limits, and set a monthly budget in your OpenAI account. A public chat box gets abused.
  4. Conversation history and leads. Each API call stands alone. If you want to read past chats or collect emails, you store them.

What it costs to run. Token prices are low; your time isn't. A worked example for 1,000 visitor questions a month, assuming about 3,000 input tokens per answer (your instructions, the retrieved passages and the last few turns) and 300 output tokens, at OpenAI's list prices checked on 20 November 2026:

ModelTokensFile search (1,000 calls at $2.50 per 1k)Total per month
gpt-6-luna ($0.10 in / $0.50 out per 1M tokens)$0.45$2.50about $3
gpt-6.1-sol ($2.00 in / $10.00 out per 1M tokens)$9.00$2.50about $12

Add hosting for the endpoint, and vector storage over 1 GB at $0.10 per GB per day (a small business site is far under 1 GB). If a developer already looks after your site, this is the cheapest option to run. If you're paying for the build, price it in hours: retrieval, the chat window, rate limits and conversation storage are realistically 8 to 16 hours for a first version. Multiply by your developer's rate, then add an hour each time OpenAI changes a model or an API you depend on (Agent Builder's shutdown is a current example).

Pick this when you need the bot to do things, such as look up an order or check a booking calendar, or you want full control over the model, the prompt and where conversations are stored.

Option 2: A WordPress plugin with your own API key#

If your site runs on WordPress, plugins can put an OpenAI-powered chat window on it without custom code. AI Engine by Meow Apps is a common one (free on WordPress.org, 90,000+ active installs, updated 12 November 2026). You paste your own OpenAI, Anthropic or Google API key into its settings and pay the AI provider directly. The plugin adds no markup on your AI usage.

Check these before you put a plugin like this on a client site:

  • "Knows your content" is often a paid tier. In AI Engine, building a knowledge base from your posts and PDFs (embeddings and vector databases) is listed under Pro features. Without it, the free chatbot is a general model with your instructions, which is how you get confidently wrong answers about your own prices.
  • You own the bill. Set a hard monthly usage limit in your OpenAI account before the bot goes live.
  • It's another plugin to update, and your API key is stored on your WordPress site, so anyone with admin access to the site can see it. On a client site, that's one more thing on the care-plan checklist.
  • WordPress only. If you move the site to Webflow or Shopify, you start again. If you'd rather not run a chat plugin at all, a hosted widget is a script in the footer; see how to add an AI chatbot to WordPress.

Pick this when you're on WordPress, comfortable managing an API key and a usage limit, and want the lowest running cost without hiring a developer.

Option 3: A hosted chatbot trained on your pages (no code)#

A hosted builder replaces the four things option 1 makes you build: retrieval, the chat window, abuse limits and conversation storage, plus the server they run on. Your work is choosing which pages to add, checking the answers, and pasting two script tags into the site. Chatbase and intoCHAT are hosted builders like Laddu Chat, so compare any of them on three numbers: answers per month, bots per plan, and what it costs to remove their badge. Two examples checked on 20 November 2026: intoCHAT's Free plan includes 25 messages a month (and playground tests count toward them), and Chatbase charges a $99 a month add-on to remove "Powered by Chatbase".

The setup in Laddu Chat, start to finish:

  1. Create a free Laddu Chat account. 100 free credits, no card.
  2. Add sources. Train your bot on web pages (add each URL), PDFs up to 10MB, and pasted text up to 100,000 characters. Each URL adds one page, so start with the 5 to 10 pages people ask about: pricing, services, booking, contact, refund terms. Use PDFs with selectable text.
  3. Turn on lead fields (name, email or phone) and set a Support Email in Configure. Every plan then captures leads and emails them to you; Growth and Scale add a Leads dashboard and CSV export.
  4. Style it to match the site. Set the brand, header and launcher colours from the site's palette, write a welcome message, add an avatar, and add up to 10 suggested questions. Use the questions visitors already ask by email or phone, such as "How much is a quote?"
  5. Test it with the questions below before anyone sees it.
  6. Paste the snippet. Chatbot → Settings → Embed Scripts tab → Copy Script. It's two script tags, with your bot's ID filled in. Paste them before </body> on your site (<head> also works):
<script>window.ladduConfig = { chatbotId: "<your-bot-id>" };</script>
<script src="https://chat.laddu-ai.com/embed.js" defer></script>

On WordPress, the Footer field of a header and footer plugin works (see how to add an AI chatbot to WordPress). If your site sends a strict Content-Security-Policy, allow https://chat.laddu-ai.com in script-src and frame-src, https://chat-api.laddu-ai.com in connect-src, and 'unsafe-inline' in style-src. Those four aren't enough on their own: the first snippet line is an inline window.ladduConfig script, so also allow it with a hash or a nonce, or move it into a .js file on your own domain. Without that, the widget fails with chatbotId is missing.

What it costs. 100 free credits, no card; paid plans start at $20 a month:

  • Starter, $20 a month: 1 bot, 2,500 credits a month, with a Laddu AI badge on the widget. One answer costs 1 credit.
  • Growth, $75 a month: 3 bots, 10,000 credits, link removed, plus the Leads dashboard and CSV export. If you look after three client sites, this is the plan. On Starter, removing the link is a $24 a month add-on.

Compare every plan's bots and credits on the Laddu Chat pricing page.

At 1,000 questions a month, that's more than the ~$3 to $12 the API costs in tokens. What you're paying for is not building, hosting or fixing it yourself.

When is Laddu Chat the wrong pick?#

Laddu answers questions from your content and captures contact details. Skip it if you need any of these:

  • The bot needs to take actions. Laddu answers questions and captures leads, which it emails to you on every plan once you turn on lead fields and set a Support Email (Growth and Scale add a CSV export). It has no webhooks, Zapier or HubSpot connection, so it can't book appointments or look up orders. Build on the API (option 1).
  • You need a human to take over the chat. There's no live chat or human handoff; when the bot can't answer, it says so instead of guessing and points visitors to your Support Email, or offers to take their details if you turn on lead fields. Use a live-chat tool.
  • You want WhatsApp or Messenger. Laddu is a website widget plus a public bot page, nothing else.
  • You want it to stay in sync on its own. Sources don't refresh automatically. After a page changes, you refresh it with the Recrawl button and click Retrain.
  • You want to pick the AI model, or serve the chat from your own domain. Laddu has no model choice, and the widget always loads from chat.laddu-ai.com.
  • You have a developer with spare time. Option 1 will be cheaper to run.

What will visitors ask, and why does a general ChatGPT answer hurt?#

Visitors to a small business site ask buying questions: "how much is a boiler service", "do you deliver to Leeds", "can I cancel after 14 days", "are you open on Sunday". A general model with no access to your pages will answer those anyway, fluently, and sometimes wrong. A made-up refund window or price is worse than no chatbot, because the visitor quotes it back to you.

So whichever option you pick, run this test before launch and check every answer against your own pages:

  1. What does [your main service] cost?
  2. Do you offer [a service you don't offer]? (It should say no, not invent one.)
  3. What's your refund or cancellation policy?
  4. Are you open on [a public holiday]?
  5. Do you work in [a town you don't cover]?
  6. How do I book or get a quote?
  7. What's included in [your cheapest package]?
  8. Who do I contact if something goes wrong?
  9. A policy question with a condition, such as "do I get my deposit back if I cancel after the design is approved?" It should give your exact condition, not a blanket yes.
  10. Something off-topic, like "write me a poem". It should steer back politely.

Ten questions to test before a chatbot goes live

If the bot fails 2 or 10, tighten its instructions (in Laddu Chat, add a text source that answers it). If it fails the others, the page with the answer isn't a source yet. Add it, retrain, and run the list again.

Sources#

  • OpenAI Help Center, "Creating and editing GPTs": new GPT creation and publishing not available on personal accounts (Free, Go, Plus, Pro); GPTs shared via link; standard retirement scheduled for 11 December 2026. https://help.openai.com/en/articles/8554397-creating-and-editing-gpts (checked 20 November 2026)
  • OpenAI Help Center, "Custom GPT retirement and migration FAQ": retirement on 11 December 2026, migration to plugins in ChatGPT. https://help.openai.com/en/articles/20001519-custom-gpt-retirement-and-migration-faq (checked 20 November 2026)
  • chatgpt.com response headers: content-security-policy includes frame-ancestors 'self' (plus OpenAI's own browser extensions), so other sites can't frame it. Checked with curl -I https://chatgpt.com/ on 20 November 2026.
  • OpenAI API docs, "ChatKit": embeddable chat UI; hosted sessions are created by your server; Agent Builder scheduled to shut down on 30 November 2026; new work uses the custom server integration. https://developers.openai.com/api/docs/guides/chatkit (checked 20 November 2026)
  • OpenAI API docs, "Pricing": gpt-6-luna $0.10 / $0.50 and gpt-6.1-sol $2.00 / $10.00 per 1M input / output tokens (standard, short context); file search $2.50 per 1k tool calls; storage $0.10 per GB per day, 1 GB free. https://developers.openai.com/api/docs/pricing (checked 20 November 2026)
  • AI Engine on WordPress.org: free plugin, version 3.9.4, last updated 12 November 2026, 90,000+ active installs; uses your own API keys with no markup; Embeddings and Vector Databases listed under Pro features. https://wordpress.org/plugins/ai-engine/ (checked 20 November 2026)
  • intoCHAT, "How to add ChatGPT to your website": Free plan includes 1 agent and 25 messages a month; playground tests count toward the 25. https://www.intochat.ai/en/guides/add-chatgpt-to-website (checked 20 November 2026)
  • Chatbase blog, "Best white label AI chatbots": "Current Chatbase pricing lists a $99 per month add-on to remove 'Powered by Chatbase'". https://www.chatbase.co/blog/best-white-label-ai-chatbots (checked 20 November 2026)
  • Laddu Chat plans, credits, add-ons, sources, snippet location, lead capture and limits: Laddu Chat product facts, verified against the product code on 8 November 2026. Live plans: /pricing

Frequently asked questions#

Can I embed ChatGPT on my website?

Not ChatGPT itself. OpenAI gives you no embed code for chatgpt.com, and its security headers stop browsers showing it in an iframe on another site. What you can add is a chat window connected to an AI model. You have three routes: build it on the OpenAI API, set up a WordPress plugin with your own API key, or paste a hosted chatbot's snippet.

Can I embed a custom GPT on my website?

No. A custom GPT only runs inside ChatGPT, and you can share it as a link, not embed it. OpenAI is also retiring custom GPTs: standard retirement is scheduled for 11 December 2026, and personal ChatGPT accounts (Free, Go, Plus and Pro) can no longer create new ones.

Can I put ChatGPT on my website for free?

Not at any real volume. The OpenAI API bills per token, free WordPress plugins still need your own paid API key, and hosted builders' free tiers are small (intoCHAT's Free plan is 25 messages a month). Laddu Chat gives you 100 free credits, no card; paid plans start at $20 a month.

Will a ChatGPT-style chatbot know my prices and opening hours?

Only if you give it those pages. A general model has never seen your current price list or refund policy, so it guesses. A chatbot built for a business site uses retrieval (often called RAG): for each question it finds the matching passages in the pages, PDFs or text you added and writes the answer from them.

Can I put my OpenAI API key in my website's JavaScript?

No. Anything in browser code can be read by every visitor, and a leaked key lets anyone spend on your account. The key stays on a server: your page sends the question to your own endpoint, and the server adds the key and calls OpenAI.

How much does it cost to run an AI chatbot on a small website?

On the OpenAI API, roughly $3 to $12 a month in usage for 1,000 answers, depending on the model, plus hosting and the developer time to build and maintain it. On Laddu Chat, $20 a month on Starter for one bot and 2,500 answers a month, or $75 on Growth for three bots with the Laddu AI badge removed. Prices in USD.