Create streaming or non-streaming responses with the OpenAI Responses API.

GPT-5.6 Terra
The middle rung of the GPT-5.6 lineup, tuned for daily dev work, general reasoning, and agent orchestration. Delivers reliable performance at a manageable cost for routine business workloads.
Pricing
| Specification | 0 - 272K | > 272K |
|---|---|---|
| Input | $2/ M tokens | $4/ M tokens |
| Output | $12/ M tokens | $18/ M tokens |
| Cache read | $0.2/ M tokens | $0.4/ M tokens |
| Cache write 30min | $2.5/ M tokens | $5/ M tokens |
| Cache write 12h | $5/ M tokens | $10/ M tokens |
Quick Start
Paste and run the sample code below. The Gate.AI API is OpenAI-compatible—most SDKs only need a new base URL. To switch models, change the model ID.
Get your API key
Sign in to the Gate.AI console and create a new key under "API Keys". Keep it safe and send it via the Authorization header on every request.
Create a key in the consoleMake a request
Send a POST request to the Chat Completions endpoint with a model ID and an array of messages to get a reply.
curl --location "https://api.gate.ai/openai/v1/responses" \
--header "Authorization: Bearer {API_KEY}" \
--header "Content-Type: application/json" \
--data '{
"model": "gpt-5.6-terra",
"input": "Hello",
"max_output_tokens": 256
}'Handle the response \& streaming
By default a full JSON response is returned. Add "stream": true to the request body to receive incremental chunks over SSE.
curl --no-buffer --location "https://api.gate.ai/openai/v1/responses" \
--header "Authorization: Bearer {API_KEY}" \
--header "Content-Type: application/json" \
--data '{
"model": "gpt-5.6-terra",
"input": "Hello",
"max_output_tokens": 256,
"stream": true
}'Endpoint
Related Models
GPT-6.1 TerraMid-tier in the GPT-6.1 line below Sol, for everyday agentic, coding, and writing work, with strong screenshot and UI understanding.
GPT-6.1 SolUpgrade to GPT-6 Sol below Astra, suited to agentic coding, computer use, and document-heavy work with stronger factual reliability than the prior generation.
GPT-6 SolCost-efficient high-end tier in the GPT-6 line, below Astra and above Luna; suited to demanding professional work, complex coding, and agentic workflows.
GPT-6 AstraOpenAI’s flagship model, excelling at complex analysis, coding, deep research, scientific exploration, and document creation—especially long-running tasks involving computer and browser use.
GPT-5.6 SolTop of the GPT-5.6 lineup, tuned for hard reasoning, multi-step coding, and agent runs that stretch over many turns. Well suited to CLI-driven development and problems that need to be worked through step by step.
GPT-5.6 LunaEntry point of the GPT-5.6 lineup. A small, low-latency workhorse for chat, tagging, and lightweight agent loops, keeping reasoning solid enough for routine work.
GPT-5.5GPT-5.5 natively supports video comprehension, speech emotion recognition, and autonomous tool calling, delivering omni-modal foundational capabilities for agent-based execution of complex tasks.
GPT-5.5 betaGPT-5.5 natively supports video comprehension, speech emotion recognition, and autonomous tool calling, delivering omni-modal foundational capabilities for agent-based execution of complex tasks.
GPT-5.5 ProReasoning-heavy GPT-5.5 tier tuned for long-horizon agentic coding and complex multi-step workflows, with image input.
GPT-5.4Lightweight variant in the gpt-5.4 family, tuned for low-latency, high-volume tasks like classification, extraction, and sub-agent execution.