Skip to content

Can You Add ChatGPT to Your Website? Yes, But Not the Way Most Guides Tell You

You can’t embed ChatGPT or a custom GPT, and two OpenAI shortcuts are closing. The 3 ways that work, real costs per 1,000 chats, and the risks.

By Jahidul Hossain Mekat10 min read

On this page

Yes, but not ChatGPT itself. You can’t embed chatgpt.com or a custom GPT on your site, only link to it, and custom GPTs retire on 11 December 2026. What you can add is a chatbot built on the same OpenAI models: code it yourself with the API, or use a no-code tool that answers only from your own pages.

Can you put ChatGPT itself on your website?

No. ChatGPT is OpenAI’s app at chatgpt.com. It has its own instructions, memory and tools, and it’s built for one person having an open-ended conversation. There is no “embed ChatGPT” button and no official ChatGPT widget for websites.

What OpenAI does sell is the models behind ChatGPT, through its API. Every “ChatGPT for your website” product, including ours, is a chat window on your site that sends visitors’ questions to one of those models, with its own rules about what the model may say. So the real question isn’t “can I add ChatGPT?” but “who builds that chat window, and what does it know about my business?”

That second part matters most. Out of the box, an OpenAI model knows a lot about the world and nothing certain about your prices, opening hours or refund policy. Left alone, it guesses. Our guide to AI chatbot hallucinations shows what those guesses have cost real businesses.

Two shortcuts most guides still recommend are closing

Many “add ChatGPT to your website” guides still point to two OpenAI tools. Both are on their way out, according to OpenAI’s own pages (checked 14 November 2026):

Custom GPTs retire on 11 December 2026

The old tip was: build a custom GPT in ChatGPT, upload your FAQ, and put a link to it on your site. The link always opened chatgpt.com in a new tab, so the visitor left your website and you never saw the conversation or the lead. Now the GPT itself is going: “Custom GPTs are scheduled to retire on Dec 11, 2026” (OpenAI Help Center). OpenAI is moving creators to ChatGPT plugins, which live inside ChatGPT too, not on your website.

Agent Builder shuts down on 30 November 2026

In late 2025 OpenAI launched Agent Builder, a drag-and-drop way to build an agent and show it on your site with its ChatKit chat window. OpenAI’s ChatKit guide now says: “OpenAI is deprecating Agent Builder … the product is scheduled to shut down on November 30, 2026” (OpenAI ChatKit docs). ChatKit, the chat window, stays. But for new work OpenAI points you to running it with “your own server-side agent implementation”, and its migration guide moves you to code with the Agents SDK or to ChatGPT workspace agents for Business, Enterprise and Edu plans (Migrate from Agent Builder).

In short: the no-code routes from OpenAI itself are gone or going. What’s left is the API (you write code) or a tool someone else built on the API.

The 3 ways to add ChatGPT to your website that still work

RouteWhat you needSetup timeRunning costAnswers from your site?Catches leads?
1. Build it yourself with the OpenAI APIA developer, a server to hide your API key, a database or search for your contentDays to weeks, then upkeepPay per token, plus hosting and developer timeOnly if you build the search partOnly if you build it
2. OpenAI ChatKit with your own serverA developer, your own server and an agent you build in codeDays, then upkeepPay per token, plus hostingOnly if you build the search partOnly if you build it
3. A no-code chatbot that reads your websiteYour website address and one line of code pasted into your siteMinutesA monthly plan, often with a free tierYes, that’s the productUsually; check where leads go

Who should build it themselves?

A business with a developer on staff, a reason to own every line (for example, the chatbot must read private order data), and time to maintain it. For an online shop, a clinic, a school or a local service business, route 3 does the same job without a project.

A note on ChatKit

ChatKit is a polished chat window, but it is a front end for developers. Even OpenAI’s hosted setup asks your server to create each chat session and pass a unique user for every person chatting, one your server has authenticated (ChatKit docs). Website visitors don’t log in, so you’d have to design that part too, and the search over your own content.

How much does it cost to run ChatGPT on your website?

Less than most people expect, if you pick the right model. Here is the math for 1,000 chats a month with OpenAI’s standard prices (OpenAI API pricing, checked 14 November 2026).

Our assumptions: a chat is 4 visitor questions. Each question sends about 3,000 tokens to the model (your instructions, the relevant parts of your pages and the chat so far) and gets about 150 tokens back, roughly a short paragraph. A token is about three-quarters of a word.

ModelPrice per 1M tokens (in / out)Per questionPer chat (4 questions)1,000 chats
gpt-6-luna$0.10 / $0.50$0.000375$0.0015about $1.50
gpt-6.1-sol$2.00 / $10.00$0.0075$0.03about $30

If you use OpenAI’s hosted file search to look up your content, add $2.50 per 1,000 searches: about $10 for 4,000 questions (same pricing page). Storage for your files is $0.10 per GB a day after the first free GB, which most small business websites never reach.

So the model is rarely the expensive part. The expensive parts are the developer’s time, the server, and the one cost nobody budgets for: someone else using your key. Our AI chatbot cost guide compares what ready-made tools charge for the same 1,000 chats.

4 risks the copy-paste tutorials skip

1. Your API key ends up in the browser

The quickest tutorials call the OpenAI API straight from your page’s JavaScript. Anyone can open the page source, copy the key and run up your bill. OpenAI is blunt about it: “Never deploy your key in client-side environments like browsers or mobile apps” (OpenAI, Best practices for API key safety). The key has to live on a server, which means you need one.

2. Nothing stops one visitor from using up your month

A chatbot on a public page can be hit by bots, scrapers and bored visitors all night. OpenAI lets you set a hard spend limit, and warns that it “stop[s] affected API traffic when tracked spend reaches the limit” (OpenAI production best practices). That protects your wallet, but your chatbot then goes silent for everyone. You also need limits per visitor and per network address, and a fallback when the limit is hit.

3. It answers from general knowledge, not your website

A model with only a system prompt (“You are the assistant for Joe’s Bakery”) will happily invent your delivery area, a discount or a refund rule. Making it answer only from your pages takes a crawler, a search index, a rule to say “I don’t know”, and a way to keep it all up to date when you change a price. That is most of the work in a good chatbot. The hallucinations guide has a 10-question test you can run on any build.

4. The conversation ends and the lead is gone

A visitor who asks “do you deliver to my area?” at 11pm is a buyer. A plain ChatGPT-style chat answers and forgets. You want the chatbot to offer, once and politely, to take a name and phone number, and to get that lead to you quickly. Our lead generation chatbot guide covers when to ask and when not to.

How do you “train” ChatGPT on your website?

You don’t retrain the model, and you shouldn’t. Your prices and pages change; a trained model would be out of date the day you edit your site. What every good website chatbot does instead is look things up:

  1. Read your pages. A crawler visits your site and saves the text of each page.
  2. Index them. The text is split into short passages that can be searched by meaning, not just exact words.
  3. Search on every question. When a visitor asks something, the chatbot finds the few passages that answer it.
  4. Answer only from what it found. The model writes a reply from those passages and quotes prices exactly.
  5. Say “I don’t know” when nothing matches. Then offer to take the visitor’s details instead of guessing.
  6. Re-read the site regularly. So a new price or a new page shows up in answers without you doing anything.

That’s what people mean by “a chatbot that answers questions from my website”. Steps 4 and 5 are the ones to test before you trust any tool, bought or built.

The fastest way: a chatbot that already reads your site

For most small businesses, route 3 is the sensible one. You give the tool your website address, it reads your pages, and you paste one line of code into your site. Every platform has a place for it; we have step-by-step guides for WordPress, Wix and Squarespace.

We make Site Can Talk, one of these tools, so weigh what follows with that in mind. It runs on OpenAI’s models, answers only from your own pages and documents, shows visitors the right page, and says it doesn’t know when your site doesn’t cover something, then offers to take their details. If a visitor hits a limit, the chat turns into a contact form, so you still get the lead. The free plan includes 200 chat messages and 10 voice minutes a month; Starter is $19 a month.

Whichever tool you pick, compare the free plans first: our free AI chatbot comparison shows what each one allows and what visitors see when it runs out.

Before you go live: a 6-point checklist

  1. No key in the page. Open your page source and search for “sk-”. If you find your key, revoke it today.
  2. A spending cap and per-visitor limits. And a fallback (a contact form) when either is reached.
  3. It refuses what it doesn’t know. Ask for a price that isn’t on your site. The right answer is “I don’t know”, not a number.
  4. It stays on your business. Ask about a competitor or for a poem. It should steer back politely.
  5. Leads reach you. Leave your own details in the chat and time how long until you see them.
  6. Visitors know it’s an AI. Label it as an assistant and make it easy to reach a person.

Do this once now, and again after any big change to your prices or pages. For the bigger picture, read our guide to AI chatbots for small business websites.

Questions

Can I add ChatGPT to my website?

Not ChatGPT itself. You can add a chatbot that uses the same OpenAI models, either by coding it with the OpenAI API on your own server or by using a no-code tool that reads your website and gives you one line of code to paste in.

Can I embed a custom GPT on my website?

No. A custom GPT can only be linked, and the link opens chatgpt.com in a new tab. OpenAI also says custom GPTs are scheduled to retire on 11 December 2026, so don’t build a website chatbot on one.

How much does it cost to add ChatGPT to a website?

With OpenAI’s gpt-6-luna model, about $1.50 in model costs for 1,000 short chats a month at November 2026 prices, or about $30 with gpt-6.1-sol. Building it yourself adds hosting and developer time. Ready-made tools run from free plans to about $150 a month for an entry paid plan.

Is it safe to put my OpenAI API key on my website?

No. OpenAI says never to deploy your key in browsers or mobile apps, because anyone can copy it and make requests on your bill. Keep the key on a server, or use a tool that handles the key for you.

Can ChatGPT answer questions from my website content?

Yes, if the chatbot searches your pages for every question and answers only from what it finds. That is called retrieval, not training. Test it by asking for a price that isn’t on your site: it should say it doesn’t know.

Is OpenAI Agent Builder still available?

Only for existing users. OpenAI’s ChatKit docs say Agent Builder is deprecated and scheduled to shut down on 30 November 2026. ChatKit itself remains, connected to your own server.

About the author

Jahidul is the founder of Site Can Talk, the AI chat and voice agent that answers a business's website visitors from its own pages and sends every lead to the owner.

Jahidul Hossain Mekat on LinkedIn

Sources

  1. OpenAI Help Center, read 14 Nov 2026Custom GPT retirement and migration FAQ
  2. OpenAI API docs, read 14 Nov 2026ChatKit
  3. OpenAI API docs, read 14 Nov 2026Migrate from Agent Builder
  4. OpenAI API docs, read 14 Nov 2026Pricing
  5. OpenAI Help Center, read 14 Nov 2026Best practices for API key safety
  6. OpenAI API docs, read 14 Nov 2026Production best practices