mario7
1
I currently get this error and I have made a payment:
This is my code:
import os
import sys
import constants
from langchain.document_loaders import TextLoader
from langchain.document_loaders import DirectoryLoader
from langchain.indexes import VectorstoreIndexCreator
from langchain.llms import OpenAI
from langchain.chat_models import ChatOpenAI
os.environ["OPENAI_API_KEY"] = constants.APIKEY
query = sys.argv[1]
print(query)
# loader = TextLoader("data.txt")
loader = DirectoryLoader("./data")
index = VectorstoreIndexCreator().from_loaders([loader])
print(index.query(query, llm=ChatOpenAI(model="gpt-4-1106-preview")))
The model gpt-4-1106-preview
does not exist or you do not have access to it.
Does anyone know what could help me get this to work?
4 Likes
same. I was under the impression it is supposed to be available to everyone, but I’m facing the same problem.
I did not make new payments I already topped off my API balance a long while ago for older models
Same here! Hopefully we get it shortly! It solves my query I posted just last week about token limits 
mario7
4
I believe it will be available at 1pm PST? That is what their docs are say…
4 Likes
mario7
5
They are now live! Thank you for reading this!
@mario7 I’m still seeing the same error. How did you resolve it?
mario7
7
Hey @MikeB26 did you already pay for the api credit?
Same problem even in the playground gpt-4 does not appear as a available model
Note: I have credits in the account but even with that not access to the model
Same problem, available credits but not acceso to the latest gpt 4 model released
jr818
10
After buy some credits, gpt-4-1106-preview is finally accessible
MikeB26
11
Buying $10 in prepaid credits seems to have resolved the issue for me. Thanks for the hint.