GPT Credits
Last updated
Last updated
To use generative AI, you will need GPT Credits active on your account. Everyone receives 50 free credits when they sign up. Credits are designed to be scalable and affordable relative to the game they are in. You can calculate how many credits you will likely need using the calculator and purchase from Stripe when ready to check out.
Text Generations: Uses 1 credit per generation, everytime a player generates text it uses 1 credit regardless of how long the text generation is.
Voice generations: Uses 3 credits per generation, everytime a player generates voice dialogue it uses 3 credits regardless of how long the voice generation is.
Fallback Option: The GPT Dialogue System has a offline fallback if you run out of credits so your game continues to work for all players, this also kicks in if a generation fails or the player is offline. I recommend supporting the fallback option for your project in case you decide to stop buying credits and want it to work offline. You can deliver a patch that mandates the offline fallback for all dialogue generation nodes/functions in your project if you are ending the life of a game and want to have permanant offline mode.
In the editor toolbar look for "GPT DIalogue" and click the button to get a drown down of options.
Click the Purchase GPT Credits option.
If it does not auto pop up it may be minimized, open the windows taskbar to find it.
If the text boxes or buttons are too small, you can resize it like a normal window.
The calculator is simple, enter the average generations in your game per player and the number of players you expect or have per month(30 days).
For a 10 dollar game with 50 players a month(500 dollars a month in sales) and only text generation, you can expect to spend roughly 20 dollars a month on GPT credits as an example.
You can also spend less than your total player base and just let some players use the fallback option which automatically activates if credits are low.
Free games can integrate Generative Dialogue as DLC so its profitable; non DLC players will simply use the fallback option for free at no cost to you. See our DLC plugin for more information on how to set that up
Once you have used the calculator to find how many credits you will need per month, you can use the price picker and checkout options via Stripe to add credits to your account.
There are options for one time payments if you expect most players to be on launch month, during big updates, or playtests, or you can do recurring payments that automatically charge your card on Stripe and add credits to your account each month if you have consistent player counts.
If you are using recurring payments, you can stack multiple credit tiers if the premade amounts are not accurate, Example: you need 3000 credits, You can stack the 500 and 2500 GPT Credit packs together for 3000 GPT Credits a month.
GPT Credits can be used across projects as long as you use the same account.
When you click "Checkout with Stripe" a web page to stripes checkout portal will open, upon successful payment, the credits will automatically show up in your account. once payment is successfuly you can return to editor and click the "Refresh Credit Balance" button to see them in your account.
Credits become cheaper if you buy in bulk; they start at 1 penny per credit but become cheaper to a fraction of a penny per credit if you buy larger packs. each checkout window tells you the approximate price per credit.
Please contact support on Discord or email if you have issues with payment processing.
if your game is ending its lifespan and you want to stop supporting it, you can mandate the fallback be used everywhere the generation functions are in one click.
Open the purchasing page and resize the window to be fullscreen. You should see a checkbox that says "Mandate Global Offline fallback" click that to true and your game will now use the fallback option everywhere.
Alternatively you can mandate the global fallback in game by using the GPT Dialogue Subsystem and its "Mandate Offline Fallback" node.
You can also use this node in free games behind a DLC paywall where if the DLC is owned this fallback is false and if its not owned it is true, so you can scale your game.