Do you need to pay to use the API?

Hello, I am pretty new to all of this stuff, but I got an api key and I wanted to know if using Chat gpt 4 api was free ? If not, is the chatgpt 3.5 free ?

1 Like

Welcome to the community, @Bakce4 !

I’d check out this page…

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

Should have a lot of into for you.

You do have to pay for API consumption.

3 Likes

Quickstart is missing “how to pay for services” (which is by purchasing pre-paid credits to fund usage)

Immediately instructive and answering the question is the price list.

https://openai.com/api/pricing/

2 Likes

hihi,

ChatGPT 3.5 is free to use. ChatGPT 4 and above must be paid, not free.

1 Like

Recently I implemented a simple application to send request with human text to the openAI api and then get back the result I want by callling openAI API, then i got following error :

Error communicating with AI: 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.
Error processing the file: AI failed to interpret the request.

from the link of errror-codes, this is the cause of the error :

429 - You exceeded your current quota, please check your plan and billing details Cause: You have run out of credits or hit your maximum monthly spend.
Solution: Buy more credits or learn how to increase your limits.

Even i subscribed chatGPT Plus with 20 $ per month, i still can not use openAI api for granted.
I need to extra pay for the usage of openAI API

Do you know how to modify a python script so it runs Chatgpt 3.5 instead of 4 ?

Thank you for the information

1 Like

Thank you I will check that also

1 Like

response = openai.ChatCompletion.create(
model=“gpt-4”,
…
)

1 Like

This is not true for the API. You can observe the pricing link just above this reply to see gpt-3.5-turbo is also paid for.

Nor is it true for ChatGPT (web chatbot) as that model no longer exists for ChatGPT users. Free now gets gpt-4o-mini, with limited trials of gpt-4o with a free acccount.

1 Like