Skip to main content
GPT-6 Sol is OpenAI’s GPT-6 model for complex coding and agentic workflows. Use the model ID gpt-6-sol with the OpenAI-compatible Responses API at POST /v1/responses or Chat Completions at POST /v1/chat/completions.
Prefer the Responses API for built-in tools, function calling with reasoning, image input, Structured Outputs, and prompt caching. Chat Completions function calling is supported only when reasoning_effort is none.

Model specifications

When to use GPT-6 Sol

  • Complex software engineering and codebase-wide changes
  • Long-running agent workflows that use functions or built-in tools
  • Multi-step planning, debugging, and technical analysis
  • Large-context document or repository analysis
  • Vision tasks that combine text and image input
  • Schema-constrained JSON output

Quick start

cURL

Tool calling

Use the Responses API when the model needs to reason and call tools:
cURL
In Chat Completions, function calling requires reasoning_effort: "none". Use the Responses API if you need tool calling with low, medium, high, xhigh, or max reasoning.
Chat Completions wraps each function definition inside a function object:

Built-in tools

OpenAI lists the following Responses API tools for GPT-6 Sol: Web search, File search, Image generation, Code Interpreter, Hosted shell, Apply patch, Skills, Computer use, MCP, and Tool search. Each tool has its own request fields and may require supporting resources such as files, vector stores, remote servers, or a computer-use loop.

Reasoning and sampling rules

When reasoning effort is not none, omit temperature, top_p, and top_logprobs. For Chat Completions, also omit logprobs. For Responses, do not request message.output_text.logprobs in include.

Core parameters

In raw Responses API JSON, read generated text from message items in output[].content[].text. Some official SDKs expose an aggregated output_text convenience property, but clients should not require a top-level output_text field in the raw HTTP response.

API Reference

View the GPT-6 Sol API reference.

Official references