GPT-5.6 Terra

Call the default-enabled GPT-5.6 Terra model through OpenAI Chat Completions or the Responses API.

GPT-5.6 Terra is a default-enabled OpenAI-format chat model for general reasoning, structured output, and tool calls. Available capabilities depend on the live model entry and upstream.

Model information

ItemValue
Model IDgpt-5.6-terra
Primary endpointPOST /v1/chat/completions
Request formatOpenAI Chat Completions
ResponsesSupported when the model entry includes responses_endpoint
Official input / output price$2.5 / $15 per 1M tokens, before your account coefficient

Request parameters

ParameterTypeRequiredDescription
modelstringYesUse one of the IDs above returned for the current API key by GET /v1/models
messagesarrayYesConversation messages
max_completion_tokensintegerNoLimits response and reasoning tokens
reasoning_effortstringNoReasoning effort; accepted values depend on the current upstream
toolsarrayNoOpenAI-format function tool definitions
response_formatobjectNoCan request structured JSON output
streambooleanNoSet to true to receive an SSE stream

Model parameters are passed through to the upstream. Before production use, query GET /v1/models with your API key and test the exact tools, reasoning, or structured-output combination you need.

Request example

curl https://hopsapi.com/v1/chat/completions \
  -H "Authorization: Bearer sk-YOUR_KEY" \
  -H "content-type: application/json" \
  -d '{"model":"gpt-5.6-terra","max_completion_tokens":256,
       "messages":[{"role":"user","content":"Return a JSON object with status=ok."}],
       "response_format":{"type":"json_object"}}'
from openai import OpenAI

client = OpenAI(base_url="https://hopsapi.com/v1", api_key="sk-YOUR_KEY")
response = client.chat.completions.create(
    model="gpt-5.6-terra",
    max_completion_tokens=256,
    messages=[{"role": "user", "content": "Return a JSON object with status=ok."}],
    response_format={"type": "json_object"},
)
print(response.choices[0].message.content)

Response example

This example shows the protocol shape only. Text, token counts, and additional fields such as id and model come from the live response.

{
  "choices": [
    {
      "message": { "role": "assistant", "content": "{\"status\":\"ok\"}" },
      "finish_reason": "stop"
    }
  ],
  "usage": { "prompt_tokens": 24, "completion_tokens": 13, "total_tokens": 37 }
}

For native Responses fields, continued conversations, and SSE events, see Responses API.

On this page

On this page