GPT-6.1 Terra
Request ID gpt-6.1-terra
Protocols
POST /v1/responses· OpenAI Responses example
Authentication
Requests require an API key from API key management. For JSON requests, set Content-Type: application/json.
Authorization: Bearer YOUR_API_KEY
Request parameters
POST /v1/responses
| Field | Type | Required | Description |
|---|---|---|---|
model | string | Required | Set the model ID to gpt-6.1-terra. |
input | string / object[] | Required | Input text or an ordered array of input items. Message items use role and content. |
instructions | string | Optional | Instructions describing the task and output requirements. |
max_output_tokens | integer | Optional | Caps output tokens. The accepted limit depends on the model and endpoint. |
stream | boolean | Optional | true requests an SSE stream. false requests a JSON response. Available modes depend on the endpoint. |
store | boolean | Conditional | Where supported, false requests that the response not be retained for later retrieval. |
text.format | object | Conditional | Set text.format for structured output, for example type: json_schema. Use only on endpoints that support the format. |
temperature | number | Conditional | Controls sampling randomness. Accepted values and whether the field takes effect depend on the model and endpoint. |
top_p | number | Conditional | Limits sampling candidates by cumulative probability. Use when the model and endpoint support it. |
reasoning.effort | string | Conditional | Requested reasoning effort. Available levels and whether reasoning can be disabled depend on the model and endpoint. |
tools | object[] | Conditional | Tool definitions available to the model. Tool types and parameter formats depend on the protocol and endpoint. |
tool_choice | string / object | Conditional | Controls tool selection. Use a forced or named choice only when the selected endpoint supports it. |
Request examples
Set your API key in the local ICODEEASY_API_KEY environment variable and choose an endpoint that accepts direct HTTP calls. For endpoints that require a specific client, follow that client’s setup guide.
OpenAI Responses
curl -N -sS 'https://api.icodeeasy.cc/v1/responses' \
-H "Authorization: Bearer $ICODEEASY_API_KEY" \
-H 'Content-Type: application/json' \
--data '{
"model": "gpt-6.1-terra",
"instructions": "You are a helpful assistant.",
"input": [
{
"type": "message",
"role": "user",
"content": [
{
"type": "input_text",
"text": "Explain how a rainbow forms in one sentence."
}
]
}
],
"stream": true,
"store": false
}'
Read the response
- OpenAI Responses · In a stream, append the
deltafields ofresponse.output_text.deltaevents and handle completion and failure events. SSE
Capabilities and limits
streaming· Supportedtool_calling· Supportedimage_input· Not publishedvideo_input· Not supported
Model Capability Catalog · View pricing
Related guides
Codex Setup
Install Codex CLI, store the API key in auth.json, configure the I Code Easy provider and Base URL, and start a first Codex session.
OpenAI Responses
Send input using the OpenAI Responses format. This page shows HTTP streaming. See the related guide for Codex client setup.
Model Capability Catalog
Compare public text, image, and video models by normalized request ID, compatible protocols, supported clients, tool use, media capabilities, limits, and review date.