Gemini can build a website, but what it gives you is a share link: Canvas publishes to a public g.co address that opens inside Gemini, and Google AI Studio publishes apps to an address under ai.studio. To put the same site on a real address with your own domain name, give it to Antigravity, Google's free coding agent, with one line of instructions, and it publishes it for you.
What Gemini gives you
Canvas, in the Gemini app. Ask for a website and Gemini writes it in a side
panel with a live preview. Sharing it gives a public link starting
g.co/gemini/share, which opens on gemini.google.com. It is quick, it is free,
and anyone with the link can see it. It is not an address you own, and a
shared link does not open in the Gemini mobile app.
Google AI Studio. Built for developers, and it can publish an app to Cloud Run. On the Starter Tier that is free for up to two apps, on a subdomain of ai.studio. Beyond that it needs a paid Google Cloud account.
Both are good at what they are for. Neither is a website on your own domain.
Putting it on a real address
Antigravity is Google's coding agent, and a different product from the Gemini chat. It runs on your computer, it is free, and it can send a site to a host.
- Sign up with a Google account and copy the line on your dashboard.
- Install Antigravity and paste the line into it.
- If you already built the site in Gemini, ask Gemini for every file and give them to Antigravity. Otherwise, describe the site from scratch.
- Antigravity publishes it and gives you the address.
Gemini CLI, Google's assistant as a command-line tool, works the same way and has a free tier.
One thing to check first: does the app call Gemini?
Some AI Studio apps call Gemini themselves, to answer questions or generate text for the visitor. Those need care wherever you host them.
- Never put the API key in the page. Anything in a page can be read by anyone who opens it, and a key there will be found and used.
- Keep the call on the server instead. Ask your assistant to move the Gemini call into a small server-side app and store the key as a secret. The page asks your app, your app asks Gemini, and the key never reaches a visitor. Server-side apps here can call the Gemini API, and apps are included on the free plan.
A page that does not call an AI at all, which is most websites, publishes exactly as it is.
Side by side
| Gemini share link | AI Studio | DashPloy | |
|---|---|---|---|
| Free | Yes | Up to two apps | Yes, never expires |
| Your own domain | No | An ai.studio name | One on the free plan |
| Who publishes | Gemini | AI Studio | Antigravity, Gemini CLI or another agent |
Gemini website hosting has the full comparison and the date it was last checked against Google's own pages.
Questions people ask
Can Gemini host a website?
Only as a share link that opens inside Gemini. For an address of your own, Antigravity or Gemini CLI publishes it to a host.
Is Antigravity the same as Gemini?
No. Gemini is the assistant you chat with in a browser. Antigravity is Google's coding agent, which runs on your computer and can put a website online.
Do I need to pay Google for any of this?
No. Antigravity is free, the Gemini app is free to use, and hosting here is free too, with one custom domain on the free plan.