Full picture: Estimate what your project costs →
Estimate · Games
How much does it cost to make a game with AI
A 2D browser game costs about $9.15 in AI tokens on Claude Sonnet 5.5. A small 3D browser game is about $15. That's the code. Art, music and hosting come on top.
- $9.152D game, Claude Sonnet 5.5
- $153D game, Claude Sonnet 5.5
- $0.462D game, Claude Haiku 5.5
- $182D game, Claude Opus 5.5
Checked (UTC) Anthropic's API prices ↗
5 game sizes, priced per model
Typical case, code tokens only. Tap a game to change size, model or features in the estimator.
| Project | Claude Haiku 5.5 | Claude Sonnet 5.5 | GPT-6.2 Sol | Claude Opus 5.5 |
|---|---|---|---|---|
| Small 2D game (arcade, puzzle)15 files, about 2,700 lines | $0.17 | $3.48 | $2.58 | $6.97 |
| 2D browser game30 files, about 5,400 lines | $0.46 | $9.15 | $6.78 | $18 |
| Bigger 2D game60 files, about 10,800 lines | $1.35 | $27 | $20 | $54 |
| Small 3D browser game40 files, about 8,000 lines | $0.77 | $15 | $11 | $31 |
| Bigger 3D game prototype80 files, about 16,000 lines | $2.40 | $48 | $36 | $96 |
What the estimate covers
- Game loop, controls and scoring
- Levels, menus and save data
- Fix-and-retry rounds (the range column)
- Sprites, 3D models, sound and music
- Multiplayer servers and hosting
- Store fees to publish the game
Which plan covers a 2D game?
About $10 in the month you build it on Claude Sonnet 5.5.
About $39 in the month you build it on Claude Sonnet 5.5.
About $39 in the month you build it on Claude Sonnet 5.5.
Plan price plus any token spend past the credits it includes, from our estimator's plan rules.
Ask for one playable level first, then add features one at a time. Every extra file makes each later turn read more code, so a big first prompt costs more than the sum of small ones.
- Numbers come from our app cost estimator and its listed assumptions.
- Price one game prompt on any model in the prompt calculator. Your text stays in your browser.
Sources: Anthropic API pricing ↗ · OpenAI API pricing ↗
Game cost FAQ
How much does it cost to make a game with AI?
In our estimate, a 2D browser game comes to about $9.15 of tokens on Claude Sonnet 5.5 ($4.58 to $20), and a small 3D browser game about $15. That covers the code only.
Can AI make a full game like GTA for a few dollars?
No. The estimator prices a big-game request as a small playable prototype. A full commercial game is far beyond what an agent writes in a few sessions.
Which model is cheapest for game code?
Claude Haiku 5.5 by list price: about $0.46 for the 2D game. Harder logic such as physics or netcode often needs a stronger model and more retries.
Is Opus worth it for making a game?
It costs about twice Claude Sonnet 5.5 per token, so the same 2D game is about $18. Use it for the hard bugs and a cheaper model for the rest.