The most frequently used function is the 'Chat Model' and it's usually the one consuming the most credits. To reduce this cost you can add your own OpenAI API key instead.

If you're not sure where to find your OpenAI key, check out their article.

Once you have your key, you can go to your project settings then click on the 'Project' tab, from there you'll see a field for adding in your key, paste it in and save.

Adding your own API key


Now whenever you make a call to an OpenAI model in your apps it will use this API key instead of the default one offered internally by Moonlit.