GPT-6.1 Sol API
https://api.hiapi.ai /v1/responses This model uses the OpenAI Responses endpoint. The same HiAPI API key works across enabled models; media models use /v1/tasks and a different request shape.
Model overview
| Model ID | gpt-6.1-sol |
|---|---|
| Provider | OpenAI |
| Type | Text generation · streaming Responses |
| Reasoning efforts | low / medium / high / xhigh / max |
| Examples / Playground effort | medium |
| Pricing | Live HiAPI token rates |
Integrate OpenAI GPT-6.1 Sol through HiAPI streaming Responses for text generation and reasoning.
Production guidance
- Use POST /v1/responses with an input array, stream=true, and store=false.
- Use low, medium, high, xhigh, or max for reasoning.effort. Omit temperature, top_p, and max_output_tokens.
- The same HiAPI API key works across enabled models. Media models use /v1/tasks with a different request body.
- This page documents streaming Responses only. Handle response.completed, response.incomplete, and response.failed separately.
Best suited for
Choose an effort and consume text deltas as they arrive.
reasoning.effortinputRequest parameters
model string required Use this exact public model ID.
input array required Message items. Replay the context needed for each turn.
stream boolean optional Must be true. Process the response as SSE.
store boolean optional Must be false. Keep conversation state in your client.
instructions string optional Optional instructions for the response.
reasoning object optional Reasoning configuration.
effort enum optional Use low, medium, high, xhigh, or max. Other effort values are unsupported by this HiAPI integration.
API examples
Request examples
Only the reasoning effort changes.
{
"model": "gpt-6.1-sol",
"input": [
{
"type": "message",
"role": "user",
"content": [
{
"type": "input_text",
"text": "Summarize the three highest risks in this project plan."
}
]
}
],
"stream": true,
"store": false,
"reasoning": {
"effort": "low"
}
}Only the reasoning effort changes.
{
"model": "gpt-6.1-sol",
"input": [
{
"type": "message",
"role": "user",
"content": [
{
"type": "input_text",
"text": "Summarize the three highest risks in this project plan."
}
]
}
],
"stream": true,
"store": false,
"reasoning": {
"effort": "high"
}
}Only the reasoning effort changes.
{
"model": "gpt-6.1-sol",
"input": [
{
"type": "message",
"role": "user",
"content": [
{
"type": "input_text",
"text": "Summarize the three highest risks in this project plan."
}
]
}
],
"stream": true,
"store": false,
"reasoning": {
"effort": "xhigh"
}
}Only the reasoning effort changes.
{
"model": "gpt-6.1-sol",
"input": [
{
"type": "message",
"role": "user",
"content": [
{
"type": "input_text",
"text": "Summarize the three highest risks in this project plan."
}
]
}
],
"stream": true,
"store": false,
"reasoning": {
"effort": "max"
}
}Response schema
This illustrative SSE sequence shows text arriving before completion. Accumulate response.output_text.delta and read usage from response.completed. Handle incomplete and failed terminal events.
event: response.output_text.delta
data: {"type":"response.output_text.delta","delta":"OK"}
event: response.completed
data: {"type":"response.completed","response":{"id":"resp_example","model":"gpt-6.1-sol","status":"completed","output":[],"usage":{"input_tokens":100,"input_tokens_details":{"cached_tokens":0,"cache_write_tokens":0},"output_tokens":10,"total_tokens":110}}} - Dispatch by event type and stop at a terminal response event.
- Accumulate text deltas; do not require response.completed.output to contain the full text.
- Read input_tokens, output_tokens, cache details, and total_tokens from usage. Count cache reads and writes only when usage reports them; reasoning_tokens are included in output_tokens. Above 272,000 input tokens, the long-context rates apply to the whole request. Use account logs for settled charges.
FAQ
Which endpoint and model ID should I use?
Use POST /v1/responses with model=gpt-6.1-sol, an input array, stream=true, and store=false.
Which reasoning efforts are supported?
Use low, medium, high, xhigh, or max. Other effort values are unsupported by this HiAPI integration.
Can I use sampling controls?
Omit temperature, top_p, and max_output_tokens for this integration.
How do I continue a conversation?
With store=false, replay the required context in input on each request.
How are tokens billed?
Read current input, output, cache-read, and cache-write rates on the live model page. Count cache reads and writes only when usage reports them; reasoning_tokens are included in output_tokens. View live pricing.
When does long-context pricing apply?
The threshold uses total input for the request, including reported cache reads and writes. At 272,000 tokens the standard tier still applies; from 272,001, the long-context rates apply to the whole request, including output and cache. View live pricing.