How to estimate and cut Codex Sites hosting costs
Websites you build with ChatGPT or Codex and publish with Sites start drawing hosting usage from your plan's credits on January 1, 2027. Hosting is free through December 31, 2026. Building and editing sites still counts toward your Codex usage.
Monthly hosting allowances depend on the plan, and all sites on an account share one allowance.
- Plus: 125 credits
- Pro: 375 credits
- Business: 125 credits per seat
- Enterprise: per your organization's agreement
Approximate credit rates:
- Site without storage: 0
- Site with storage (including an empty database): 25 per site per month
- Traffic: 16 per 100,000 requests
- Database storage (saved records such as form responses): 150 per GiB stored for a month
- File storage (uploads such as images or PDFs): 3.75 per GiB stored for a month
- Custom domain: 25 per domain per month (domain registration costs extra)
One page visit typically generates 30–50 requests. At 100 visits a day that is 90,000–150,000 requests a month, or roughly 14–24 credits.
An empty database still costs 25 credits a month, so leave the database off intro pages or calculators that never save records. In a local project, open .openai/hosting.json to see which storage is bound. d1 is the relational database binding, r2 is file storage, and null means it is not used.
{ "project_id": "<project-id>", "d1": "DB", "r2": null }
For a per-site estimate, enter monthly requests and storage into the calculator on the Usage and cost page.
Sources
Get notified when a new tip lands
Tip alerts only go out in the app. Install it and turn notifications on.