Skip to content

Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead. #37964

Closed as not planned

Description

@Incrision

Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead. For GPT 5.1 models on Azure

Activity

  1. github-actions commented on Jul 20, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • No issue template was used (Bug Report, Feature Request, or Question)
    • No description or context provided — the issue body is just the error message title repeated
    • No reproduction steps, environment details, or system information included

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    This issue might be a duplicate of existing issues. Please check:

    If you believe this was flagged incorrectly, please let a maintainer know.

  2. github-actions commented on Jul 20, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

    Feel free to open a new issue that follows our issue templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions