GPT 5.1 Mini wrongly listed in model list
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 31.6k
- Forks
- 5.7k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 96
Description
Confirm this is an issue with the Python library and not an underlying OpenAI API
- This is an issue with the Python library
Describe the bug
A model string - gpt-5.1-mini - is listed in the python sdk chat model list. It shouldn't be there as there is no model named gpt-5.1-mini. Instead it should be gpt 5.1 codex mini, I presume.
To Reproduce
See https://github.com/openai/openai-python/blob/main/src/openai/types/shared/chat_model.py Line number 16, it should not be there. Instead the 5.1 codex mini model should be there.
Code snippets
OS
Windows
Python version
v3.10.19
Library version
v2.11.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at src/openai/types/shared/chat_model.py around line 16, where the chat model list is defined. Compare the listed gpt-5.1-mini entry with the reported gpt 5.1 codex mini name. Done means the incorrect model is removed and the intended model is represented accurately in the Python SDK's chat model list.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100