GPT-6 Sol API

openai/gpt-6-sol
1,050,000 tokens · Input 320 / Output 1600 / Cache Read 32 / Cache Write 400 credits / 1M tokens

GPT-6 Sol turns instructions and conversation history into code and analysis, combining multi-step reasoning with a 1,050,000-token context. Supply source files, constraints, and acceptance criteria to guide connected changes and review the answer against your requirements.

GPT-6 Sol

OpenAI · chat-completions

Chat with GPT-6 Sol

Each model has its own conversation. Switching never sends another model's history, and switching back resumes where you left off. Requests are billed from actual token usage.

Ctrl / ⌘ + Enter to send0 / 32,000

Continue with

GPT-6 Sol

GPT-6 Sol is an OpenAI reasoning model built for complex coding and agentic workflows. It connects instructions, repository excerpts, and document evidence across a long context to develop code changes, explanations, and reviewable conclusions. Use ordered messages with Chat Completions or text and structured input with Responses, then carry the answer into the next conversation turn.

Why Choose GPT-6 Sol?

  • Connected software changesAnalyze requirements, related files, and test evidence together when a change spans multiple modules.

  • Long-context analysisBring extensive specifications and document excerpts into a 1,050,000-token context to connect findings across sections.

  • Multi-step reasoningBreak a complex task into linked decisions and explain how supplied constraints shape the result.

  • Continuity across turnsContinue from prior questions and answers while carrying explicit requirements into the next step.

Parameters

ParameterRequirementDescription
modelRequired

Set to openai/gpt-6-sol for either protocol.

messagesRequired for Chat Completions

A non-empty ordered array of role and content messages. Use system for instructions, user for requests, and assistant for previous answers.

inputRequired for Responses

A non-empty text string or structured input array. The playground supplies conversation turns as an array.

instructionsOptional for Responses

System instructions supplied as a string.

max_tokensOptional for Chat Completions

An integer from 1 to 128,000 setting the output budget. The playground defaults to 2048.

max_output_tokensOptional for Responses

An integer from 1 to 128,000 setting the output budget. The playground defaults to 2048.

temperatureOptional for Chat Completions

Sampling temperature from 0 to 2. Adjust temperature or top_p to guide variation.

Default1
top_pOptional for Chat Completions

Nucleus sampling probability from 0 to 1.

Default1
streamOptional

false returns complete JSON; true returns SSE events. The playground uses SSE.

Defaultfalsetrue

How to Use

  1. Define the deliverableProvide the task, expected output, and acceptance criteria.

  2. Organize the evidenceInclude relevant source files or document excerpts with clear labels and constraints.

  3. Choose a protocol and budgetUse messages for Chat Completions or input for Responses. Set the matching output-token budget.

  4. Review and continueCheck the generated answer against your evidence and add a follow-up request for the next step.

Pricing

Input, output, cache-read, and cache-write usage are metered separately. Each rate applies per 1M tokens.

UsageRateDetails
Input$1.60 · 320 credits / 1M tokensRequest tokens billed as standard input.
Output$8.00 · 1600 credits / 1M tokensTokens generated in the response.
Cache Read$0.160 · 32 credits / 1M tokensInput tokens read from prompt cache, as reported in usage.
Cache Write$2.00 · 400 credits / 1M tokensInput tokens written to prompt cache, as reported in usage.

Best Use Cases

  • Multi-file refactoringTrace a requirement across related modules and produce a connected change with verification steps.

  • Long-document reviewCompare requirements, contracts, or research excerpts and tie conclusions to the supplied sections.

  • Multi-step task planningTurn a goal, constraints, and progress updates into decisions and next actions.

Pro Tips

  • Separate requirements, source material, and acceptance criteria with clear headings.
  • Supply the relevant earlier turns when continuing a conversation through the API.
  • Keep stable instructions and reference material at the beginning of repeated requests to help prompt-cache reuse.

Usage Notes

  • Model context: 1,050,000 tokens; maximum input: 922,000 tokens; maximum output: 128,000 tokens.
  • The playground defaults to Chat Completions, SSE, and an output budget of 2048 tokens. Both protocols offer a 1–128,000 output control.
  • Cache-read and cache-write charges follow the corresponding token usage reported for the request.

Related Models

GPT-6 Sol API frequently asked questions

What is the GPT-6 Sol API?

GPT-6 Sol is an OpenAI reasoning model that turns instructions and conversation history into code and analysis. It is built for complex coding and agentic workflows, connecting source material and requirements across multi-step tasks. Its 1,050,000-token context and configurable output budget help organize extensive evidence and detailed deliverables. Call it with Chat Completions or Responses, or use this page’s Playground to try a conversation.

How does GPT-6 Sol handle multi-file coding?

GPT-6 Sol can examine related files, requirements, and test evidence together. Provide file boundaries, the behavior to change, and acceptance criteria so the answer can connect dependencies and describe how to verify each change.

How much context can GPT-6 Sol analyze?

GPT-6 Sol has a 1,050,000-token context window, with up to 922,000 input tokens and 128,000 output tokens. Organize long documents and repository excerpts with section labels, and include the task constraints alongside the evidence.

How does GPT-6 Sol continue a conversation?

Supply earlier user and assistant messages in order with the next request. Chat Completions uses messages; Responses can use an input array. The Playground carries its conversation history into each follow-up request.

Which GPT-6 Sol protocol should I choose?

Use Chat Completions for an ordered messages conversation and Responses for text or structured input with separate instructions. Both use openai/gpt-6-sol and return generated content with token usage. This page defaults to Chat Completions and lets you switch protocols in Configuration.

Can GPT-6 Sol stream its answers?

Set stream to true to receive SSE events as output arrives. Set it to false for a complete JSON response. The Playground streams answers and provides a stop button while a response is being generated.

How is GPT-6 Sol prompt-cache usage priced?

Cache reads cost $0.160 or 32 credits per 1M tokens; cache writes cost $2.00 or 400 credits per 1M tokens. These rates apply to the corresponding cache usage reported for the request. Reuse stable instructions and reference material at the beginning of repeated requests.

How do I set the GPT-6 Sol output budget?

Set max_tokens for Chat Completions or max_output_tokens for Responses to an integer from 1 to 128,000. The Playground defaults to 2048. Choose the budget for the expected explanation or code deliverable, and inspect the returned token usage.