Managing Credit and API Usage in Studio

I’d like to better understand how credit usage and API key usage work in the Studio setup. Currently, I can either set the Studio to use credits or check the box to use my API key.

If I start by using credits and they run out over time, will I receive a notification before the credits are exhausted, or do I need to check manually? Is there an option where the system automatically switches to using my API key once the credits are depleted, ensuring no interruptions?

The reason I’m asking is that I want to set up a Studio where my customers can chat and pay monthly for usage. For example, if I have 100 users actively chatting and I’ve configured the Studio to use credits first, I need to ensure I’m notified before the credits run out. This way, I can either replenish the credits or activate my API key to avoid downtime for my customers.

You will get a notification when credits run out, but not before, if it is set to use credits. There is no option for a switchover. This is to incentivize folks to use their API keys when available.

For your use case, you should put in your API key and leave it there, most likely. The switching back and forth could cause downtime and in the end won’t save you much money at all.