Is ChatGPT Sites the same as Codex Sites?
Yes. OpenAI's product page and Help Center call it ChatGPT Sites, you can build one from ChatGPT or Codex, and developers.openai.com/codex/sites now redirects to the Sites guide.
Grain / Alternatives / ChatGPT Sites alternatives
Alternatives
The best ChatGPT Sites alternative depends on what pushed you away. If you want any agent to publish, use the Grain workspace. For private links that need only a password, use Grain or Replit. For one tool that builds a full app with its own users, use Lovable, and to own the hosting account, use Cloudflare Workers.
ChatGPT Sites, which some people call Codex Sites, went to public beta on 2026-07-09. Three things send people looking now. First, the price: hosting is metered from 2027-01-01 (free before that), above each plan's allowance; Enterprise follows its agreement. OpenAI's approximate rates include about 25 credits a month for a Site with storage, even with an empty database. Second, access: OpenAI lists Plus, Pro, Business, Enterprise and Edu as eligible, and says availability varies by plan and region. 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. Enterprise admins must turn public publishing on. Third, viewers: a public Site is open to anyone, but private sharing means each viewer signs in with an invited account, and the Sites docs reviewed on 2026-11-24 describe no password option.
Grain, from rungrain.com, is open source under AGPL-3.0 (GitHub · coming soon) and isn't a builder. Your agent writes the files, and the workspace gives them a URL, public, password or restricted sharing, member comments, and for apps a SQLite database (data.db). Run grain init --template html for a static page or grain init for an app, then grain push and grain share --password <pw>. A hosted MCP server at https://api.rungrain.com/mcp also works from ChatGPT, so you can keep ChatGPT as your agent and still publish here. Access is set by share modes, and links are <slug>.share.rungrain.com, so choose something else if you need visitors with their own accounts in the app or your own domain.
Replit is the closest match on sharing. Its Agent builds the app, every app gets a managed SQL database by default, and you can publish as public, password protected, workspace only or invite only. Replit says password visitors don't need a Replit account. It also connects custom domains, or sells you one.
Lovable is the better fit if your app needs its own users. Its built-in backend includes a database, authentication, storage and functions, built on Supabase's open source foundation. You can download the codebase or sync it two ways with GitHub, GitLab or Bitbucket, which answers the export question directly.
v0, from Vercel, generates apps in its own chat, syncs with GitHub and deploys to Vercel, even on the free plan. Choose it when the destination is a normal Vercel project your developers will keep working on, rather than a site that lives in a chat product.
If the appeal of Sites was a quick page from a chat, Artifacts is the same idea from Anthropic, and it's on every Claude plan. Artifacts start private. On Pro, Max and Ultra you can share with anyone who has the link, and most of those open with no Claude account, while Free lists only publishing an older chat artifact. On Team and Enterprise they stay inside the organization unless an owner allows outside sharing. Unpublishing an older chat artifact permanently deletes its stored data, so don't treat it as a system of record.
The Sites docs name D1 and R2 as its storage, and those are also Cloudflare product names, so Workers is the do-it-yourself version of that shape. Any agent can write the code, and npx wrangler deploy publishes it. You run your own account, connect your own domain if it's on Cloudflare, and set up access control yourself. This is hosting, not a builder.
Grain fits when the agent already does the building and the missing piece is a place to keep the result and share it with the right people. It doesn't build anything itself, and it controls access to a link rather than giving your app its own user accounts. If you want to describe a site and never touch a CLI or an agent config, stay on ChatGPT Sites while its hosting terms suit you. If you need user accounts in the app, use Lovable or Replit. If you need a production service with its own CI, use a deploy platform.
grain init in the project folder and ask your agent to move D1 tables into data.db. Code that reads the oai-authenticated-user-email header has to change.grain push, grain checkpoint -m "import from ChatGPT Sites" and grain share --public or --password <pw>. Open the link in a signed-out browser.Yes. OpenAI's product page and Help Center call it ChatGPT Sites, you can build one from ChatGPT or Codex, and developers.openai.com/codex/sites now redirects to the Sites guide.
The Grain workspace and Replit both offer public and password links that need no account. Published Claude artifacts on personal plans open without a Claude account too.
OpenAI lists eligible Plus, Pro, Business, Enterprise and Edu plans during public beta, and says availability varies by plan and region. Free and Go aren't on that list.
Hosting is metered from 2027-01-01 (free before that). Plus, Pro and Business pay above their monthly allowance (125 credits on Plus, 375 on Pro, 125 per seat on Business); Enterprise follows its agreement. Building and editing already count toward Codex usage.
Grain is open source under AGPL-3.0 (GitHub · coming soon). It publishes what your agent writes rather than building the site for you, so you still need an agent such as Claude Code, Codex or Cursor.
Download Grain for macOS, Windows or Linux, or connect the hosted MCP server from your AI tool.
Download GrainFree forever. No card. Bring your own agent.
See also: ChatGPT Space alternatives · Grain vs ChatGPT Space