GPT-6.1 Sol Chat API
openai/gpt-6.1-solGPT-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
Quick start
Send a POST request to /v1/chat/completions with openai/gpt-6.1-sol. Choose JSON or SSE with stream, and receive generated content and usage.
- Endpoint
- POST /v1/chat/completions
- Model ID
- openai/gpt-6.1-sol
- Protocol
- Chat Completions
Request fields
| Field | Requirement | Description |
|---|---|---|
| model | Required | openai/gpt-6.1-sol |
| messages | Required | A non-empty ordered array of role and content messages; use the system role for system instructions. |
| max_tokens | Optional | A positive integer; API maximum: 128,000 output tokens. Playground: 256–8,192, default 2,048. |
| temperature | Optional | Sampling temperature from 0 to 2; default 1. |
| top_p | Optional | Nucleus sampling probability from 0 to 1; default 1. |
| stream | Optional | Defaults to false for complete JSON; true returns an SSE event stream. |
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.1-sol",
"messages": [
{
"role": "user",
"content": "Explain why deterministic retries matter in distributed systems."
}
],
"max_tokens": 1024,
"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.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.






























