How do I use chat gpt 4 model in my code?

{
“error”: {
“message”: “The model gpt-4.0-turbo does not exist”,
“type”: “invalid_request_error”,
“param”: null,
“code”: “model_not_found”
}
}

and when I do the
/api.openai.com/v1/models
curl

none of the results seem to point to chat gpt 4 turbo

{
“object”: “list”,
“data”: [
{
“id”: “gpt-3.5-turbo-0301”,
“object”: “model”,
“created”: 1677649963,
“owned_by”: “openai”
},
{
“id”: “text-embedding-3-large”,
“object”: “model”,
“created”: 1705953180,
“owned_by”: “system”
},
{
“id”: “text-embedding-3-small”,
“object”: “model”,
“created”: 1705948997,
“owned_by”: “system”
},
{
“id”: “dall-e-3”,
“object”: “model”,
“created”: 1698785189,
“owned_by”: “system”
},
{
“id”: “whisper-1”,
“object”: “model”,
“created”: 1677532384,
“owned_by”: “openai-internal”
},
{
“id”: “dall-e-2”,
“object”: “model”,
“created”: 1698798177,
“owned_by”: “system”
},
{
“id”: “text-embedding-ada-002”,
“object”: “model”,
“created”: 1671217299,
“owned_by”: “openai-internal”
},
{
“id”: “tts-1-hd-1106”,
“object”: “model”,
“created”: 1699053533,
“owned_by”: “system”
},
{
“id”: “tts-1-hd”,
“object”: “model”,
“created”: 1699046015,
“owned_by”: “system”
},
{
“id”: “davinci-002”,
“object”: “model”,
“created”: 1692634301,
“owned_by”: “system”
},
{
“id”: “babbage-002”,
“object”: “model”,
“created”: 1692634615,
“owned_by”: “system”
},
{
“id”: “gpt-3.5-turbo-0613”,
“object”: “model”,
“created”: 1686587434,
“owned_by”: “openai”
},
{
“id”: “gpt-3.5-turbo”,
“object”: “model”,
“created”: 1677610602,
“owned_by”: “openai”
},
{
“id”: “gpt-3.5-turbo-16k-0613”,
“object”: “model”,
“created”: 1685474247,
“owned_by”: “openai”
},
{
“id”: “gpt-3.5-turbo-1106”,
“object”: “model”,
“created”: 1698959748,
“owned_by”: “system”
},
{
“id”: “tts-1-1106”,
“object”: “model”,
“created”: 1699053241,
“owned_by”: “system”
},
{
“id”: “gpt-3.5-turbo-instruct”,
“object”: “model”,
“created”: 1692901427,
“owned_by”: “system”
},
{
“id”: “tts-1”,
“object”: “model”,
“created”: 1681940951,
“owned_by”: “openai-internal”
},
{
“id”: “gpt-3.5-turbo-instruct-0914”,
“object”: “model”,
“created”: 1694122472,
“owned_by”: “system”
},
{
“id”: “gpt-3.5-turbo-16k”,
“object”: “model”,
“created”: 1683758102,
“owned_by”: “openai-internal”
}
]
}

Hi! Welcome to the forums!

Do you happen to have a free account?

It’s kind of hidden in the docs, but under rate limits you can check what tier has access to which models:

https://platform.openai.com/docs/guides/rate-limits/usage-tiers

Hi, and thank you.
I have a monthly subscription.
Like the $20 p/m subscription that lets you use chat gpt 4 and to create custom gpts. Not sure if we are talking about the same thing?

I imagine you’re talking to a monthly chat.openai.com subscription (i.e. plus or teams)

platform.openai.com (which is where the API lives) doesn’t have that, you either prepay or pay as you go.

This is a huge point of confusion for a lot of people unfortunately :frowning:

I see. So now that I have created my OpenAI account - beyond the one with the $20 p/m subscription - what do I need to do to be allowed to experiment with the model and integrate it in my app?
I guess Id like to pay as I go

I see this under Usage

well, you can integrate gpt-3.5-turbo series right from the get-go - the API is the same as gpt-4.

Some users got upgraded into tier 1 after prepaying 5 bucks, as outlined in the tier qualification requirements in that link above (https://platform.openai.com/docs/guides/rate-limits/usage-tiers?context=tier-one)

I get this error when I try to use 3.5 turbo. So it doesn’t look like I can integrate gpt-3.5-turbo into my app without getting the error I mentioned in the beginning of the thread

Most importantly, where do I pay to upgrade to tier-1?

Which error?

it looks like you don’t have any funds, so you should probably get a permission denied or something if you don’t have a payment method.

btw, a gpt 4 model would be called gpt-4-1106-preview or something, you can look at this list https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo

they’re not really named super consistently unfortunately.

if you go here: https://platform.openai.com/account/billing/overview

you can click buy credits.

BUT!!!

This is what other people have reported works for them. I assume no liability here if it does or does not work!

1 Like