Forum in maintenance, we will back soon 🙂
Cost of API
Can anyone give an idea of approximate monthly cost towards using the ChatGPT API. Assuming a basic service/app like say "Gift Recommendation" with around 100 to 500 queries every day ?
Hi Friend, this depends on how many token you are using, for example, if you are using 100 tokens for each request, it means 500*100 = 50000 Tokens.
1000 Tokens on Gpt-3.5 costs around $0.002
check pricing here: https://openai.com/pricing
Hello Hasan, this is fantastic information, and I appreciate you sharing it. Just to clarify, when developing an API that incorporates AI, it's necessary to use a personal ChatGPT API key from OpenAI, right? My concern is about the potential for unanticipated usage, leading to significant charges from OpenAI. Do you have any suggestions for mitigating this risk?
@oscar-sosa you can set a limit on the spend. Also, depending on the service you can request that someone enter their own API key for you to use.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@oscar-sosa as @ssadvisor mentioned, you can set limits, and monitor your usage in your dashboard.
and based on your app structure, you can use your own key or make users enter their own keys.
Thanks @ssadvisor
An error occurred: API request failed. Response: {
"error": {
"message": "You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors .",
"type": "insufficient_quota",
"param": null,
"code": "insufficient_quota"
}
}
That's error 429 according to openAI, they state:
Cause: You have run out of credits or hit your maximum monthly spend.
Solution: Buy more credits or learn how to increase your limits.
@admin CAN YOU MAKE A VIDEO ABOUT IT , LIKE HOW THIS TOKEN THING WORKS AND THE LANGUAGE MODEL ONE SHOULD USE IN ORDER TO GET RESULTS. THANKS
@naveedbaig1 why do you shout? Why do you need a video when you can just read this.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
Sometimes people's caps lock button dose not work. 🙂
At This Point, You Can Only Impress Me,
I don't treat people bad. I treat them accordingly!
Support Me:
https://www.patreon.com/hincmods/posts
Remote Payment:
https://buy.stripe.com/8wMg0IfQE4TweWI6pc