API Notes
gpt-6.1-terra supports temperature and top_p only when reasoning_effort is none
gpt-6.1-terra requires the Responses API for tool calling
Authentication
authorization string required
All APIs require authentication via Bearer Token.
Get API Key:
Visit API Key Management Page to get your API Key.
Usage:
Add to request header:
Authorization: Bearer YOUR_API_KEY
Parameters
model string required
Model ID to use for the request
Value: gpt-6.1-terra
messages array required
Array of message objects
role
stringrequiredMessage role
Options:
user,assistant,system,developer
content
string/arrayrequiredText string or an array of text and image content parts
max_tokens integer
Maximum tokens to generate
Range: 1-128000
reasoning_effort string
Controls the amount of reasoning used to generate a response
Options: none, low, medium, high, xhigh, max
Default: medium
temperature number
Sampling temperature
Range: 0.0-2.0
Default: 1.0
top_p number
Nucleus sampling parameter
Range: 0.0-1.0
Default: 1.0
stream boolean
Stream response incrementally
Options: true, false
Default: false
Response Format
id string
Unique identifier for the completion
object string
Object type, always chat.completion
created integer
Unix timestamp of creation time
model string
The model used for completion
choices array
Array of completion choices
index
integerChoice index
message
objectThe generated message
role
stringMessage role (always
assistant)content
stringGenerated text content
finish_reason
stringReason for completion termination
usage object
Token usage statistics
prompt_tokens
integerNumber of tokens in the prompt
completion_tokens
integerNumber of tokens in the completion
total_tokens
integerTotal tokens used