Skip to main content
POST
cURL
Use the Responses API for tool calling with reasoning. AnyFast also accepted Chat Completions function calling at low effort; none and minimal reasoning effort are unsupported.
The Responses API returned model: "gpt-6.1-sol"; Chat Completions returned model: "azure/gpt-6.1-sol". A request with prompt_cache_options.ttl: "30m" returned prompt_cache_retention: "24h"; effective retention was not verified.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

For this model, omit temperature, top_p, and top_logprobs.

model
enum<string>
required
Available options:
gpt-6.1-sol
input
required

Text or ordered input items, including text and image content.

instructions
string
reasoning
object
max_output_tokens
integer

Maximum visible-output and reasoning tokens.

Required range: 1 <= x <= 128000
text
object

Text verbosity or Structured Outputs configuration.

tools
object[]
tool_choice
Available options:
none,
auto,
required
stream
boolean
default:false
prompt_cache_key
string
prompt_cache_options
object
include
string[]

Do not request message.output_text.logprobs for this model.

Response

Response created successfully.

id
string
required
object
enum<string>
required
Available options:
response
model
string
required
Example:

"gpt-6.1-sol"

status
enum<string>
required
Available options:
queued,
in_progress,
completed,
incomplete,
failed,
cancelled
output
object[]
required

Text is in message content blocks with type output_text; function calls use function_call items.

created_at
integer
completed_at
integer | null
background
boolean
usage
object
reasoning
object
error
object | null
incomplete_details
object | null
content_filters
object[]

Content filter diagnostics observed in the AnyFast response.

tool_usage
object

Tool accounting observed in the AnyFast response.

max_output_tokens
integer | null
max_tool_calls
integer | null
instructions
string | null
metadata
object
moderation
object | null
parallel_tool_calls
boolean
previous_response_id
string | null
prompt_cache_key
string | null
prompt_cache_retention
string
safety_identifier
string | null
service_tier
string
store
boolean
text
object
tool_choice
tools
object[]
truncation
string
user
string | null
frequency_penalty
number
presence_penalty
number
temperature
number

Returned gateway value; omit this sampling parameter from requests with reasoning.

top_p
number

Returned gateway value; omit this sampling parameter from requests with reasoning.

top_logprobs
integer