Skip to content
OpenAI logo

GPT-5.6 Terra

Text GenerationOpenAI

GPT-5.6 Terra is an OpenAI GPT-5.6 model that balances intelligence and cost, using the Responses API for reasoning and stateful context management.

Model Info
Context Window1,050,000 tokens
Terms and Licenselink
More informationlink
Request formatsResponses
PricingView pricing in the Cloudflare dashboard

Usage

TypeScript
const response = await env.AI.run(
'openai/gpt-5.6-terra',
{
input: 'Compare blue-green and canary deployments for a small engineering team.',
instructions: 'Answer in two concise paragraphs.',
max_output_tokens: 512,
},
)
console.log(response)
Blue-green deployments run two identical production environments: one active (“blue”) and one idle (“green”). A new version is deployed and tested on green, then traffic is switched over all at once. This makes rollback very fast—switch traffic back to blue—but requires maintaining duplicate infrastructure and handling database/schema compatibility carefully. For a small team, blue-green is often appealing when releases are infrequent, the system is simple enough to duplicate cheaply, and a clear cutover/rollback procedure matters more than gradual validation.

Canary deployments release the new version to a small percentage of users or requests first, then progressively increase traffic while monitoring errors, latency, and business metrics. They reduce the blast radius of defects and provide real-production validation, but require traffic splitting, strong observability, automated rollout controls, and usually feature-flag or version-compatibility discipline. For a small team, canaries are best when the platform already supports them or when the cost of a faulty release is high; otherwise, blue-green generally offers a simpler operational model.

Examples

Customer Incident Update — Using instructions to tune the model's response style
TypeScript
const response = await env.AI.run(
'openai/gpt-5.6-terra',
{
input: 'Draft a short incident update for customers after elevated API latency.',
instructions: 'Be transparent, calm, and avoid unnecessary technical detail.',
max_output_tokens: 512,
},
)
console.log(response)
**Incident Update:**  
Earlier today, some customers experienced elevated API latency. Our team identified the issue and applied mitigation steps, and API performance has returned to normal.

We’ll continue monitoring closely and will share a follow-up with additional details if needed. We apologize for the disruption and appreciate your patience.

Parameters

instructions
string
temperature
numberminimum: 0maximum: 2
max_output_tokens
numberexclusiveMinimum: 0
top_p
numberminimum: 0maximum: 1
stream
boolean
tool_choice

API Schemas (Raw)

Input
Output