When gpt-4-32k became accessible to general public (with previous api purchase history) I was granted access and used it a few times.
Now every time I try to use it I get an error
curl https://api.openai.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer $OPENAI_API_KEY" -d '{
"model": "gpt-4-32k",
"messages": [
{
"role": "system",
"content": "You respond in two sentences or less."
},
{
"role": "user",
"content": "Hello! Tell me your name"
}
]
}'
{
"error": {
"message": "The model `gpt-4-32k` does not exist or you do not have access to it. Learn more: https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4.",
"type": "invalid_request_error",
"param": null,
"code": "model_not_found"
}
}
My key is fine, using other models like gpt-4 works.
Checking the models also shows that the gpt-4-32k model doesn’t exist… even though it did before.
curl https://api.openai.com/v1/models -H "Authorization: Bearer $OPENAI_API_KEY" | grep gpt-4 -A 4 -B 4
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 "root": "gpt-3.5-turbo-16k-0613",
"parent": null
},
{
100 39019 100 3 "id": "gpt-4-0314",
9 "object": "model",
0 "created": 1687882410,
1 "owned_by": "openai",
9 "permission": [
--
"group": null,
"is_blocking": false
0 }
],
"root": "gpt-4-0314",
"parent": null
},
0 {
"id": "text-davinci-001",
--
8 "root": "text-davinci-001",
3 "parent": null
5 },
5 {
2 "id": "gpt-4",
"object": "model",
"created": 1687882411,
"owned_by": "openai",
"permission": [
--
"group": null,
0 "is_blocking": false
- }
- ],
:- "root": "gpt-4",
-: "parent": null
- },
- {
- "id": "babbage",
---
: "root": "code-davinci-edit-001",
- "parent": null
- },
: {
- "id": "gpt-4-0613",
- "object": "model",
"created": 1686588896,
- "owned_by": "openai",
- "permission": [
:--
- "group": null,
- "is_blocking": false
: }
- ],
- "root": "gpt-4-0613",
83 "parent": null
5 },
5 {
2 "id": "davinci-search-query",