GPT-6 Sol API
openai/gpt-6-solGPT-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
Quick start
Send a POST request to /v1/chat/completions with openai/gpt-6-sol. Choose JSON or SSE with stream, and receive generated content and usage.
- Endpoint
- POST /v1/chat/completions
- Model ID
- openai/gpt-6-sol
- Protocol
- Chat Completions
Request fields
| Field | Requirement | Description |
|---|---|---|
| model | Required | openai/gpt-6-sol |
| messages | Required | A non-empty ordered array of role and content messages; use a system message for system instructions. |
| max_tokens | Optional | An integer from 1 to 128,000; the playground defaults to 2048. |
| temperature | Optional | Sampling temperature from 0 to 2; defaults to 1. |
| top_p | Optional | Nucleus sampling probability from 0 to 1; defaults to 1. |
| stream | Optional | false returns complete JSON; true returns SSE events. The API defaults to false. |
Response and usage
Successful responses include generated content and usage. Billing settles from actual input, output, and cache tokens.
Streaming
Set stream: true to read SSE. Finalize usage accounting from the terminal usage event.
curl --request POST \
--url "https://api.vidgo.ai/v1/chat/completions" \
--header "Authorization: Bearer $VIDGO_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"model": "openai/gpt-6-sol",
"messages": [
{
"role": "user",
"content": "Review this API design and identify edge cases."
}
],
"max_tokens": 2048,
"temperature": 1,
"top_p": 1,
"stream": false
}'Keep API keys on the server. Never expose them in browser code or public repositories.
Continue with
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.






























