访问地址:国内 https://4sapi.org、https://4stoken.com;海外https://4sapi.top、https://4sapi.com、https://us.4sapi.com;纯 API 专线https://4sapi.ai;北美低延迟https://4sapi.net。详见《国内外直连域名》。
gpt-6.1-solgpt-5.5、gpt-5.6-luna、gpt-5.4、gpt-6-luna、gpt-6-sol、codex-auto-review、gpt-5.4-nano、gpt-4.1 等curl --location 'https://4sapi.org/v1/responses' \
--header 'Accept: application/json' \
--header 'Authorization: sk-' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-6.1-sol",
"store": true,
"max_output_tokens": 900,
"reasoning": {
"effort": "none"
},
"previous_response_id": "resp_xxxxxxxxxxxxxxxxxxxx",
"input": "What was the passcode? Reply with the passcode only."
}'{
"id": "resp_02f977b4e68bf7ac016aed83a1491487d08c4d3602c05fb2c3",
"object": "response",
"created_at": 1793950625,
"status": "completed",
"error": null,
"incomplete_details": null,
"instructions": null,
"max_output_tokens": null,
"model": "gpt-6.1-sol",
"output": [
{
"type": "reasoning",
"id": "rs_014b4b3f8a8c9de902f0135ad57e",
"summary": []
},
{
"type": "message",
"id": "msg_014b4b3f8a8c9de902f0135ad57e",
"status": "completed",
"role": "assistant",
"content": [
{
"type": "output_text",
"text": "The passcode is 483920.",
"annotations": []
}
]
}
],
"parallel_tool_calls": true,
"previous_response_id": null,
"reasoning": {
"effort": null,
"summary": null
},
"store": true,
"temperature": 1.0,
"text": {
"format": {
"type": "text"
}
},
"tool_choice": "auto",
"tools": [],
"top_p": 1.0,
"truncation": "disabled",
"usage": {
"input_tokens": 12,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens": 16,
"output_tokens_details": {
"reasoning_tokens": 0
},
"total_tokens": 28
},
"user": null,
"metadata": {},
"service_tier": "auto"
}