Prompt Buddy logoPrompt Buddy

openai · OpenAI Platform Docs

Reasoning models | OpenAI API

Explains how to utilize reasoning models to handle complex tasks through internal chain-of-thought processing and provides guidance on prompting strategies for these specific model types.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Reasoning models | OpenAI API

Explains how to utilize reasoning models to handle complex tasks through internal chain-of-thought processing and provides guidance on prompting strategies for these specific model types.

When To Use

Use when you need to implement complex problem-solving workflows, multi-step reasoning tasks, or optimize prompts for models that utilize internal chain-of-thought processes.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/reasoning-models-openai-api-workflow-guide.mdA guide explaining how reasoning models use internal tokens to plan, use tools, and manage context windows within the OpenAI API.Questions about a guide explaining how reasoning models use internal tokens to plan, use tools, and manage context windows within the...
examples/reasoning-models-openai-api-openai-api-reasoning-effort-nodejs.textA Node.js code snippet demonstrating how to use the OpenAI API with a reasoning model and specified effort level.Exact payloads, commands, or snippets shown in A Node.js code snippet demonstrating how to use the OpenAI API with a reasoning model and specified effort level.
examples/reasoning-models-openai-api-openai-api-python-reasoning-effort-low.textA Python code snippet demonstrating how to use the OpenAI API with a reasoning model by specifying a low reasoning effort.Exact payloads, commands, or snippets shown in A Python code snippet demonstrating how to use the OpenAI API with a reasoning model by specifying a low reasoning ef...
examples/reasoning-models-openai-api-openai-api-reasoning-effort-curl-request.textA curl command demonstrating how to send a request to the OpenAI API specifying the reasoning effort parameter.Exact payloads, commands, or snippets shown in A curl command demonstrating how to send a request to the OpenAI API specifying the reasoning effort parameter.
examples/reasoning-models-openai-api-openai-api-reasoning-models-usage-response.textA text representation of an OpenAI API response showing token usage breakdown including reasoning tokens.Exact payloads, commands, or snippets shown in A text representation of an OpenAI API response showing token usage breakdown including reasoning tokens.
examples/reasoning-models-openai-api-openai-api-reasoning-model-nodejs.textA Node.js code example demonstrating how to use the reasoning parameter with the OpenAI API to generate a response.Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to use the reasoning parameter with the OpenAI API to generate a response.
examples/reasoning-models-openai-api-openai-api-python-reasoning-effort.textA Python script demonstrating how to use the OpenAI API with a reasoning model by specifying the reasoning effort parameter.Exact payloads, commands, or snippets shown in A Python script demonstrating how to use the OpenAI API with a reasoning model by specifying the reasoning effort par...
examples/reasoning-models-openai-api-openai-api-reasoning-model-curl-request.textA curl command demonstrating how to send a request to the OpenAI API using a reasoning model with specified effort levels and reasoning content inclusion.Exact payloads, commands, or snippets shown in A curl command demonstrating how to send a request to the OpenAI API using a reasoning model with specified effort le...
examples/reasoning-models-openai-api-openai-api-reasoning-effort-nodejs-2.textA Node.js code snippet demonstrating how to use the reasoning parameter with the OpenAI API to control model effort.Exact payloads, commands, or snippets shown in A Node.js code snippet demonstrating how to use the reasoning parameter with the OpenAI API to control model effort.
examples/reasoning-models-openai-api-openai-api-reasoning-model-python-request.textA Python code example demonstrating how to use the OpenAI API to send a request to a reasoning model with specified effort levels.Exact payloads, commands, or snippets shown in A Python code example demonstrating how to use the OpenAI API to send a request to a reasoning model with specified e...
examples/reasoning-models-openai-api-openai-api-reasoning-model-curl-request-2.textA curl command demonstrating how to send a request to the OpenAI API using a reasoning model with specified effort levels.Exact payloads, commands, or snippets shown in A curl command demonstrating how to send a request to the OpenAI API using a reasoning model with specified effort le...
examples/reasoning-models-openai-api-openai-api-reasoning-model-response-object.textA text representation of an OpenAI API response object containing reasoning type metadata and summary text.Exact payloads, commands, or snippets shown in A text representation of an OpenAI API response object containing reasoning type metadata and summary text.
examples/reasoning-models-openai-api-openai-api-reasoning-models-nodejs-response-.textA Node.js code example demonstrating how to use the OpenAI client to create responses with specific reasoning phases like commentary and final answer.Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to use the OpenAI client to create responses with specific reasoning phases...
examples/reasoning-models-openai-api-openai-api-reasoning-models-python-response-.textA Python code example demonstrating how to use the OpenAI client to create responses with reasoning phases using a reasoning model.Exact payloads, commands, or snippets shown in A Python code example demonstrating how to use the OpenAI client to create responses with reasoning phases using a re...
examples/reasoning-models-openai-api-openai-api-reasoning-models-nodejs-prompt.textA Node.js code snippet demonstrating how to structure a prompt for OpenAI reasoning models to perform specific code transformations.Exact payloads, commands, or snippets shown in A Node.js code snippet demonstrating how to structure a prompt for OpenAI reasoning models to perform specific code t...
examples/reasoning-models-openai-api-openai-api-reasoning-models-python-prompt.textA Python code snippet demonstrating how to structure a prompt for OpenAI reasoning models to perform specific code transformations.Exact payloads, commands, or snippets shown in A Python code snippet demonstrating how to structure a prompt for OpenAI reasoning models to perform specific code tr...
examples/reasoning-models-openai-api-openai-api-reasoning-models-nodejs-prompt-2.textA Node.js code example demonstrating how to structure a prompt for OpenAI reasoning models to perform specific code transformations.Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to structure a prompt for OpenAI reasoning models to perform specific code t...
examples/reasoning-models-openai-api-openai-api-reasoning-models-python-prompt-2.textA Python code snippet demonstrating how to structure a prompt for OpenAI reasoning models to perform specific code transformations.Exact payloads, commands, or snippets shown in A Python code snippet demonstrating how to structure a prompt for OpenAI reasoning models to perform specific code tr...
examples/reasoning-models-openai-api-openai-api-reasoning-models-nodejs-prompt-3.textA Node.js code example demonstrating how to send a prompt to OpenAI reasoning models using the OpenAI client library.Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to send a prompt to OpenAI reasoning models using the OpenAI client library.
examples/reasoning-models-openai-api-openai-api-reasoning-models-python.textA Python script demonstrating how to use the OpenAI client to interact with reasoning models.Exact payloads, commands, or snippets shown in A Python script demonstrating how to use the OpenAI client to interact with reasoning models.
examples/reasoning-models-openai-api-openai-api-reasoning-models-nodejs-prompt-4.textA Node.js code example demonstrating how to send a prompt to OpenAI reasoning models using the OpenAI client library.Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to send a prompt to OpenAI reasoning models using the OpenAI client library.
examples/reasoning-models-openai-api-openai-api-reasoning-models-python-2.textA Python script demonstrating how to use the OpenAI client to interact with reasoning models for complex task processing.Exact payloads, commands, or snippets shown in A Python script demonstrating how to use the OpenAI client to interact with reasoning models for complex task process...
examples/reasoning-models-openai-api-openai-api-reasoning-models-nodejs-chat-comp.textA Node.js code example demonstrating how to use the OpenAI API to create a chat completion with a reasoning model.Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to use the OpenAI API to create a chat completion with a reasoning model.
examples/reasoning-models-openai-api-openai-api-python-reasoning-model-chat-compl.textA Python script demonstrating how to use the OpenAI client to send a prompt to a reasoning model via the chat completions endpoint.Exact payloads, commands, or snippets shown in A Python script demonstrating how to use the OpenAI client to send a prompt to a reasoning model via the chat complet...
examples/reasoning-models-openai-api-openai-api-reasoning-models-nodejs-request.textA Node.js code example demonstrating how to use the OpenAI API to send a prompt to a reasoning model.Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to use the OpenAI API to send a prompt to a reasoning model.
examples/reasoning-models-openai-api-openai-api-reasoning-models-python-client.textA Python code example demonstrating how to use the OpenAI client to send a prompt to a reasoning model.Exact payloads, commands, or snippets shown in A Python code example demonstrating how to use the OpenAI client to send a prompt to a reasoning model.

What This Skill Covers

  • Reasoning models like GPT-5.5 use internal reasoning tokens before producing a response. This helps the model plan, use tools effectively, inspect alternativ...
  • Main sections: Get started with reasoning, Reasoning effort, How reasoning works, Managing the context window, Controlling costs.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.openai.com/api/docs/guides/reasoning