Vibe Coding With ChatGPT: Codex, Sites and Chat Compared (2026)
Which ChatGPT route to use, what each plan includes, how to set up Codex, and what happened when we gave Codex the bakery website brief we already ran in Claude Code and Google AI Studio.
Yes, you can vibe code with ChatGPT, and in 2026 there are three ways to do it. Ask in an ordinary chat and copy the code; use ChatGPT Sites, which builds and hosts a website from a description (Plus at $20 a month and up); or use Codex, OpenAI's coding agent, which writes a real project on your computer and is included on every plan, Free too. In our test, Codex built a working one-page bakery website from five plain-English prompts in 8 minutes 12 seconds of AI time, the fastest of the three tools we have run the same brief through.
What This Guide Covers
- Chat, Sites or Codex: which to use
- Is ChatGPT free for vibe coding? Plans and limits
- Setting up Codex with no coding experience
- Our test: the bakery brief in Codex, prompt by prompt
- Codex vs Claude Code vs Google AI Studio, same brief
- Prompts that work with Codex
New to the idea? Read what vibe coding is first, or follow the general method in how to vibe code.
TL;DR Quick Summary
Can you vibe code with ChatGPT? Yes. Chat gives you code blocks to copy, on any plan. ChatGPT Sites builds and hosts a website or light app from a description, on Plus ($20 a month) and higher. Codex builds real project files and is on every plan; Free and Go get it in the ChatGPT desktop app, and Plus adds the web, the terminal and code editors. From our test: Codex was fast and stuck to the facts it was given, but it did not check the page on a phone until we asked, and its form sent nothing while telling visitors "We'll be in touch soon".
What our test showed: Codex was the quickest of the three tools we have given this brief, and the only one that answered our form question with a flat "Right now, it doesn't go anywhere." It also left the first version hard to use on a phone and did not say it had not checked. One plain-English prompt fixed most of that. Ask it to check, and it does a good job; do not assume it already has.
Table of Contents
Which route, what it costs, how to start, then our Codex session in full.
- Chat, Sites or Codex: which to use
- Is ChatGPT free for vibe coding?
- What happened to canvas
- Setting up Codex with no coding experience
- Our test: the bakery brief in Codex
- What Codex got right, and what we had to find
- Codex vs Claude Code vs Google AI Studio
- ChatGPT Sites: what it does
- Prompts that work with Codex
- Codex usage limits in plain English
- When an app builder is the better route
- Frequently asked questions
Chat, Sites or Codex: Which to Use
"Vibe coding with ChatGPT" now means one of three things. They suit different jobs, and two of them depend on your plan.
| Chat | ChatGPT Sites | Codex | |
|---|---|---|---|
| What you get | Code blocks in the reply | A hosted website or light app at a link | Project files on your computer, or a cloud task |
| Who runs it | You copy and run the code | ChatGPT hosts it | You run it, or host it where you like |
| Can it check its own work? | No | It previews the site | Yes, it can run commands in your project |
| Data and sign-in | No | Yes: a database and sign-in | Whatever you build |
| Plans | Every plan | Plus, Pro, Business, Enterprise, Edu | Every plan; Free and Go in the desktop app |
| Best for | A snippet or a one-page tool | Dashboards, trackers, forms, small sites | Anything you want to keep, grow and publish |
Is Codex vibe coding? It is when you use it the way vibe coders do: describe the result, judge it by using it, and let Codex handle the code. Developers also use Codex to review and change their own code line by line, which is not vibe coding. For Codex beside Claude Code on three identical tasks, see Codex vs Claude Code, timed and scored.
OpenAI Codex pricing page and Sites documentation, read 19 October 2026.
Is ChatGPT Free for Vibe Coding? Plans and Limits
Partly. Every plan, Free included, now includes Codex. On Free and Go it runs in the ChatGPT desktop app on GPT-6 Luna, a lighter model, and OpenAI says that is "subject to rollout". ChatGPT Sites is not on Free or Go, so for a hosted site you need Plus or higher.
Free
$0
Codex in the desktop app, on a smaller model, subject to rollout. No Sites.
Go
$8 / mo
Codex for lightweight coding tasks, in the desktop app. No Sites.
Plus
$20 / mo
Codex on the web, in the terminal, in code editors and on iOS. Sites included.
Pro
From $100 / mo
$100, $200 or $500 plans. No five-hour limit.
Plus also adds GPT-6.1 Sol, the stronger model, and cloud features such as automatic code review. Business costs $20 a user a month billed yearly for two or more people. You can also run Codex with an OpenAI API key and pay per use instead; that suits automated jobs more than a first project. How the GPT models compare with Claude and Gemini on one brief is in which AI model to pick.
OpenAI Codex pricing page, read 19 October 2026 from a US connection. For every free plan across the main tools, see our free vibe coding tools guide.
What Happened to ChatGPT Canvas
Most guides to vibe coding with ChatGPT were written for canvas, the side panel where ChatGPT showed and ran code. That has changed. In its release notes dated May 28, 2026, OpenAI said canvas would no longer be available in GPT-5.5 Instant or GPT-5.5 Thinking, and that coding is now done directly in chat replies through code blocks. Canvas stayed on older models for a limited time. To see how its replacement compares with Claude and Gemini, read our ChatGPT Canvas vs Claude Artifacts test.
Small things: the chat
Ask for a one-page tool and copy the code block into a file. Nothing is hosted for you.
A site to share: Sites
When you want a link other people can open, ChatGPT Sites builds and hosts it.
A real project: Codex
When the app has several files or will grow, Codex works on a folder of your own.
How to Set Up Codex With No Coding Experience
There are three ways in. Pick the first unless you already like using a terminal.
Easiest: the ChatGPT desktop app
- Install the ChatGPT desktop app and sign in.
- Open Codex in the app.
- Pick an empty folder for the project.
- Describe what you want, in plain English.
This is the route on Free and Go, and the one with no terminal.
Terminal: the Codex CLI
- Open Terminal on a Mac.
- Paste the install command below and press Enter.
- Go to an empty folder and type
codex. - Choose "Sign in with ChatGPT" and log in in the browser.
The route we used for our test. Needs Plus for the CLI.
Inside a code editor
- Install the Codex extension in your code editor.
- Sign in with your ChatGPT account.
- Open an empty folder.
- Describe the app in the Codex panel.
Useful later, when you want to read the code as it changes.
curl -fsSL https://chatgpt.com/codex/install.sh | sh
npm install -g @openai/codex
Before your first prompt, make an empty folder for the project. Codex reads and changes files in the folder you open, so never point it at your Documents folder or a folder of other work.
OpenAI Codex CLI documentation, read 19 October 2026.
Our Test: The Bakery Website Brief in Codex
On 19 October 2026 we gave Codex the same brief we used in our guide to vibe coding a website: a one-page site for Thistle & Crumb, a made-up neighbourhood bakery. Same wording, same five follow-up prompts, same phone checks. We used the Codex terminal app that comes with the ChatGPT Mac app, signed in with a ChatGPT account, in an empty folder, on its default model at the time (gpt-5.6-terra). We wrote no code. Each prompt below is shortened; the full wording is in the website guide.
The bakery brief: name, address, hours, six prices, a cake order form, "most of my customers will look at it on a phone", no photos.
174 s. Three files: a page, a stylesheet and a small script. All six prices and all four lines of hours were right. Its reply said the form "needs an email service later". It did not mention a phone check, and none had happened.
"I opened it on my phone. A lot of the text is tiny and hard to read, and many of the buttons and links are small and hard to tap. Please fix it."
159 s. Added a fourth file just for phones. Buttons and links under 44 px went from 10 of 14 to 2 of 14. It did not say how it had checked.
"It works, but it looks like every other AI-made website. Make it feel like a real neighbourhood bakery… Keep all the text, prices and sections exactly as they are."
88 s. Added a fifth file, a stylesheet on top of the other two. We compared the text before and after: not a word changed, as asked.
"Before I put this online, make sure Google can read it properly…"
62 s. A longer title and description, a hidden business card for search engines with the address, phone and hours, and better image descriptions. It did not add a canonical link.
"When someone fills in the cake order form, where does the message go? I want it to reach my email."
9 s. "Right now, it doesn't go anywhere." It suggested a form service and spotted that our email address was a placeholder. It changed nothing, so the page still promises a reply it cannot send.


What Codex Got Right, and What We Had to Find
What Codex got right
- The facts. All six prices and the opening hours exactly as given, and no invented parking, payment methods, reviews or photos.
- Speed. 8 minutes 12 seconds of AI time for all five prompts.
- Keeping its word. Asked to change only the look, it changed only the look.
- A straight answer. On the form, it said plainly that nothing was being sent.
What only our checks found
- The phone. The first version was hard to use on a phone, and Codex did not mention it. It fixed most of it when asked.
- A form that pretends. Visitors who submit the form see "We'll be in touch soon", but nothing is sent anywhere.
- Small extras. Six soft claims we never gave it, such as "slow-fermented" bread and "Pop in early for the fullest selection".
- Files piling up. Each change added a new stylesheet on top of the last, ending with three, instead of editing the one it had.
None of these needed code to find. Each came from opening the page on a phone, submitting the form, and reading the page next to the brief. The same habit caught problems in our Claude Code sessions too: the AI's summary sounds more finished than the app is.
Codex vs Claude Code vs Google AI Studio, Same Brief
This is the third tool we have given the bakery brief. Claude Code and Google AI Studio ran it on 12 October for our website guide; Codex ran it on 19 October.
| Codex | Claude Code | Google AI Studio | |
|---|---|---|---|
| Prompts sent | 5 (the phone fix was needed) | 4 (no phone fix needed) | 6 (one to remove invented details) |
| AI time, all prompts | 8 min 12 s | 16 min 47 s | 44 min 5 s |
| Files at the end | 5 | 1 | 16 |
| Invented business facts | None; 6 soft claims | None | 25+ (parking, payments, flavours…) |
| Small tap targets, first version | 10 of 14 | 2 of 16 | 24 of 32 |
| The form, first version | Sends nothing, says it will reply | Opens the visitor's email app, and says so | Sends nothing, promises a reply |
| Plan we used | ChatGPT sign-in (Codex is on every plan) | Claude Pro, $17 a month billed yearly or $20 monthly | Free |
Which one is best for vibe coding? On this brief, Claude Code made the most careful first version, Codex was the fastest and most direct about its limits, and AI Studio added the most things we never said. Our guides to vibe coding with Claude and vibe coding with Google cover the other two in depth, and we rank 13 tools in the best vibe coding tools.
Our own runs: 12 October 2026 (Claude Code, Google AI Studio) and 19 October 2026 (Codex). Same brief, same phone checks at 390 px.
ChatGPT Sites: What It Does
ChatGPT Sites launched in public beta on 9 July 2026. OpenAI describes it this way: "Sites lets you build, host, and share a website by describing it in ChatGPT or Codex." You start in ChatGPT on the web or in the desktop app, describe what you want, review a private preview, then publish it at a link.
Data and sign-in
A site can store data (up to 10 GB in a database per site), add sign-in and connect apps. That would have solved our form problem: a Site can save each cake order.
Hosting included
Sites are hosted by ChatGPT at a link. Plus and Pro can change that link, and OpenAI has since added custom domains.
Payments
You can sell through a third-party payment processor; card details must stay with that processor.
Limits
Not on Free or Go, not with an API key, and not for health records. At launch it was not offered in the EEA, Switzerland or the UK.
We did not run the bakery brief in Sites, so we cannot say how it compares with Codex on the same job. For a small business site that should take orders, it looks like the closer fit of the two, because hosting and storage come with it.
OpenAI Sites documentation and ChatGPT release notes, read 19 October 2026.
Prompts That Work With Codex
These six prompts would have saved us two of our five rounds. Copy them and fill in the brackets.
I have never coded. Before you build anything, ask me what you need to know about [your idea], suggest a default for each question, then wait.
Open the page at 390 pixels wide. List any text under 14 px and any button or link under 44 px tall, then fix them.
Where does each form message go right now? If nowhere, change the confirmation so it does not promise a reply.
Edit the existing files. Do not add a new stylesheet on top of the old ones.
List every fact on the page that is not in my brief. Remove them unless I confirm them.
List what you tested, and what I should test by hand.
For more prompts, with the vague and the better version side by side, see our guide to vibe coding prompts.
Codex Usage Limits in Plain English
Codex does not give you a fixed number of messages. On Plus, OpenAI estimates a range per five hours that depends on the model and the size of each task: roughly 15 to 160 local messages on GPT-6.1 Sol, or 350 to 3,000 on the lighter GPT-6 Luna. Weekly limits can apply on top, and cloud tasks can use more of the allowance than work on your own computer.
Five-hour window
If you run out mid-project, wait for the window to reset or buy credits on Plus and Pro.
Pro
Pro plans currently have no five-hour limit.
What uses more
Bigger projects, stronger models and cloud tasks use the allowance faster.
Our five prompts on a small one-page site were nowhere near a limit. If you build for hours every day, that is when Pro starts to make sense.
OpenAI Codex pricing page, read 19 October 2026. Ranges are OpenAI's estimates, not fixed limits.
When an App Builder Is the Better Route
Codex gives you code, and with it the jobs that come with code: hosting, a form service, updates and, for an app, the store submissions. If you want the app more than the code, a builder that handles those jobs can be the shorter road.
Choose Codex if
- You want the code, and maybe a developer to take over later
- You are happy to set up hosting and a form service
- Your idea is unusual enough that no template fits
Choose an app builder if
- You want a live app or site without touching hosting
- You want app store publishing handled for you
- You would rather change things by clicking than by prompting
Appy Pie AI vibe coding works that way, building apps through conversation: describe the app or website in a few sentences, and it builds a first version you edit visually. Your app runs on Appy Pie AI, and on Basic and Platinum the code exports to GitHub. Plans are Free ($0, 100 credits to build and preview), Basic at $16 a month and Platinum at $60 a month; Basic publishes to Google Play, the App Store needs Platinum, and one plan covers every app you build. It is a different product from ChatGPT, built by a different company. Our vibe coding vs no-code guide compares the two roads in full.
Frequently Asked Questions
Can you vibe code with ChatGPT?
Yes. You can ask in a normal chat and copy the code, use ChatGPT Sites to build and host a website from a description on Plus and higher, or use Codex, OpenAI’s coding agent, which works on real project files and is included on every plan.
Is ChatGPT free for vibe coding?
Partly. The Free plan includes Codex in the ChatGPT desktop app on GPT-6 Luna, subject to rollout. ChatGPT Sites is not on Free or Go. Plus costs $20 a month and adds Codex on the web, in the terminal and in code editors.
What is the difference between ChatGPT and Codex?
ChatGPT is the assistant you chat with. Codex is OpenAI’s coding agent inside it: it reads and changes the files in a project folder and can run commands to check its work. Both are part of the same ChatGPT plan.
Is Codex good for vibe coding?
In our test it was fast and accurate on the facts we gave it: a one-page bakery site from five prompts in 8 minutes 12 seconds of AI time, with no invented business facts. It did not check the page on a phone until we asked, so tell it to.
What happened to ChatGPT canvas?
In release notes dated May 28, 2026, OpenAI said canvas would no longer be available in GPT-5.5 Instant or GPT-5.5 Thinking, and that coding now happens in code blocks in the chat. For hosted sites there is ChatGPT Sites, and for projects there is Codex.
What is ChatGPT Sites?
A ChatGPT feature, in public beta since 9 July 2026, that builds, hosts and shares a website or light app from a description. Sites can store data and add sign-in. It is on Plus, Pro, Business, Enterprise and Edu, not on Free or Go.
Do I need to know how to code to use Codex?
No. We used only plain-English prompts and wrote no code. You still need to check the result yourself: open it on a phone, submit every form and compare the page with what you asked for.
Is Codex better than Claude Code?
On our bakery brief, Codex was about twice as fast, and Claude Code’s first version needed less fixing on a phone. Both kept to the facts. The better choice depends on the project; try the same small brief in each.
Can Codex build a mobile app?
It can write the code, but building, signing and publishing to the app stores is up to you, including Apple’s $99 yearly developer fee and Google Play’s $25 one-time fee. Our mobile app guide covers the steps.
Is code from Codex safe to launch?
Not without checking. Ask Codex to review its own app for security problems before you share it, test logins and forms by hand, and keep secrets such as passwords out of the code.
Want the App Without the Setup?
Describe your app or website in a few sentences, and Appy Pie AI builds a first version you can edit visually, with hosting included.
Pick the Route, Then Check Everything
For a quick snippet, the chat is enough. For a hosted site, look at ChatGPT Sites. For a project you want to keep, use Codex, and give it the prompts that make it check its own work. Then open what it built on your phone and use it the way a customer would.

