Estimate · Games

How much does it cost to make a game with AI

Quick answer

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.

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.

ProjectClaude Haiku 5.5Claude Sonnet 5.5GPT-6.2 SolClaude Opus 5.5Claude Sonnet 5.5 range
Small 2D game (arcade, puzzle)15 files, about 2,700 lines$0.17$3.48$2.58$6.97$1.74 to $7.56
2D browser game30 files, about 5,400 lines$0.46$9.15$6.78$18$4.58 to $20
Bigger 2D game60 files, about 10,800 lines$1.35$27$20$54$14 to $60
Small 3D browser game40 files, about 8,000 lines$0.77$15$11$31$7.67 to $34
Bigger 3D game prototype80 files, about 16,000 lines$2.40$48$36$96$24 to $106

What the estimate covers

Included
  • Game loop, controls and scoring
  • Levels, menus and save data
  • Fix-and-retry rounds (the range column)
Not included
  • Sprites, 3D models, sound and music
  • Multiplayer servers and hosting
  • Store fees to publish the game

Which plan covers a 2D game?

GitHub Copilot Pro ($10)

About $10 in the month you build it on Claude Sonnet 5.5.

GitHub Copilot Pro+ ($39)

About $39 in the month you build it on Claude Sonnet 5.5.

Cursor Premium ($30)

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.

Keep the game small at first

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.

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.