Skip to main content
POST
cURL
Use the Responses API for tool calling with reasoning. AnyFast accepted Chat Completions text requests, but a function call at low effort returned 404 DeploymentNotFound.
Responses returned model: "gpt-6.1-terra"; Chat Completions returned model: "azure/gpt-6.1-terra" and omitted choices[].logprobs. A prompt_cache_options.ttl: "30m" request 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
model
enum<string>
required
Available options:
gpt-6.1-terra
input
required

Text or ordered input items, including image content.

reasoning
object
max_output_tokens
integer

Maximum output and reasoning tokens.

Required range: 1 <= x <= 128000
stream
boolean
default:false
text
object

Text output configuration; strict JSON Schema format was live-tested.

prompt_cache_options
object

A 30m TTL request was accepted; effective retention was not verified.

tools
object[]

Responses function tools were live-tested on AnyFast.

tool_choice
string

The value required was live-tested with a function tool.

Example:

"required"

Response

Response created successfully.

id
string
required
object
enum<string>
required
Available options:
response
created_at
integer
required

Unix timestamp when the response was created.

model
string
required
Example:

"gpt-6.1-terra"

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

Unix timestamp when the response completed.

reasoning
object
prompt_cache_retention
string

The tested 30m TTL request reported 24h here; no cache write occurred.

usage
object