Use GPT-6.1 Terra API for text generation: Q&A, coding, documents and agent workflows. Try it online and view pricing and Responses examples.
Provider: OpenAI
Category: text generation
Endpoint: /v1/responses
Status: Available
Cost: --
API access
Endpoint
POST /v1/responses
Base URL
https://api.hiapi.ai
Uses the OpenAI Responses format. One HiAPI key works across all available models.
Input price
500 Credits
/ 1M tokens · Total input ≤ 272,000 tokens
Output price
2,500 Credits
/ 1M tokens · Total input ≤ 272,000 tokens
Context
1.05M
context window
Max output
128K
output tokens
Try GPT-6.1 Terra
Ask a question, upload images, or paste from clipboard. Then inspect the streamed answer, token usage, latency, and estimated cost.
Upload or paste up to 4 images, 10 MB each. Images are safety reviewed.
GPT-6.1 Terra API Quickstart
Call GPT-6.1 Terra with the streaming OpenAI Responses format. Copy a ready-to-use cURL, Python, or Node.js example below.
/v1/responsescurl -N -X POST "https://api.hiapi.ai/v1/responses" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6.1-terra",
"input": [
{
"type": "message",
"role": "user",
"content": [
{
"type": "input_text",
"text": "A cat walking on the beach at sunset"
}
]
}
],
"stream": true,
"store": false,
"reasoning": {
"effort": "medium"
}
}'Tip: Replace YOUR_API_KEY with your actual API key from the API Keys page.
Uses the OpenAI Responses format. Keep stream: true, send input as a message array, and set reasoning effort with reasoning.effort.
Combine input_text and input_image in one input message. Use a public HTTPS image URL; Playground uploads automatically provide a temporary reviewed URL.
/v1/responsescurl -N -X POST "https://api.hiapi.ai/v1/responses" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6.1-terra",
"input": [
{
"type": "message",
"role": "user",
"content": [
{
"type": "input_text",
"text": "Describe the main subject, setting, and important visual details."
},
{
"type": "input_image",
"image_url": "https://static.hiapi.ai/example/subject-1.jpg",
"detail": "low"
}
]
}
],
"stream": true,
"store": false,
"reasoning": {
"effort": "medium"
}
}'Tip: Replace YOUR_API_KEY with your actual API key from the API Keys page.
Uses the OpenAI Responses format. Keep stream: true, send input as a message array, and set reasoning effort with reasoning.effort.
Responses API
Request fields at a glance
Start with core fields, then enable advanced capabilities as needed.
Core fields
The fields that form a valid request
- model Required
- Use the model ID shown on this page.
- input Required
- Pass the current conversation context as a message array.
- stream Required
- Must be set to true.
- store Fixed
- Fixed to false and shown explicitly in examples.
Capability fields
Enable reasoning, context, and tools as needed
- reasoning.effort Optional
- none, low, medium, high, xhigh, max. Examples and Playground default to medium; set this field explicitly in API requests.
- instructions Optional
- Define the role and response requirements.
- previous_response_id Conditional
- Use with compatible storage and response chaining; with store=false, replay context from the client.
- tools / tool_choice Optional
- Declare and control function tool calls.
Max output is a model specification limit, not a per-request generation target. Examples show only the runtime fields currently available and verified on HiAPI.
GPT-6.1 Terra API Pricing
Billing follows the input, output, and cache token categories actually reported in usage. All prices below are shown per 1 million tokens.
Total input ≤ 272,000 tokens
- Input tokens
- 500 Credits/ 1M tokens
- Output tokens
- 2,500 Credits/ 1M tokens
Prompts and context sent to the model
Responses and reasoning generated by the model
- Cache read
- 25 Credits/ 1M tokens
- Cache write
- 625 Credits/ 1M tokens
Long-context pricing and billing details
The tier is selected by total input tokens per request, including cache reads and writes. Above the threshold, that tier applies to all input, output, and cache tokens in the request, not only the excess.
| Token type | Total input ≤ 272,000 tokens | Total input > 272,000 tokens |
|---|---|---|
| Input | 500 Credits | 1,000 Credits |
| Output | 2,500 Credits | 3,750 Credits |
| Cache read | 25 Credits | 50 Credits |
| Cache write | 625 Credits | 1,250 Credits |
All prices are per 1 million tokens.
GPT-6.1 Terra Model Specifications
These specifications reflect the current public HiAPI text request contract. Undisclosed capabilities are not inferred by the page.
- Streaming
- Supported
- Tool calling
- Supported
- Structured JSON
- Supported
- Reasoning
- Supported
- Input modalities
- text · image
- Output modalities
- text
- Reasoning efforts
- none · low · medium · high · xhigh · max
- Max output
- 128K
About GPT-6.1 Terra
Use GPT-6.1 Terra API for text generation: Q&A, coding, documents and agent workflows. Try it online and view pricing and Responses examples.
HiAPI exposes this model through /v1/responses. Test prompts and parameters in the Playground, then use the same HiAPI API key in your server application.
- Provider
- OpenAI
- Endpoint
- /v1/responses
- Context window
- 1.05M
- Released
- 2026-10-26
How to Use GPT-6.1 Terra
The Playground and API share the same model ID, so three steps take a prompt into production.
Step 1
Validate online
Test instructions, input, and reasoning.effort in the Playground.
Step 2
Manage API keys
View an existing key or create another after signing in; one key works across all available models.
Step 3
Integrate your server
Send requests to /v1/responses and track cost with the usage object.
Frequently asked questions
What is the GPT-6.1 Terra API?
The GPT-6.1 Terra API is a text generation endpoint available through one HiAPI API key.
How is the GPT-6.1 Terra API priced?
GPT-6.1 Terra API uses usage-based pricing. This page includes pricing, parameters, examples, and integration code.
How do I call the GPT-6.1 Terra API?
Send a POST request to /v1/responses with the model name, input, and one API key. This page includes cURL, Python, and Node.js examples.