GPT-6.1 Sol Chat API

openai/gpt-6.1-sol
1,050,000 tokens · 320 input / 1600 output credits / 1M tokens

GPT-6.1 Sol Chat turns code and document context into implementations and structured analysis, with long-context reasoning and multi-step agent workflows. It carries requirements and evidence across a task while letting you control the response length and format.

GPT-6.1 Sol

OpenAI · chat-completions

Chat with GPT-6.1 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.1 Sol Chat

GPT-6.1 Sol Chat is OpenAI's model for complex coding, document analysis, and professional agent workflows. Its long context and adjustable reasoning help connect source files, detailed reports, and earlier decisions throughout a task. Developers can use ordered conversations through Chat Completions or structured input and tool configurations through Responses to build assistants that investigate problems, prepare changes, and review results.

Why Choose GPT-6.1 Sol Chat?

  • Investigate and change codeTrace a failure across related files, plan a refactor, and prepare changes with the requirements and verification criteria in view.

  • Connect extensive source materialUse the 1,050,000-token context window to relate repository files, documents, and earlier conversation turns during sustained work.

  • Analyze detailed documentsConnect written explanations with tables, charts, and visual evidence to prepare structured findings and professional drafts.

  • Guide multi-step agentsConfigure tools through Responses and incorporate their results into subsequent decisions. Choose a reasoning effort that fits the depth of the task.

Parameters

ParameterRequirementDescription
modelRequired

Use openai/gpt-6.1-sol with either protocol.

messagesRequired for Chat Completions

A non-empty ordered array of messages containing role and content. Supply system instructions in a system-role message.

inputRequired for Responses

Non-empty text or a structured message array that can combine text and image content.

instructionsOptional for Responses

System instructions that guide the response.

temperatureOptional

Sampling temperature from 0 to 2. Lower values favor more consistent wording.

Default1
top_pOptional

Nucleus sampling probability from 0 to 1. Adjust this or temperature to tune text diversity.

Default1
max_tokensOptional for Chat Completions

A positive integer setting the output limit, up to 128,000 tokens. The playground offers 256–8,192 and starts at 2,048.

max_output_tokensOptional for Responses

A positive integer setting the output limit, up to 128,000 tokens. The playground offers 256–8,192 and starts at 2,048.

reasoning.effortOptional for Responses

Choose the depth of reasoning for a programmatic request.

lowmediumhighxhighmax
toolsOptional for Responses

Configure tools available to your agent workflow.

streamOptional

Use false for complete JSON or true for SSE events. The playground streams responses.

Defaultfalsetrue

How to Use

  1. Provide the task and evidenceInclude the outcome, relevant code or document context, constraints, and acceptance criteria.

  2. Choose a request formatUse Chat Completions for ordered conversation messages or Responses for structured input and agent tools.

  3. Set the response controlsSet system instructions and the output limit. For a Responses integration, choose reasoning.effort to suit the task.

  4. Review and continueRead the generated answer and token usage, verify the result, and add follow-up instructions in the conversation.

Pricing

Rates apply per 1M tokens. Input, output, cache reads, and cache writes are counted separately and settled in credits from reported usage.

UsageRateDetails
Input$1.60 · 320 credits / 1M tokensStandard input tokens after accounting for reported cache reads and writes.
Output$8.00 · 1600 credits / 1M tokensOutput tokens recorded in response usage.
Cache Read$0.080 · 16 credits / 1M tokensInput tokens read from cache when cache usage is reported.
Cache Write$2.00 · 400 credits / 1M tokensInput tokens written to cache when cache usage is reported.

Best Use Cases

  • Repository investigation and refactoringConnect bug reports, related files, and test evidence to prepare a scoped implementation or review.

  • Document and research analysisTurn lengthy reports, tables, and source material into findings with clear supporting evidence.

  • Tool-assisted business workflowsBuild agents that gather context, call configured tools, and use each result to plan the next step.

  • Interface and application analysisCombine screenshots with task instructions to analyze application state and guide an agent's next action.

Pro Tips

  • Provide relevant source context and acceptance criteria together when requesting code changes.
  • State the answer format in system instructions, such as a review checklist or a report with evidence.
  • Use reasoning.effort in Responses when a task needs deeper investigation, and verify tool results before continuing.

Usage Notes

  • The model context window is 1,050,000 tokens; the API supports up to 128,000 output tokens.
  • The playground defaults to Chat Completions and also offers Responses. Its Max Tokens control ranges from 256 to 8,192, with a default of 2,048.
  • The playground's System Prompt becomes a system-role message. Programmatic Responses requests can also use instructions.
  • Send protocol fields at the request root with model set to openai/gpt-6.1-sol.

Related Models

GPT-6.1 Sol Chat API Frequently Asked Questions

What is the GPT-6.1 Sol Chat API?

GPT-6.1 Sol Chat is an OpenAI model for complex coding, document analysis, and multi-step agent workflows. It turns code, text, and visual context into implementations, structured findings, and detailed answers. Its 1,050,000-token context window and adjustable reasoning help retain requirements and evidence throughout a task. You can call it programmatically or try it from the playground above.

How much does GPT-6.1 Sol Chat cost?

Per million tokens, input costs $1.60 or 320 credits, output costs $8.00 or 1600 credits, cache reads cost $0.080 or 16 credits, and cache writes cost $2.00 or 400 credits. Charges follow the token usage reported for the response.

How can GPT-6.1 Sol Chat help with complex coding?

Provide the target behavior, relevant source files, error details, and verification criteria. GPT-6.1 Sol Chat can investigate relationships across the codebase, prepare a refactor or implementation, and explain the checks needed to review the change.

How large is the GPT-6.1 Sol Chat context window?

GPT-6.1 Sol Chat has a 1,050,000-token context window. Use it to connect code, documents, instructions, and earlier conversation turns during a long task.

Which reasoning levels does GPT-6.1 Sol Chat offer?

In a Responses request, set reasoning.effort to low, medium, high, xhigh, or max. Choose the depth suited to your analysis, debugging, or agent workflow.

How does GPT-6.1 Sol Chat analyze documents?

Give GPT-6.1 Sol Chat the relevant document text and visual context through structured input. It can connect explanations, tables, and charts to prepare a summary, compare evidence, or draft a report in the requested format.

How do I build an agent with GPT-6.1 Sol Chat?

Use Responses to provide task instructions, source context, and configured tools. Your application executes the tool calls and returns their results so the model can decide the next step and review the outcome.

How many tokens can GPT-6.1 Sol Chat output?

The API supports up to 128,000 output tokens. Use max_tokens with Chat Completions or max_output_tokens with Responses. The playground offers a 256–8,192-token control for interactive trials, starting at 2,048.