Coming back to the API after a few years, changes don't make sense

I keep getting Response status code does not indicate success: 401 (Unauthorized).’

Your documentation says to use org Id and project Id but you do not explain where to find that. Do I use the org name?? Is there some org Id hidden somewhere, cause I can’t find it if it is… same with project Id. Can you clowns not put that somewhere convenient, all in one place, and then explain what it is please. Please do not become one of those companies who’s service level goes to crap cause you are too big to care.

I found the org Id after some digging, added $100 to my account, why am I getting this now?

Response status code does not indicate success: 429 (Too Many Requests)

Welcome to the forum…

You’ll need to check out the rate limits for your billing Tier…

https://platform.openai.com/docs/guides/rate-limits/usage-tiers?context=tier-free

If you’re trying to embed a lot or send a lot of calls, you’re likely hitting limits.

Usage tiers

You can view the rate and usage limits for your organization under the limits section of your account settings. As your usage of the OpenAI API and your spend on our API goes up, we automatically graduate you to the next usage tier. This usually results in an increase in rate limits across most models.

Tier Qualification Usage limits
Free User must be in an allowed geography $100 / month
Tier 1 $5 paid $100 / month
Tier 2 $50 paid and 7+ days since first successful payment $500 / month
Tier 3 $100 paid and 7+ days since first successful payment $1,000 / month
Tier 4 $250 paid and 14+ days since first successful payment $5,000 / month
Tier 5 $1,000 paid and 30+ days since first successful payment $50,000 / month

Select a tier below to view a high-level summary of rate limits per model.

Tier 1 rate limits

This is a high level summary and there are per-model exceptions to these limits (e.g. some legacy models or models with larger context windows have different rate limits). To view the exact rate limits per model for your account, visit the limits section of your account settings.

Model RPM RPD TPM Batch Queue Limit
gpt-4o 500 - 30,000 90,000
gpt-4-turbo 500 - 30,000 90,000
gpt-4 500 10,000 10,000 100,000
gpt-3.5-turbo 3,500 10,000 60,000 200,000
text-embedding-3-large 3,000 - 1,000,000 3,000,000
text-embedding-3-small 3,000 - 1,000,000 3,000,000
text-embedding-ada-002 3,000 - 1,000,000 3,000,000
whisper-1 50 - - -
tts-1 50 - - -
tts-1-hd 3 - - -
dall-e-2 5 img/min - - -
dall-e-3 5 img/min - - -

And a guide for error codes you’ll get…

https://platform.openai.com/docs/guides/error-codes

Also useful (beyond Docs) is the Quickstart and Cookbook…

https://platform.openai.com/docs/quickstart