How to build and host a website with AI
Start here: Want zero setup in your browser? Pick Lovable or Bolt.new. Want $0/mo hosting and full code ownership? Build with Antigravity or Claude Code, push to GitHub, and host free on Cloudflare. Not sure? Take the 3-step quiz.
- Free AI + Free Host$0/mo~$12/yr domain only
Antigravity or Claude Free + GitHub + Cloudflare
Full code ownership and $0/mo hosting forever
Catch: 20-min one-time GitHub & domain setup
- Pro AI Agent + Free Host$8 to $20/mo$0/mo once live
Claude Code, Codex, or Grok Build + Cloudflare
Build unlimited custom sites with reusable Skills
Catch: Rolling 5-hr/weekly caps; runs in editor or terminal
- Browser AI Builder$20 to $25/mo~$765 to $945 / 3 yrs
Lovable, Bolt.new, v0, or Base44
Type in browser and preview live in 60 seconds
Catch: Monthly prompt credit limits
- Store / Builder + MCP$10 to $29/mo$405 to $1,089 / 3 yrs
Shopify, Webflow, or Framer + Claude MCP
Visual editor & checkout plus AI bulk updates
Catch: Ongoing monthly builder subscription
| Stack | Why pick it & catch | Cost |
|---|---|---|
| Free AI + Free HostAntigravity or Claude Free + GitHub + Cloudflare | Full code ownership and $0/mo hosting foreverCatch: 20-min one-time GitHub & domain setup | $0/mo~$12/yr domain only |
| Pro AI Agent + Free HostClaude Code, Codex, or Grok Build + Cloudflare | Build unlimited custom sites with reusable SkillsCatch: Rolling 5-hr/weekly caps; runs in editor or terminal | $8 to $20/mo$0/mo once live |
| Browser AI BuilderLovable, Bolt.new, v0, or Base44 | Type in browser and preview live in 60 secondsCatch: Monthly prompt credit limits | $20 to $25/mo~$765 to $945 / 3 yrs |
| Store / Builder + MCPShopify, Webflow, or Framer + Claude MCP | Visual editor & checkout plus AI bulk updatesCatch: Ongoing monthly builder subscription | $10 to $29/mo$405 to $1,089 / 3 yrs |
Want sortable ratings and 3-year prices? Compare all 14 AI website builders or 14 web & mobile app builders.
The 4-step $0/month AI setup (do this once)
Four free or cheap pieces replace a $20+/month website builder. Once connected, every edit takes one command.
1. Generate the site files with AI
Describe your pages in plain English inside Antigravity, Claude Code, ChatGPT Codex, or Grok Build. It creates clean HTML or Next.js files on your computer so you can preview them locally first.
2. Back up to GitHub ($0)
Think of GitHub as Google Drive for code. Save your folder in a private repo once; every time you push an edit, your host rebuilds and updates the live site in ~30 seconds.
3. Connect a free host ($0/month + HTTPS)
- Cloudflare Workers & Pages (best overall): Unlimited static bandwidth, commercial sites allowed, 100,000 free Worker requests/day (midnight UTC reset), and free D1 database.
- Netlify (simplest 1-click import): 300 free credits/mo (~20 deploys or ~15 GB bandwidth). Hard cap pauses the site until next month if hit.
- Vercel (personal Next.js): 100 GB/mo bandwidth. Catch: Hobby $0 is non-commercial only; business sites need Pro ($20/mo).
4. Point your own .com (~$10 to $15/year)
Buy your domain directly at Namecheap or Cloudflare Registrar and add one DNS record. You keep full control if you ever switch tools.
GitHub commands to publish and update your site
# 1. One-time push to GitHub
git init && git add . && git commit -m "Initial site"
git branch -M main
git remote add origin https://github.com/YOUR-USERNAME/YOUR-REPO.git
git push -u origin main
# 2. Every future update (auto-deploys in ~30 seconds)
git add . && git commit -m "Update copy" && git pushAI coding pricing & usage limits
Major AI tools meter tokens across daily, rolling 5-hour, and weekly windows instead of flat message counts.
- Free: $0/mo
- Web chat only (5-hr & weekly caps). CLI requires paid.
- Starter: Pro $20/mo ($17/mo yr)
- Includes Claude Code. Shared 5-hr window + weekly cap.
- Heavy: Max $100 / Ultra $200
- 5x (Max) or 10x weekly pool; Ultra drops 5-hr pause.
- Free: $0/mo
- Web chat drafts only. Codex agent requires Plus.
- Starter: Plus $20/mo
- Includes Codex (web, CLI, IDE). 5-hr + weekly cap.
- Heavy: Pro $100 / $200 / $500
- No 5-hr pause; 10x to 50x Plus weekly allowance.
- Free: $0/mo
- Full IDE + autocomplete + baseline weekly agent quota.
- Starter: AI Pro $19.99/mo
- Agent quota refreshes every 5 hours (under weekly cap).
- Heavy: Ultra $99.99 / $199.99
- 5x or 20x Pro limits refreshing every 5 hours.
- Free: $0/mo
- Limited autocomplete & agent edits with daily caps.
- Starter: Plus $8 / Prem $30/mo
- Weekly shared pool (4x on Premium; legacy Cursor $20).
- Heavy: Super $100 / Ultra $200
- 15x or 50x Plus pool; 3rd-party models bill API credits.
| AI tool | Free ($0/mo) | Starter ($8-$30/mo) | Heavy ($100-$200/mo) |
|---|---|---|---|
| $0/moWeb chat only (5-hr & weekly caps). CLI requires paid. | Pro $20/mo ($17/mo yr)Includes Claude Code. Shared 5-hr window + weekly cap. | Max $100 / Ultra $2005x (Max) or 10x weekly pool; Ultra drops 5-hr pause. | |
| $0/moWeb chat drafts only. Codex agent requires Plus. | Plus $20/moIncludes Codex (web, CLI, IDE). 5-hr + weekly cap. | Pro $100 / $200 / $500No 5-hr pause; 10x to 50x Plus weekly allowance. | |
| $0/moFull IDE + autocomplete + baseline weekly agent quota. | AI Pro $19.99/moAgent quota refreshes every 5 hours (under weekly cap). | Ultra $99.99 / $199.995x or 20x Pro limits refreshing every 5 hours. | |
| $0/moLimited autocomplete & agent edits with daily caps. | Plus $8 / Prem $30/moWeekly shared pool (4x on Premium; legacy Cursor $20). | Super $100 / Ultra $20015x or 50x Plus pool; 3rd-party models bill API credits. |
- Coding uses 10x to 100x more quota than chat: Agents read files and run builds from the same shared 5-hour/weekly pool. A $20/mo plan is plenty for a 5-to-15 page site over a weekend.
- Stretch your limit without upgrading: Start a fresh chat for each new page and drop a Skill file (below) into your repo so the AI nails the layout on pass one.
- Pause anytime after launch: Your GitHub + Cloudflare site stays live at $0/mo even if you cancel your AI subscription between updates.
Copy-paste website skills & starter prompts
A skill is a plain markdown checklist (SKILL.md or AGENTS.md) saved in your repo so Claude Code, Codex, Grok Build, or Antigravity follows clean design, SEO, and speed rules on the first try.
Global Rules & Code Discipline
Core coding-agent guardrails: think before coding, surgical edits, simplicity first, and real verification.
Where to save: Save as CLAUDE.md in your project root
# Project & AI Coding Guardrails (AGENTS.md)
## 1. Think Before Coding
- State assumptions briefly before editing multiple files. If a requirement is ambiguous, ask one direct question instead of guessing silently.
- Check existing files, tokens, and components before inventing new ones. Reuse the project's established patterns.
## 2. Simplicity First
- Write the smallest clean implementation that solves the exact requirement. Do not add speculative abstractions, wrapper libraries, or config flags for imaginary future features.
- Prefer standard HTML, CSS, and framework primitives before adding third-party packages. Use permissive open-source licenses only (MIT, Apache-2.0, BSD, ISC).
## 3. Surgical Changes
- Touch only the files required for the requested change. Do not rewrite unrelated formatting, comments, or working modules.
- Remove any dead code, unused imports, or orphaned CSS created by your own edits.
## 4. Truth & Verification
- Never fabricate prices, specs, stats, benchmarks, or testimonials. Use verified data files or explicit [PLACEHOLDER] tags.
- Reading code is not verification. Before finishing, run the production build (npm run build), test every modified route live in a browser at desktop (1440px) and mobile (375px), and confirm zero console or type errors.Want community skills from GitHub? Install with one command below, and skim the markdown first (skip any skill asking for API keys or unknown shell scripts).
Add reusable skills to your repo
# Install a community skill pack from GitHub
npx skills add <owner>/<repo>
# Or drop SKILL.md directly into .claude/skills/, .agent/skills/, or AGENTS.mdCode ownership, adding a CMS & building apps
1. Own your code and switch AI models anytime
Hosted builders (Wix, Squarespace, Base44, Bubble) lock your pages inside their walls. When your site lives in your own GitHub repo, you can build version 1 in Claude Code, edit next month with Antigravity, Codex, or Grok Build, and never rebuild from scratch.
2. Let non-AI teammates edit pages (add a CMS)
- Free Git visual editors (Pages CMS, Decap CMS, Keystatic): Browser form that commits edits to GitHub and republishes in ~30s for $0/mo.
- Headless CMS (Sanity, Payload, WordPress, Ghost): Best for weekly blogs, draft approvals, and multiple editors.
- Visual builder + MCP (Shopify, Webflow, Framer): Daily drag-and-drop editing plus AI bulk updates below.
3. Build Web, iPhone & Android apps
For a web app (logins, portals, billing), pair Next.js with Cloudflare D1 or Supabase and Stripe ($0 app store fees). For native iPhone & Android apps, prompt your AI agent to use Expo (React Native) for one codebase across iOS, Android, and Web (Apple $99/yr; Google Play $25 one-time), or compare visual options on our AI & no-code app builders page.
Connect AI to Shopify, Webflow & Framer (MCP)
Already running a store or visual site? Model Context Protocol (MCP) plugs Claude, Grok Build, or Antigravity directly into official APIs for bulk SEO, product, and CMS edits.
Shopify + Claude / Grok Build
- Add Shopify’s official Dev MCP snippet below to Claude Desktop, Claude Code, or Grok Build.
- Start with a read-only API token and test edits on a staging theme before publishing.
Official Shopify Dev MCP config snippet
{
"mcpServers": {
"shopify-dev": {
"command": "npx",
"args": ["-y", "@shopify/dev-mcp@latest"]
}
}
}MCP & code-export support across major builders
Framer$405 / 3 yrs ($10/mo)- MCP connection
- Official Framer MCP · page-creation, layout-edit, cms-crud
- Code export
- Hosted only (React components in, no site export)
Shopify$1,089 / 3 yrs ($29/mo)- MCP connection
- Official Shopify MCP · catalog-query, storefront-api, admin-graphql
- Code export
- Liquid themes + Headless Hydrogen API
v0$765 / 3 yrs ($20/mo)
- MCP connection
- Vercel + shadcn CLI/MCP · nextjs-codegen, shadcn-cli, vercel-deploy
- Code export
- Full Next.js / React / Tailwind code export
Webflow$585 / 3 yrs ($15/mo)- MCP connection
- Official Webflow MCP · design-system-tokens, cms-crud, layout-edit
- Code export
- Static HTML/CSS/JS export (paid workspace)
Bolt.new$945 / 3 yrs ($25/mo)- MCP connection
- Full repo export + npm terminal · browser-webcontainers, github-export, multi-framework-npm
- Code export
- Full codebase export (React/Astro/Next/Vue)
Ghost$585 / 3 yrs ($15/mo)- MCP connection
- Admin API + community MCP · posts-crud, members-api, newsletter-publish
- Code export
- Open-source Node.js self-hostable CMS
Lovable$945 / 3 yrs ($25/mo)- MCP connection
- GitHub sync + agent handoff · github-two-way-sync, supabase-backend, visual-edits
- Code export
- Full React/TypeScript GitHub sync
Replit$765 / 3 yrs ($20/mo)- MCP connection
- Built-in Replit Agent + Git · autonomous-agent, postgres-hosting, git-sync
- Code export
- Full multi-language repo + Git sync
WordPress.org$405 / 3 yrs ($10/mo)- MCP connection
- WordPress MCP adapters + REST API · posts-pages-crud, media-upload, woocommerce-api
- Code export
- 100% open-source self-hosted code & DB
Base44$621 / 3 yrs ($16/mo)- MCP connection
- Built-in managed backend · auto-database, built-in-auth, one-click-hosting
- Code export
- Managed backend (limited self-host portability)
Beehiiv$1,809 / 3 yrs ($49/mo)- MCP connection
- REST API (no native MCP) · subscribers-api, posts-api
- Code export
- Subscriber CSV export; hosted site only
Wix$648 / 3 yrs ($17/mo)- MCP connection
- Wix Studio / REST APIs · rest-api, ai-site-chat
- Code export
- Hosted only (no site export)
Carrd$102 / 3 yrs ($1.5833/mo)- MCP connection
- No MCP (manual editor)
- Code export
- Hosted one-page sites only
Hostinger$140 / 3 yrs ($3/mo)
- MCP connection
- No official MCP
- Code export
- Hosted builder (WordPress hosting separate)
Squarespace$724 / 3 yrs ($19/mo)- MCP connection
- No official MCP
- Code export
- Hosted only (no code export)
| Action | ||||
|---|---|---|---|---|
| Official Framer MCPpage-creation, layout-edit, cms-crud | Hosted only (React components in, no site export) | $405$10/mo | Visit | |
| Official Shopify MCPcatalog-query, storefront-api, admin-graphql | Liquid themes + Headless Hydrogen API | $1,089$29/mo | Visit | |
| Vercel + shadcn CLI/MCPnextjs-codegen, shadcn-cli, vercel-deploy | Full Next.js / React / Tailwind code export | $765$20/mo | Visit | |
| Official Webflow MCPdesign-system-tokens, cms-crud, layout-edit | Static HTML/CSS/JS export (paid workspace) | $585$15/mo | Visit | |
| Full repo export + npm terminalbrowser-webcontainers, github-export, multi-framework-npm | Full codebase export (React/Astro/Next/Vue) | $945$25/mo | Visit | |
| Admin API + community MCPposts-crud, members-api, newsletter-publish | Open-source Node.js self-hostable CMS | $585$15/mo | Visit | |
| GitHub sync + agent handoffgithub-two-way-sync, supabase-backend, visual-edits | Full React/TypeScript GitHub sync | $945$25/mo | Visit | |
| Built-in Replit Agent + Gitautonomous-agent, postgres-hosting, git-sync | Full multi-language repo + Git sync | $765$20/mo | Visit | |
| WordPress MCP adapters + REST APIposts-pages-crud, media-upload, woocommerce-api | 100% open-source self-hosted code & DB | $405$10/mo | Visit | |
| Built-in managed backendauto-database, built-in-auth, one-click-hosting | Managed backend (limited self-host portability) | $621$16/mo | Visit | |
| REST API (no native MCP)subscribers-api, posts-api | Subscriber CSV export; hosted site only | $1,809$49/mo | Visit | |
| Wix Studio / REST APIsrest-api, ai-site-chat | Hosted only (no site export) | $648$17/mo | Visit | |
| No MCP (manual editor) | Hosted one-page sites only | $102$1.5833/mo | Visit | |
| No official MCP | Hosted builder (WordPress hosting separate) | $140$3/mo | Visit | |
| No official MCP | Hosted only (no code export) | $724$19/mo | Visit |
Common questions
Can I really host an AI website for $0/month?
Yes. Push your site files to a free private GitHub repo and connect it to Cloudflare Workers & Pages (commercial use allowed, unlimited static bandwidth) or Netlify. Your only ongoing cost is ~$10 to $15/year for a .com domain.
Do I have to keep paying $20/month for AI after launch?
No. Because your code lives in GitHub and deploys on free hosting, your live site stays online at $0/month even if you cancel or pause Claude, Codex, or Grok Build between edits.
Can I switch AI tools later if a better model ships?
Yes, if you own the GitHub repo. Build version 1 with Claude Code, edit next month with Antigravity, Codex, or Grok Build, and avoid rebuilding from scratch.
How do non-technical teammates edit an AI-built site?
Connect a free Git-backed editor like Pages CMS, Decap CMS, or Keystatic so anyone can edit text and images in a browser form and auto-publish to GitHub, or attach a headless CMS like Sanity, WordPress, or Ghost.