Skip to content

reasoning_effort: "minimal" is totally unavailable #1690

@turik99

Description

@turik99

Confirm this is a Node library issue and not an underlying OpenAI API issue

  • This is an issue with the Node library

Describe the bug

We're currently unable to set reasoning_effort to "minimal" even on models which support that level.

Excerpt from openai module:
export type ReasoningEffort = 'low' | 'medium' | 'high' | null;
As you can see we have low medium high and "null" (what does this do?) but no option for minimal.

To Reproduce

  1. Write some instance of the completions create method
  2. attempt to set reasoning_effort to "minimal"

Code snippets

Here's the context in which I'm unable to set the parameter: 

const { choices } = await openai.chat.completions.create({
    model: STRICT_JSON_MODEL,
    messages: [{ role: "user", content: prompt }],
    response_format: {
      type: "json_schema",
      json_schema: sentenceAssessmentSchema,
    },
    reasoning_effort: "low",
  });

OS

macOS

Node version

Node v22.0

Library version

openai v6.7.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