Clay Icon

OpenAI API Token Limit Issues with AI Enrichment Prompts

Β·
Β·

I am getting this message at the header of an AI enrichment using my OpenAI API key. My OpenAI account in currently on usage tier 2, which gives me 5,000 requests per minute and 2,000,000 tokens per day with the gpt-4o-mini model. The enrichment prompt is below and I have't been able to run it for a single row. Am I really exceeding the token limit with this?

For the company ${Company Website}, find out if it is B2B or B2C.

If it is B2B, respond with "B2B". If it is B2C, respond with "B2C".
  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    To ensure reliable use of OpenAI features in Clay, specific token per minute (TPM) requirements must be met: ** ChatGPT columns require 30,000 TPM ** Claygent requires 450,000 TPMIf you're experiencing token limit issues, you'll need to check your current API usage tier at OpenAI API Usage Limits. If you're on a free plan or tier 1, these won't support the required TPM.To resolve this, you'll need to upgrade your OpenAI API key to a tier 2 API key. You can check your current usage and limits at: ** Usage ** Limits * Usage Tiers

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    I'm delighted to hear that! Remember, we're always here to assist you with any future questions or concerns.

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    Hi Ted G.! This thread was recently closed by our Support team. If you have a moment, please share your feedback:

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    Thanks! We've reopened this thread. You can continue to add more detail directly in this thread.

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    Looks like you're still looking for help. We're escalating this over to our support team and someone should be in touch soon. In the meantime, feel free to include any other information that may be helpful in solving your issue!

  • Avatar of Ted G.
    Ted G.
    Β·
    Β·

    The TPM on my current tier is 2,000,000...

  • Avatar of Bruno R.
    Bruno R.
    Β·
    Β·

    Hi Ted, thanks for reaching out. Taking a look at this now! It looks like you may be experiencing issues related to your API usage tier. Can you share a screenshot of the lower section of the page at this URLso I can take a look at you tier?

  • Avatar of Ted G.
    Ted G.
    Β·
    Β·

    Which section?

  • Avatar of Ted G.
    Ted G.
    Β·
    Β·

    Usage limits, or Increasing your limits?

  • Avatar of Bruno R.
    Bruno R.
    Β·
    Β·

    The lower section of the website where the API usage tier is specified, thanks in advance Ted!

  • Avatar of Ted G.
    Ted G.
    Β·
    Β·

    Tier 2

  • Avatar of Ted G.
    Ted G.
    Β·
    Β·
  • Avatar of Ted G.
    Ted G.
    Β·
    Β·

    With the following limits

  • Avatar of Ted G.
    Ted G.
    Β·
    Β·

    Hence, the confusion

  • Avatar of Bruno R.
    Bruno R.
    Β·
    Β·

    Is there any chance that you may have linked a different API key to clay here? Can you create a new project-specific key and re-link it to your workspace to see if this resolves the issue? Here's how you can set up and update an API key: https://downloads.intercomcdn.com/i/o/1140139293/97cace6d115dce3df28b4344/CleanShot+2024-08-09+at+09_37_44.gif?expires=1733510700&signature=31d599be5ab6d75ab2a91fb9064f46f5b565327273ca01b1569c08909894f866&req=dSEjFsh9lINWWvMW1HO4zYRSX4ASvdhdemlQ%2FftGWS7lIw%3D%3D%0A

  • Avatar of Ted G.
    Ted G.
    Β·
    Β·

    Now, I am getting "missing authentication" when I try to run the enrichment column

  • Avatar of Ted G.
    Ted G.
    Β·
    Β·

    But, I got a success status when I added the new key

  • Avatar of Ted G.
    Ted G.
    Β·
    Β·

    added the new key from the enrichment configuration interface and now it's running

  • Avatar of Bruno R.
    Bruno R.
    Β·
    Β·

    So you can confirm that this is now resolved after you renewed the configuration of the key?

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    Hi Ted G.! This thread was recently closed by our Support team. If you have a moment, please share your feedback: