Buy the full source code of application here:
Watch My Visual Studio Code IDE Setup Video For Fonts,Themes & Extensions
https://youtu.be/Bon8Pm1gbX8
Hi Join the official discord server to resolve doubts here:
https://discord.gg/cRnjhk6nzW
Visit my Online Free Media Tool Website
https://freemediatools.com/
Buy Premium Scripts and Apps Here:
https://procodestore.com/
Show More Show Less View Video Transcript
0:00
Hello guys, in this video I will
0:01
actually show you is
0:04
OpenAI API is really free or paid?
0:07
Because many videos on YouTube is
0:09
claiming that this API is unlimited and
0:11
it's it is free. Let me show you inside
0:14
this video the reality of this OpenAI
0:17
API. So OpenAI as you all know it's
0:20
really popular company which created
0:22
ChatGPT.
0:23
And
0:25
So once you simply type this on Google
0:28
their API platform official page will
0:30
come right here.
0:32
And
0:34
right here you click on start building.
0:38
So you will be redirected to their API
0:40
dashboard right here.
0:42
So this is the official address
0:43
platform.openai.com
0:46
and you can simply sign up using your
0:48
Google account.
0:50
It is totally free
0:52
to create account.
0:54
So after you create this account right
0:56
here you will actually see these are all
0:59
the APIs you will get access to GPT-5,
1:02
GPT-5.4
1:04
all their official APIs.
1:07
And now
1:08
whether this API is free or paid, I just
1:11
need to tell you that this API is not
1:13
free.
1:14
It was earlier free when it whenever it
1:17
was released 5 years ago, but at this
1:19
moment of time when I'm recording this
1:21
video it is not free.
1:23
You need to add credits. After you sign
1:26
up, you need to click on add credits.
1:28
And then you add your
1:31
verify your payment method and you click
1:34
on add payment details.
1:36
So you can see credit is zero. So you do
1:40
need to add some credits so that you can
1:43
actually call the API. So right here you
1:45
will add your credit card information
1:47
and then click on continue.
1:50
After that
1:51
you can call their API.
1:54
And for creating the API key it's very
1:56
simple after you add some credits you go
2:00
to the API key section right here and
2:03
for creating
2:04
the
2:06
This is a new way by which you create a
2:08
new secret key. API keys was legacy. Now
2:12
it has been replaced by project API
2:14
keys.
2:15
So it has been discontinued and now you
2:17
click on
2:20
a secret key and you select your project
2:23
and click on create secret key.
2:25
So once you do that, then it gives you
2:27
this secret key.
2:29
Then you simply go to any provider.
2:32
Let's suppose in VS code we are using
2:34
this extension Klint which is a really
2:37
popular extension for calling different
2:39
APIs.
2:40
It's a coding agent. So simply install
2:43
this extension after you
2:46
created that secret key.
2:48
And go to settings and from here you
2:50
select the API provider which is OpenAI.
2:57
So after selecting the OpenAI, right
2:59
here you paste this
3:01
secret key that you got.
3:05
And then you select your model right
3:07
here, whichever model you want to call.
3:08
So all these models come inside this
3:11
API.
3:12
GPT-5.2, 5.1, Codex.
3:16
So select your model
3:18
and after that click on the done button.
3:21
That's all
3:22
and then you send out a message.
3:25
So if you have some credits, then this
3:28
API request will be successful. If you
3:30
don't have any kind of API request
3:33
this is not a free API. I just want to
3:35
tell you on this video.
3:37
Many fake videos are
3:39
there in YouTube claiming that it's an
3:41
unlimited API, free API.
3:44
So you will get this message that 429
3:47
you exceeded your current quota. Please
3:49
check your plan and billing details.
3:51
So this simply means that you don't have
3:53
a sufficient credits and quota.
3:56
So for this you do need to purchase some
3:58
credits.
4:00
So this is a reality of this API. It's
4:02
it is not a free API
4:05
at this moment of time.
4:08
You do need to add some credits. After
4:11
that you can call this API and their
4:13
methods.
4:16
So [snorts] definitely
4:18
try this if you like this API. I have
4:20
tried this. It's really awesome API, but
4:23
it it is not a free API.
4:25
All these models, flagship models comes
4:28
inside this API
4:30
which is GPT-5
4:33
which is their newly
4:35
advanced model for programming coding.
4:39
These are all the cost pricing which are
4:42
given right here. Input
4:44
the cost for billion tokens
4:47
output
