The OpenAI platform is managed by OpenAI and changes at their discretion, and so the details may be slightly different from what is documented here.

In your web browser, visit https://platform.openai.com/

Click the "sign up" link. Then, you can use your e-mail to sign up, or an existing Google or Microsoft account.

OpenAI may require additional steps such as e-mail or phone verification before you can log in to your account.

Once you have completed the verification process and logged in, you will next create an API key. Use the menu in the far upper right corner (probably labeled "Personal") and then select "View API Keys".

Then, create a fresh API key by clicking "Create new secret key".

Save this secret key in the file settings.toml on the CIRCUITPY drive in a line that looks like

OPENAI_API_KEY="sk-b6...kP5"

This file also requires your WiFI credentials, see the next page of the guide for the details.

At the time of writing, OpenAI provides a free credit with new accounts. After the free credit is used or expires, you'll need to enter a credit card in your billing information to keep using the service.

Playing the Infinite Text Adventure for an hour tends to cost a few cents at most, and it's easy to limit your monthly bill to a pre-set amount such as $5.00.

To set a hard usage limit per month, visit the "Usage Limits" section of the OpenAI website.

This graph shows the author's usage costs while developing and playtesting the app, a total of $1.27 in API calls.

This guide was first published on Mar 10, 2023. It was last updated on Mar 24, 2023.

This page (Create an account with OpenAI) was last updated on Mar 10, 2023.

Text editor powered by tinymce.