#available API for my project.
1 messages · Page 1 of 1 (latest)
Hi @solid rose. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
You’re running into two separate things:
- Your project/org doesn’t have access to those specific models.
- The docs pages show all public models, not just what your project can use.
From the knowledge sources, the only API that returns what your org/project can actually call is the Models endpoint:
GET <https://api.openai.com/v1/models>
Authorization: Bearer YOUR_API_KEY
OpenAI-Project: YOUR_PROJECT_ID # optional but recommended if you use projects
This returns a list of model objects your key/project can use (IDs like gpt-5.2, gpt-5-mini, gpt-4.1, etc.). [API reference][Models API]
Key points:
- The Models docs describe this explicitly as “Lists the currently available models” for your org. [API reference]
- The public Models catalog page (
/docs/models) shows all models OpenAI offers, not filtered to your account. [Models catalog]
So, to see only the models available to your project:
- Call
GET /v1/modelswith your API key (andOpenAI-Projectheader if you’re using projects). - Use one of the returned
idvalues (e.g.gpt-5.2,gpt-5-mini, etc.) in yourmodelfield for API calls.