gpt-5.6-terra API
Use gpt-5.6-terra on APISea for text generation and chat with up to 922,000 input tokens.
gpt-5.6-terraتسعير API لنموذج gpt-5.6-terra
جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.
| نوع الـ token | APISea | رسمي | وفّر |
|---|---|---|---|
| الإدخال لكل 1M رمز | $1.76 | $2.00 | −12% |
| الإدخال المخزّن مؤقتًا لكل 1M رمز | $0.176 | $0.20 | −12% |
| الكتابة إلى ذاكرة التخزين المؤقت لكل 1M رمز | $2.20 | $2.50 | −12% |
| الكتابة في ذاكرة التخزين المؤقت (ساعة واحدة) لكل 1M رمز | $4.40 | $5.00 | −12% |
| الإخراج لكل 1M رمز | $10.56 | $12.00 | −12% |
التسعير حسب طول المطالبة
| نوع الـ token | حتى 272,000 token | أكثر من الشريحة السابقة |
|---|---|---|
| الإدخال | $1.76$2.00 | $3.52$4.00 |
| الإدخال المخزّن مؤقتًا | $0.176$0.20 | $0.352$0.40 |
| الكتابة إلى ذاكرة التخزين المؤقت | $2.20$2.50 | $4.40$5.00 |
| الكتابة في ذاكرة التخزين المؤقت (ساعة واحدة) | $4.40$5.00 | $8.80$10.00 |
| الإخراج | $10.56$12.00 | $15.84$18.00 |
ما هو gpt-5.6-terra؟
gpt-5.6-terra is an OpenAI GPT-5 family chat model available through APISea. It is suited to applications that generate text from conversation messages, including document-based assistants, drafting workflows, and multi-turn chat. Its documented limits allow up to 922,000 input tokens and 128,000 output tokens. The Chat Completions interface accepts system, user, and assistant messages, with controls for output length, randomness, sampling, and repetition. You can request streaming output or a complete response.
Call gpt-5.6-terra using one APISea API key and the OpenAI-compatible base URL https://api.apisea.ai/v1. Billing is pay-as-you-go and applies only to successful requests. For inputs up to 272,000 tokens, input costs $1.76 per 1M tokens and output costs $10.56 per 1M tokens; higher-input requests use a separate tier. Prompt-cache reads and writes are supported, with separate rates. The default configuration is about 12% below the provider list price.
أبرز مزايا gpt-5.6-terra
Large Input Allowance
Provide up to 922,000 input tokens for text-generation workflows with extensive source material or conversation history.
Long Output Capacity
Generate up to 128,000 output tokens. Use max_tokens to set the requested output ceiling.
Prompt Cache Support
Supports prompt-cache reads and cache writes. APISea lists separate cached-input, cache-write, and 1-hour TTL cache-write rates.
Configurable Chat Responses
The Chat Completions interface supports temperature, top_p, repetition penalties, and stop sequences. Choose streaming responses or receive the full response at once.
كيفية استدعاء API الخاص بـ gpt-5.6-terra في 4 خطوات
- 01
احصل على API key
سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.
- 02
اضبط عنوان URL الأساسي
استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.
- 03
أرسل الطلب
استدعِ POST /v1/chat/completions مع "model": "gpt-5.6-terra" والمعلمات أدناه.
- 04
تعامل مع الاستجابة
اقرأ الاستجابة (أو استقبل الـ tokens بالتدفق باستخدام stream: true). يظهر الاستخدام والتكلفة في وحدة التحكم.
أمثلة على الطلبات
الوثائق: General Chat API (Default Streaming)curl https://api.apisea.ai/v1/chat/completions \
-H "Authorization: Bearer $APISEA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.6-terra",
"messages": [
{"role": "system", "content": "You are a concise assistant."},
{"role": "user", "content": "Explain what an AI API gateway does in two sentences."}
],
"stream": false
}'المعلمات
| المعلمة | النوع | مطلوب | افتراضي | الوصف |
|---|---|---|---|---|
model | string | مطلوب | gpt-5 | Model name |
messages | array | مطلوب | — | List of conversation messages |
role | string | مطلوب | user | Role type |
content | string | مطلوب | — | Message content |
temperature | number | اختياري | — | Controls output randomness, range 0-2 |
max_tokens | integer | اختياري | — | Maximum number of tokens to generate |
stream | boolean | اختياري | — | Whether to use streaming output |
top_p | number | اختياري | — | Nucleus sampling parameter, range 0-1 |
frequency_penalty | number | اختياري | — | Frequency penalty, range -2.0 to 2.0 |
presence_penalty | number | اختياري | — | Presence penalty, range -2.0 to 2.0 |
stop | string or array | اختياري | — | Stop sequences |
n | integer | اختياري | — | Number of completions to generate |
ما الذي يمكنك إنشاؤه باستخدام gpt-5.6-terra
Document-Based Assistants
Supply relevant document text alongside a user's question to build an assistant that works from provided material. The input allowance accommodates extensive text sources.
Long-Form Drafting
Build workflows for reports, guides, or other substantial drafts. Specify the intended structure in a system message and bound generation with max_tokens.
Multi-Turn Chat
Send user and assistant messages as conversation context for a chat application. Use streaming output when your interface needs to display text as it arrives.
Repeated-Context Workflows
Build text-generation jobs that reuse common instructions or source material. Evaluate prompt caching against the documented read and write rates.
نصائح للحصول على نتائج أفضل
- 01
Set an Output Budget
Use max_tokens to cap generation within the 128,000-token output limit. Set a ceiling appropriate to the task rather than automatically requesting the maximum.
- 02
Watch the Input Tier
Inputs up to 272,000 tokens cost $1.76 per 1M tokens, with output at $10.56 per 1M tokens. Above that threshold, input costs $3.52 per 1M tokens and output costs $15.84 per 1M tokens.
- 03
Plan Cache Costs
Cached input costs $0.176 per 1M tokens; cache writes cost $2.20 per 1M tokens, and cache writes with a 1-hour TTL cost $4.40 per 1M tokens. Check caching documentation before choosing a write configuration.
- 04
Tune One Sampling Control
Use a lower temperature, such as 0.2, for more deterministic output. The documentation recommends adjusting either temperature or top_p rather than both.
القيود ومعلومات مهمة
Maximum input is 922,000 tokens; maximum output is 128,000 tokens.
Requests above 272,000 input tokens use higher input and output pricing.
The general Responses API documentation does not explicitly confirm image or tool support for this model.
الأسئلة الشائعة حول API الخاص بـ gpt-5.6-terra
How much does gpt-5.6-terra cost on APISea?
For inputs up to 272,000 tokens, input costs $1.76 per 1M tokens and output costs $10.56 per 1M tokens. Above that threshold, input costs $3.52 per 1M tokens and output costs $15.84 per 1M tokens. The default configuration is about 12% below the provider list price.
How do I call gpt-5.6-terra through the API?
Send a POST request to https://api.apisea.ai/v1/chat/completions with Bearer Token authentication using your APISea key. Set the model field to gpt-5.6-terra and supply a messages array containing role and content fields.
Which generation parameters can I use?
The documented Chat Completions interface includes temperature, max_tokens, stream, top_p, frequency_penalty, presence_penalty, stop, and n. Set stream to true for SSE output or false for a complete response.
What are the input and output token limits?
The maximum input is 922,000 tokens, and the maximum output is 128,000 tokens. Input size also affects pricing, with a higher tier above 272,000 input tokens.
Does gpt-5.6-terra support prompt caching?
Yes, it supports prompt-cache reads and writes. Cached input costs $0.176 per 1M tokens, cache writes cost $2.20 per 1M tokens, and cache writes with a 1-hour TTL cost $4.40 per 1M tokens.
Can I use gpt-5.6-terra commercially?
Commercial use is subject to the provider's terms and applicable APISea terms. Review those terms for your intended application; the supplied model documentation does not establish specific commercial-use permissions.
نماذج ذات صلة
gpt-5
gpt-5-2025-08-07
gpt-5-mini
gpt-5-mini-2025-08-07
gpt-5-nano
gpt-5-nano-2025-08-07
gpt-5-pro
gpt-5-pro-2025-10-06
ابدأ التطوير باستخدام gpt-5.6-terra
مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.