Skip to content

GPT 5.1 Mini wrongly listed in model list #2785

@LoGic142

Description

@LoGic142

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    apibugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions