Grain / Compare / Grain vs ChatGPT Sites

Comparison

Grain vs ChatGPT Sites

ChatGPT Sites is OpenAI's way to build and host a website or app by describing it in ChatGPT or Codex. The Grain workspace does a narrower job for any agent: Claude Code, Codex, Cursor or another MCP client writes the files, and you share them by public, password or restricted link. Choose Sites if you already pay for ChatGPT and want a custom domain or Sign in with ChatGPT. Choose Grain if your agent isn't ChatGPT, or a private link has to open for people with no ChatGPT account.

Updated 2026-11-24Facts verified 2026-11-24By Parsa Khazaeepoul

Quick answer

ChatGPT Sites and Codex Sites are one product. OpenAI calls it ChatGPT Sites, you can start one from Codex, and developers.openai.com/codex/sites now redirects to the same guide. A new Site opens only for its owner and workspace admins. You can then invite named people, open it to your workspace, or publish it to anyone on the internet. A public Site needs no sign-in, but every limited audience does: invited viewers sign in with the account that received access. The Sites docs reviewed on 2026-11-24 describe no password option, the sharpest difference from Grain.

Fit first

DimensionChatGPT SitesGrain
AudiencePeople on eligible ChatGPT plans who want a site without setting up hostingDevelopers and small teams whose agents make pages, reports and apps others need to open
JobDescribe a site in ChatGPT, refine it, publish it and manage it thereGive what your agent wrote a URL, a share mode and comments, kept as files
ControlOpenAI hosts it; admins control creation and publishing in a workspaceOpen source under AGPL-3.0 (GitHub · coming soon); you pick the agent and model plan
FrictionNothing to install; ask ChatGPT for a website or mention @SitesDownload the desktop app and run grain init, or connect the hosted MCP server from your AI tool
EconomicsComes with a paid ChatGPT plan; building counts toward Codex usage; hosting is metered from 2027-01-01Free to start with your own agent; static pages and their share links use no sandbox minutes

What is different, verifiably

ChatGPT Sites facts from OpenAI's pages listed below, checked on 2026-11-24. Hosting credit rates are OpenAI's approximate rates from 2027-01-01.
DimensionChatGPT SitesGrain
PricingIncluded with eligible plans during public beta: Plus $20 a month, Pro $100, $200 or $500 a month, Business $20 per user a month billed annually (2+ users) or $25 monthly. From 2027-01-01, Plus, Pro and Business pay for hosting above the allowance; Enterprise follows its agreementFree to start; paid builder and viewer seats with monthly sandbox minutes, plus minute packs; works with the agent plan you already have
Free tierOpenAI lists Plus, Pro, Business, Enterprise and Edu as eligible; Free and Go are not on that listStatic pages and their share links are free; organizations without a subscription get free sandbox minutes every month; no card required
Bring your own agentYou build in ChatGPT or Codex. You can host a compatible project you already built, but you create, save, deploy and manage it from ChatGPT on the web or desktopYes. Claude Code, Codex, Cursor, any CLI agent or MCP client, including Claude and ChatGPT through the hosted MCP server
Persistence after the sessionA Site stays in your sites list after the chat that made it endsPublished artifacts stay published after the session and after you stop paying
SharingOwner and admins, selected people or groups, invited external viewers, anyone in the workspace, or anyone on the internet, depending on plan and settingsPublic link, password-protected link, or restricted to signed-in members and invited guests
Viewer sign-inNone for a public Site. Limited audiences sign in with the account that received access. Invitations for outside viewers are still rolling outNone for a public link. A password link needs only the password. A restricted link needs a Grain sign-in as a member or invited guest
DatabaseOptional. D1, a relational database limited to 10 GB per Site, and R2 file storage with no fixed limitApps keep data in a SQLite database (data.db) in the workspace
Custom domainConnect a domain you own, about 25 credits a month from 2027-01-01. Not available in Enterprise workspaces at launchShare links are https://<slug>.share.rungrain.com
ExportLocal projects tie each saved version to a Git commit. The docs reviewed describe no export of a Site's live database and filesArtifacts are files: grain pull, grain checkpoint and grain restore
PlatformChatGPT on the web and in the desktop app; no standalone management view in the Codex CLI or IDE extensionDesktop app for macOS, Windows and Linux, CLI, and a hosted MCP server
Longer-running workAsk ChatGPT to suggest a schedule for recurring Site work, then review the taskBounded jobs you start on request (grain job start), up to one hour, with status and cancel
Source codeNo source release documented as of 2026-11-24Open source under AGPL-3.0 (GitHub · coming soon)

Where ChatGPT Sites is better

  • No setup for ChatGPT users. You ask for a website and test it in the app's browser, with no agent config or CLI.
  • Sign in with ChatGPT. A public Site can stay open to signed-out visitors and still offer sign-in for saved progress or records that belong to one person, with the visitor's email passed to your server code.
  • A custom domain you own, on plans that have it, and an old hosted address that redirects when you rename it.
  • Connected tools. In eligible Business and Enterprise workspaces, each visitor can let a workspace-private Site read their own connected apps.
  • Built-in analytics: unique visitors and page views, for Sites not owned by an Enterprise workspace.

Where Grain is better

  • Any agent writes to it. Changing models doesn't strand the work.
  • A private link for people with no account anywhere. Run grain share --password <pw> and a client opens it with the password alone. On Sites, the same reader needs either a public URL or an account you invited.
  • It doesn't depend on ChatGPT plan or workspace policy. OpenAI says Sites access varies by plan and region, and Enterprise admins must turn on public publishing before anyone can use it. Its 2026-07-09 release note said public publishing and the expanded beta rollout weren't available in the EEA, Switzerland or the UK at launch, so check the Help Center if your readers or team are there.
  • Files you can move. grain pull gives you the artifact files at any time. On Sites, one Business user wrote on OpenAI's forum on 2026-10-27 that they could not yet verify a supported export of the live database and files. That is a user's report, not an OpenAI statement.
  • Member comments and named views. Signed-in organization members comment on a grain, you send those comments to your agent from the desktop app, and the app shows which members, guests and anonymous visits opened it.

Moving between them

  1. From ChatGPT Sites to Grain: start from your local project if you have one. If the Site was made on the web, ask ChatGPT for the code, and test getting the saved records out before you commit.
  2. Run grain init in the folder, or connect https://api.rungrain.com/mcp from ChatGPT or Claude.
  3. Ask the agent to port the app. D1 tables become tables in data.db, and uploaded files become workspace files. Code that reads Sites' oai-authenticated-user-email header has to change, because Grain controls who opens the link through share modes.
  4. Run grain push, grain checkpoint -m "import from ChatGPT Sites" and grain share --password <pw>, then open the URL in a signed-out browser.
  5. Sign in with ChatGPT, connected-tool access, your custom domain, analytics and the old URL do not carry over. Deleting a Site is permanent, so update links first.
  6. From Grain to ChatGPT Sites: run grain pull, then ask ChatGPT to check compatibility and deploy it. Share links, comments and view history stay behind.

Choice rule

Choose ChatGPT Sites
if ChatGPT is your agent, you want one tool from prompt to hosting, and you need a custom domain or visitors signing in for their own records.
Choose Grain
if you use Claude Code, Cursor or more than one agent, private readers don't have ChatGPT accounts, or you want the work kept as files in open source software.
Choose neither
if this is a production service with its own CI and users. A deploy platform such as Vercel or Netlify fits that better than either.

Frequently asked questions

Are ChatGPT Sites and Codex Sites the same thing?

Yes. OpenAI calls it ChatGPT Sites, you can start one from ChatGPT or Codex, and developers.openai.com/codex/sites redirects to the Sites guide.

Do visitors need a ChatGPT account to view a ChatGPT Site?

Not for a public Site. For a Site shared with a workspace or with invited people, they sign in with the account that has access. The Grain workspace also offers a password link, which needs no account.

Does ChatGPT Sites have a database?

Yes, optionally. OpenAI's docs list D1 for records, with a 10 GB limit per Site, and R2 for files. From 2027-01-01, OpenAI lists about 25 credits a month for a Site with storage.

Is ChatGPT Sites free?

Not on the Free or Go plans, which OpenAI's eligibility list leaves out. On eligible plans, building counts toward Codex usage, and hosting is metered from 2027-01-01 (free before that): you pay for usage above your allowance.

Can I use Claude Code with ChatGPT Sites?

Only partly. You can publish a compatible existing project, but through ChatGPT, on an eligible plan. Claude Code can publish to a Grain workspace directly over MCP.

Share agent work with people who don't have ChatGPT

Download Grain for macOS, Windows or Linux, or connect the hosted MCP server from your AI tool.

Download Grain

Free forever. No card. Bring your own agent.

Sources · facts verified 2026-11-24

See also: ChatGPT Space alternatives · Grain vs ChatGPT Space