The API says my model does not exist or I do not have access to it.
Why this happens
Model IDs are exact and access can be scoped to a project. Examples copied from older tutorials may reference retired or unavailable models, and a misspelling produces the same kind of failure.
Answer 1: Use an exact model ID from your project’s model list
response = client.responses.create(
model="gpt-5",
input="Hi",
)
Choose a model that is listed for the account and project that own your key. Do not assume a model name from a blog post is enabled for every project.
