What do the AI error messages Out of budget and 0/1 left mean?
This writeup is from community member Theo Koster outlining a detailed walkthrough on how to set up your OpenAI account so you can use it with AI for Builders. It covers several errors likeout of budget
,0/1 left
, andrate limit for this api key has been hit
. Here's Theo:
There is no new information in this post, just a handy list of actions that I needed to assemble from different posts. If you get error messages using AI functionality, here is how I solved these.
First: you've got to understand that Tana uses the OpenAI API. This is a different product than the OpenAI chatbot ChatGPT. So even if you have a paid account with the OpenAI ChatGPT, this is of no use to using the OpenAI API.
Second: you have a limited amount of free queries available with the OpenAI API. This is why you run into error messages after a week of using the AI facilities in Tana. So you've got to pay extra. If you don't want to do that, fine, but face the limits. The good news here is that you can limit your credit to ± $5 and you can limit your maximum spend per month. My burn rate on my first day on a paid plan was 32 cents.
How I got it all working:
- Enable AI in Tana (settings -> Tana Labs -> AI for builders: check)
- Login to platform.openapi.com. Not chat.openai.com/ (the chatbot). You must definitely go to platform.openapi.com
- Create a user account at platform.openapi.com. Left menu, bottom
- Create a payment plan: https://platform.openai.com/account/billing/overview. Register your credit card at payment method.
- Set usage limits at https://platform.openai.com/account/limits. This is where you can set a monthly budget. I chose $5 again.
- Get your API key at https://platform.openai.com/api-keys (fourth item in the left menu with the key lock-icon). You should copy your API-key immediately.
- Go to Tana and past your fresh API key in settings -> API-tokens (hit the [Create] button)
- Reboot Tana
Now you should be good to go.
Thanks Theo for the thorough writeup!