{ "model_id": "openai/gpt-5.6-terra", "provider_id": "openai", "name": "GPT-5.6 Terra", "description": "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.", "task": "Text Generation", "tags": [ "LLM", "Coding", "Reasoning", "Multimodal", "Responses API" ], "context_length": 1050000, "max_output_tokens": 128000, "schema_version": "1.0.0", "pricing": { "Short-context input (per 1M)": 2, "Short-context cached input (per 1M)": 0.2, "Short-context cache write (per 1M)": 2.5, "Short-context output (per 1M)": 12, "Long-context input (per 1M)": 4, "Long-context cached input (per 1M)": 0.4, "Long-context cache write (per 1M)": 5, "Long-context output (per 1M)": 18 }, "examples": [ { "name": "Deployment Comparison", "description": "Basic Responses API request for a balanced analysis task", "input": { "input": "Compare blue-green and canary deployments for a small engineering team.", "instructions": "Answer in two concise paragraphs.", "max_output_tokens": 512 }, "output": { "text": "Blue-green deployments run two identical production environments: one active (\u201cblue\u201d) and one idle (\u201cgreen\u201d). A new version is deployed and tested on green, then traffic is switched over all at once. This makes rollback very fast\u2014switch traffic back to blue\u2014but 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.\n\nCanary 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." }, "raw_response": { "id": "resp_06924a0adf314715016a4fe98e1d2c81978067f843c9a357f1", "object": "response", "created_at": 1783622030, "status": "completed", "background": false, "billing": { "payer": "developer" }, "completed_at": 1783622032, "error": null, "frequency_penalty": 0, "incomplete_details": null, "instructions": "Answer in two concise paragraphs.", "max_output_tokens": 512, "max_tool_calls": null, "model": "gpt-5.6-terra", "moderation": null, "output": [ { "id": "msg_06924a0adf314715016a4fe98e76c4819780adfca3dd3ad1f3", "type": "message", "status": "completed", "content": [ { "type": "output_text", "annotations": [], "logprobs": [], "text": "Blue-green deployments run two identical production environments: one active (\u201cblue\u201d) and one idle (\u201cgreen\u201d). A new version is deployed and tested on green, then traffic is switched over all at once. This makes rollback very fast\u2014switch traffic back to blue\u2014but 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.\n\nCanary 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." } ], "phase": "final_answer", "role": "assistant" } ], "parallel_tool_calls": true, "presence_penalty": 0, "previous_response_id": null, "prompt_cache_key": null, "prompt_cache_retention": "in_memory", "reasoning": { "context": "all_turns", "effort": "medium", "mode": "standard", "summary": null }, "safety_identifier": null, "service_tier": "default", "store": false, "temperature": 1, "text": { "format": { "type": "text" }, "verbosity": "medium" }, "tool_choice": "auto", "tool_usage": { "image_gen": { "input_tokens": 0, "input_tokens_details": { "image_tokens": 0, "text_tokens": 0 }, "output_tokens": 0, "output_tokens_details": { "image_tokens": 0, "text_tokens": 0 }, "total_tokens": 0 }, "web_search": { "num_requests": 0 } }, "tools": [], "top_logprobs": 0, "top_p": 0.98, "truncation": "disabled", "usage": { "input_tokens": 29, "input_tokens_details": { "cache_write_tokens": 0, "cached_tokens": 0 }, "output_tokens": 211, "output_tokens_details": { "reasoning_tokens": 0 }, "total_tokens": 240 }, "user": null, "metadata": {} }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'openai/gpt-5.6-terra',\n {\n input: 'Compare blue-green and canary deployments for a small engineering team.',\n instructions: 'Answer in two concise paragraphs.',\n max_output_tokens: 512,\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/responses \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"openai/gpt-5.6-terra\",\n \"input\": \"Compare blue-green and canary deployments for a small engineering team.\",\n \"instructions\": \"Answer in two concise paragraphs.\",\n \"max_output_tokens\": 512\n}'" } ] }, { "name": "Customer Incident Update", "description": "Using instructions to tune the model's response style", "input": { "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 }, "output": { "text": "**Incident Update:** \nEarlier today, some customers experienced elevated API latency. Our team identified the issue and applied mitigation steps, and API performance has returned to normal.\n\nWe\u2019ll continue monitoring closely and will share a follow-up with additional details if needed. We apologize for the disruption and appreciate your patience." }, "raw_response": { "id": "resp_0072e6076b1b184d016a4fe99105888190b25ef699c2a83380", "object": "response", "created_at": 1783622033, "status": "completed", "background": false, "billing": { "payer": "developer" }, "completed_at": 1783622034, "error": null, "frequency_penalty": 0, "incomplete_details": null, "instructions": "Be transparent, calm, and avoid unnecessary technical detail.", "max_output_tokens": 512, "max_tool_calls": null, "model": "gpt-5.6-terra", "moderation": null, "output": [ { "id": "msg_0072e6076b1b184d016a4fe9916d6081909385f3b15352b1a7", "type": "message", "status": "completed", "content": [ { "type": "output_text", "annotations": [], "logprobs": [], "text": "**Incident Update:** \nEarlier today, some customers experienced elevated API latency. Our team identified the issue and applied mitigation steps, and API performance has returned to normal.\n\nWe\u2019ll continue monitoring closely and will share a follow-up with additional details if needed. We apologize for the disruption and appreciate your patience." } ], "phase": "final_answer", "role": "assistant" } ], "parallel_tool_calls": true, "presence_penalty": 0, "previous_response_id": null, "prompt_cache_key": null, "prompt_cache_retention": "in_memory", "reasoning": { "context": "all_turns", "effort": "medium", "mode": "standard", "summary": null }, "safety_identifier": null, "service_tier": "default", "store": false, "temperature": 1, "text": { "format": { "type": "text" }, "verbosity": "medium" }, "tool_choice": "auto", "tool_usage": { "image_gen": { "input_tokens": 0, "input_tokens_details": { "image_tokens": 0, "text_tokens": 0 }, "output_tokens": 0, "output_tokens_details": { "image_tokens": 0, "text_tokens": 0 }, "total_tokens": 0 }, "web_search": { "num_requests": 0 } }, "tools": [], "top_logprobs": 0, "top_p": 0.98, "truncation": "disabled", "usage": { "input_tokens": 33, "input_tokens_details": { "cache_write_tokens": 0, "cached_tokens": 0 }, "output_tokens": 64, "output_tokens_details": { "reasoning_tokens": 0 }, "total_tokens": 97 }, "user": null, "metadata": {} }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'openai/gpt-5.6-terra',\n {\n input: 'Draft a short incident update for customers after elevated API latency.',\n instructions: 'Be transparent, calm, and avoid unnecessary technical detail.',\n max_output_tokens: 512,\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/responses \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"openai/gpt-5.6-terra\",\n \"input\": \"Draft a short incident update for customers after elevated API latency.\",\n \"instructions\": \"Be transparent, calm, and avoid unnecessary technical detail.\",\n \"max_output_tokens\": 512\n}'" } ] } ], "default_example": null, "code_snippets": [], "supports_async": false, "zdr": false, "zdr_comment": null, "external_info": "https://openai.com/", "terms": "https://openai.com/policies/", "cover_image_url": "https://pub-26f1392c1b674324be6786695bd72257.r2.dev/openai/gpt-5.6-terra.png", "metadata": { "API": "Responses", "Architecture": "Transformer", "fedrampAvailable": "true" }, "request_formats": [ "responses" ], "providers": null, "provider_details": [ { "id": "openai", "pricing": { "long_context_threshold_tokens": 272000, "short_context_input_tokens": 2, "short_context_input_cached_tokens": 0.2, "short_context_input_cache_creation_tokens": 2.5, "short_context_output_tokens": 12, "long_context_input_tokens": 4, "long_context_input_cached_tokens": 0.4, "long_context_input_cache_creation_tokens": 5, "long_context_output_tokens": 18 } } ], "banner": null, "created_at": "2026-07-10 02:49:52", "schema": { "input": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "input": { "anyOf": [ { "type": "string" }, { "type": "array", "items": {} } ] }, "instructions": { "type": "string" }, "temperature": { "type": "number", "minimum": 0, "maximum": 2 }, "max_output_tokens": { "type": "number", "exclusiveMinimum": 0 }, "top_p": { "type": "number", "minimum": 0, "maximum": 1 }, "stream": { "type": "boolean" }, "tools": { "type": "array", "items": {} }, "tool_choice": {}, "text": { "type": "object", "properties": { "format": {} }, "additionalProperties": {} }, "reasoning": { "type": "object", "properties": { "effort": { "description": "Reasoning effort; availability and accepted values are model-dependent.", "type": "string", "enum": [ "none", "low", "medium", "high", "xhigh", "max" ] } }, "additionalProperties": {} } }, "required": [ "input" ], "additionalProperties": {} }, "output": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "string" }, "object": { "type": "string", "const": "response" }, "created_at": { "type": "number" }, "model": { "type": "string" }, "output": { "type": "array", "items": {} }, "output_text": { "type": "string" }, "status": { "type": "string", "enum": [ "in_progress", "completed", "failed", "incomplete" ] }, "usage": { "type": "object", "properties": { "input_tokens": { "type": "number" }, "output_tokens": { "type": "number" }, "total_tokens": { "type": "number" } }, "required": [ "input_tokens", "output_tokens", "total_tokens" ], "additionalProperties": {} } }, "required": [ "id", "object", "created_at", "model", "output" ], "additionalProperties": {} } } }