Help Center/Code & engines
Prompt to Browser Game
Generate a complete, playable browser game from a prompt.
Prompt to Browser Game turns a game description into a complete, playable browser game: a single HTML file with the HTML, CSS and JavaScript inline. Preview it live in a sandboxed window, edit the code, refine it with another prompt, and download the file.
Every build runs on an Anthropic Claude Opus model. Claude Opus 5.5 is the default and the cheapest: 500 credits for a quick build or 1,450 for the multi-pass Advanced (Full) build, available on Indie and higher and to any account holding credits from a credit pack. Claude Opus 5 and Claude Opus 4.8 cost 600 quick / 1,800 Advanced. "Quick" is a single-pass generation; "Advanced" is the three-pass design, skeleton, implement pipeline that produces more polished results.
Not sure where to start? Use "Plan it first". It is free: describe your game and art style, add up to four screenshots for the look you want, answer a few quick questions, and you get a one-screen game plan you can edit or ask to change. The plan shows the exact build price and your balance, and it is saved, so you can top up and come back to it. When you build, the plan becomes the brief for Claude Opus.
Refining a game is priced by the size of the game you are editing: up to 50 KB, 50 to 150 KB, or 150 to 400 KB. On Opus 5.5 a quick refine costs 600, 800 or 1,500 credits and an Advanced refine 1,000, 1,200 or 2,000. The exact price is shown on the Apply button before you click. Failed builds and refines are refunded automatically.
You can publish a finished game to the Creations gallery, where visitors can play it right in the browser. Games you have uploaded through the MCP endpoint also appear in your Prompt to Browser Game history, so you can open them and iterate on the code with the web editor.
Tip
Keep your first prompt focused on the core loop, then use "Refine this game" to add features one at a time. Smaller games are cheaper to refine, so trim unused code before a big round of changes.