Skip to content

Cannot use verbosity for GPT-5 API #2528

@hgnzheng

Description

@hgnzheng

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

When we use OpenAI version 1.70.0, we are getting the following error:

TypeError: Responses.create() got an unexpected keyword argument 'verbosity'

We we used the most up-to-date OpenAI version of 1.99.3, we get the following:

BadRequestError: Error code: 400 - {'error': {'message': "Unknown parameter: 'verbosity'.", 'type': 'invalid_request_error', 'param': 'verbosity', 'code': 'unknown_parameter'}}

Is there a fix to this?

To Reproduce

  1. Download either OpenAI package with version 1.70.0 or 1.99.3.
    2.Run the following code.

Code snippets

response = client.responses.create(
    model="gpt-5-2025-08-07",
    input=[
        {"role": "user", "content": 'Hello'},
    ],
    reasoning={
        "effort": "minimal",
    },
    max_output_tokens=4096,
    stream=False,
    verbosity='low'
)

OS

macOS

Python version

Python v3.10.14

Library version

openai v1.70.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions