Hosting decision for Codex-built apps

Best Codex App Hosting: Where Should a Codex App Live?

The best host for a Codex-built app depends on one question: who opens it. Keep it in Codex Sites while it is workspace-internal, and move to Cloudflare Pages, Vercel, Replit or Lovable once it needs a custom domain, public traffic or code ownership.

Short answer

Codex Sites is the default and usually the best host for a Codex app in 2026. It is now in public beta on ChatGPT Plus, Pro, Business, Enterprise and Edu plans, and it hosts websites, web apps and games with D1 (database) and R2 (file) storage plus built-in traffic analytics, so an internal or workspace app can ship without setting up a separate host.

The host changes only when a requirement forces it. Move to Cloudflare Pages when the app is static but needs a custom domain and public SEO. Move to Vercel when the app is a framework build with serverless functions, preview deployments or payments. Use Replit or Lovable when a same-day public MVP matters more than owning the source, and GitHub Pages when the output is plain static files and nothing else.

Side by side

What actually differs between the hosts

Four points that change the work: what the host runs, how a domain attaches, whether server code runs, and how a database is reached.

Decision pointCodex SitesCloudflare PagesVercelGitHub Pages
What it hostsWebsites, web apps and games from a prompt or a compatible project.Static sites and Pages Functions on the Workers runtime.Framework apps with serverless functions and previews.Static files from a repository, no runtime.
Custom domainAvailable where supported; connect a domain you own, Sites does not register it. Not in Enterprise at launch.Added to the project; DNS records live wherever the zone is managed.Added to the project; DNS records created at your provider.Configured in repository settings; DNS records created at your provider.
Server-side runtimeThe Sites runtime, driven by the saved and then deployed version.Pages Functions on the Workers runtime.Serverless functions and framework server rendering.None. Static files only.
Database and filesD1 for records and R2 for uploads, bound by name in .openai/hosting.json.D1 and R2 attach as platform bindings.D1 and R2 are external Cloudflare services with their own credentials.No binding; add any database as a separate service.

Facts checked today

Every claim below was read on the official page on 2026-10-13. Where the official page does not state a number, this site writes not stated instead of guessing.

  • Sites is in public beta and available with ChatGPT Plus, Pro, Business, Enterprise and Edu plans. (OpenAI Codex Sites docs, checked 2026-10-13.)
  • Sites lets ChatGPT create, host, refine and share websites, web apps and games. (OpenAI Codex Sites docs, checked 2026-10-13.)
  • Every Sites deployment URL is a production deployment; save a version before deploying to review it first. (OpenAI Codex Sites docs, checked 2026-10-13.)
  • Sites records traffic automatically and shows unique visitors and page views. (OpenAI Codex Sites docs, checked 2026-10-13.)
  • Custom domains can be connected where available; Sites does not register domains, and custom domains are not available in Enterprise workspaces at launch. (OpenAI Codex Sites docs, checked 2026-10-13.)
  • OpenAI named Vercel, Wix, Base44, Replit, Lovable, Figma, Webflow and Emergent as early Sites partners. (OpenAI announcement, June 2, 2026, checked 2026-10-13.)
  • This site publishes no pricing or usage-limit numbers for any host; they change by plan and region and stay official-provider questions.
FAQ

Codex app hosting questions

The same answers are published as FAQPage structured data on this page.

What is the best place to host a Codex app?

Codex Sites is the best default. It is in public beta on ChatGPT Plus, Pro, Business, Enterprise and Edu, and it hosts websites, web apps and games with D1/R2 storage and built-in analytics. Move the app to Cloudflare Pages or Vercel when it needs a custom domain you fully control, public SEO traffic, payments or code ownership.

Can Codex Sites host a full web app with a database?

Yes. Codex Sites hosts websites, web apps and games, and it binds D1 (a relational database) for durable structured data and R2 (object storage) for uploaded files. Ask for these in the prompt only when the app genuinely needs records or uploads.

Does Codex Sites support custom domains?

Where custom domains are available, you can connect an apex domain or subdomain you already own; Sites does not register domains for you. Custom domains are not available in Enterprise workspaces at launch. Check the official Codex Sites page for current availability.

Is Codex Sites hosting free?

Not stated by this site. Sites is in public beta with plan-specific usage limits across Plus, Pro, Business, Enterprise and Edu, and ChatGPT shows current limits as you approach them. Treat pricing and limits as official-provider questions.

When should I use Vercel or Cloudflare Pages instead of Codex Sites?

Use a repository-backed host when public SEO, custom-domain control, payments, framework builds or long-term code ownership are non-negotiable. Cloudflare Pages fits static output plus a custom domain; Vercel fits framework apps and preview deployments.