itch.io is community of indie game creators and players

Devlogs

GPT costs = changes

RealmCraft | Powered by AI
A browser game made in HTML5

I wanted to share the costs associated with this project to justify a recent change.

As you can see, the project is running at up to $7+ per day! This doesn't really relate to the number of players, it mostly relates to playtime per player, so one person can easily run up $7 worth of game. The main reason for this is that I had turned on conversation history, so GPT was digesting the entire text log every time - which is an ever increasing number of tokens!

Unfortunately, I recently lost my job so this kind of expense is coming at the wrong time. I have turned off conversation history for now, let me know if you feel this is adversely affecting play. If I get another job I'll turn conversation history back on (or if someone wants to support the game!).

RealmCraft uses GPT3.5, so I can't imagine what the costs would be like if it used GPT4.

Leave a comment