Keys for testing purposes only

Hello, I am working on an application powered by the GPT API, however, I can’t figure out hot to make keys for testing purposes only. Meaning I will avoid incurring costs or affecting production environments. Does anyone know how I can implement this?

Hi there and welcome to the Forum!

No sure if I am misunderstanding your question but the consumption of OpenAI models via the API always incurs costs. You of course have the option to set up different keys for different purposes, i.e. development vs production environment, and as such track the costs separately.