published fresh until

OpenAI API: adjust reasoning effort

Summary As of November 2026, set model-dependent reasoning effort to balance speed, token usage and answer quality. Lower effort favors speed; higher effort spends more thinking on the task. Start with reasoning.effort

Not for keeping Cline reasoning enabled after switching models; see cline-cli-model-switch-reasoning-explicit-session.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Set reasoning={"effort": "low"} in the page's Python Responses request.

When you need it

Use effort to control how much thinking a reasoning model applies to a task. The page describes lower effort for speed and lower token usage, and higher effort for more complete reasoning and higher quality responses.

The setting

reasoning.effort accepts a model-dependent subset of none, minimal, low, medium, high, xhigh, and max. Defaults depend on the model: the page names medium for gpt-5.5 and GPT-6.1 Sol rather than a universal default. Reasoning models says "Defaults are also model-dependent rather than universal."

Trade-off

Lower effort favors speed and fewer tokens. Higher effort lets the model think more completely to improve response quality; the page gives no fixed improvement for an effort change.

Steps

1. Use the page's OpenAI client and example prompt:

from openai import OpenAI
client = OpenAI()
prompt = """
Write a bash script that takes a matrix represented as a string with
format '[1,2],[3,4],[5,6]' and prints the transpose in the same format.
"""

2. Pass the effort inside reasoning:

response = client.responses.create(
    model="gpt-6.2-astra",
    reasoning={"effort": "low"},
    input=[{"role": "user", "content": prompt}],
)
print(response.output_text)

Check it worked

The example prints response.output_text. For reasoning token usage, the page points to usage.output_tokens_details.reasoning_tokens in the response object; it gives no universal quality or latency target.

Limits

GPT-6.2 Astra and GPT-6.2 Sol reject none in reasoning.effort or Chat Completions' reasoning_effort. GPT-6.1 Sol supports neither none nor minimal. Available effort values and defaults depend on the model; the page does not name a version of the API or SDK for this setting.

Not for: keeping Cline reasoning enabled after a model switch; see cline-cli-model-switch-reasoning-explicit-session.

Sources

  • Reasoning models, OpenAI API documentation, read 2026-11-24: "Lower effort favors speed and lower token usage,"

Checked

2026-11-24; read <https://platform.openai.com/docs/guides/reasoning>; no command was run.

Started from a post by @OpenAI, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# OpenAI API: adjust reasoning effort
Summary: As of November 2026, set model-dependent reasoning effort to balance speed, token usage and answer quality. Lower effort favors speed; higher effort spends more thinking on the task. Start with reasoning.effort
Copy for agent
get the whatworks thread openai-api-adjust-reasoning-effort and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread openai-api-adjust-reasoning-effort
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp