Skip to content
هذه الصفحة غير متاحة بلغتك بعد، لذا تُعرض باللغة الإنجليزية.
OpenAI · GPT-6

gpt-6.1-terra API

gpt-6.1-terra delivers text chat on APISea with large input limits and prompt-cache support.

محادثةالمحادثة والنصمتزامنالتخزين المؤقت للمطالبات
معرّف النموذج
gpt-6.1-terra

تسعير API لنموذج gpt-6.1-terra

جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.

نوع الـ tokenAPISeaرسميوفّر
الإدخال لكل 1M رمز$0.88$1.00−12%
الإدخال المخزّن مؤقتًا لكل 1M رمز$0.044$0.05−12%
الكتابة إلى ذاكرة التخزين المؤقت لكل 1M رمز$1.10$1.25−12%
الكتابة في ذاكرة التخزين المؤقت (ساعة واحدة) لكل 1M رمز$2.20$2.50−12%
الإخراج لكل 1M رمز$4.40$5.00−12%

التسعير حسب طول المطالبة

نوع الـ tokenحتى 272,000 tokenأكثر من الشريحة السابقة
الإدخال$0.88$1.00$1.76$2.00
الإدخال المخزّن مؤقتًا$0.044$0.05$0.088$0.10
الكتابة إلى ذاكرة التخزين المؤقت$1.10$1.25$2.20$2.50
الكتابة في ذاكرة التخزين المؤقت (ساعة واحدة)$2.20$2.50$4.40$5.00
الإخراج$4.40$5.00$6.60$7.50

ما هو gpt-6.1-terra؟

gpt-6.1-terra is an OpenAI GPT-6 family chat model available through APISea. It gives developers a text-generation option for document-heavy conversations, drafting workflows, and assistants that carry conversation history. Requests use messages with role and content fields, and responses contain generated assistant text. The model supports up to 922,000 input tokens and up to 128,000 output tokens. The unified Chat Completions interface offers streaming or complete responses, plus controls for randomness, output length, repetition, and stop sequences.

Call the model through APISea’s OpenAI-compatible base URL, https://api.apisea.ai/v1, using one API key. APISea uses pay-as-you-go pricing and bills only successful requests. For the tier up to 272,000 input tokens, input costs $0.88 per 1M tokens and output costs $4.40 per 1M tokens; higher-input requests use higher rates. Prompt-cache reads and writes are supported, with separate pricing. The default configuration is about 12% below the provider list price.

أبرز مزايا gpt-6.1-terra

Large Input Capacity

Send up to 922,000 input tokens for text-heavy prompts and conversation context.

Long Output Allowance

The maximum output is 128,000 tokens. Use max_tokens to set the generation budget for each request.

Prompt Cache Support

The model supports prompt-cache reads and cache writes. APISea lists separate rates for cached input, cache writes, and 1-hour TTL cache writes.

Configurable Chat Responses

Choose streaming or complete responses through the Chat Completions interface. Adjust temperature, top_p, repetition penalties, and stop sequences.

كيفية استدعاء API الخاص بـ gpt-6.1-terra في 4 خطوات

  1. 01

    احصل على API key

    سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.

  2. 02

    اضبط عنوان URL الأساسي

    استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.

  3. 03

    أرسل الطلب

    استدعِ POST /v1/chat/completions مع "model": "gpt-6.1-terra" والمعلمات أدناه.

  4. 04

    تعامل مع الاستجابة

    اقرأ الاستجابة (أو استقبل الـ tokens بالتدفق باستخدام stream: true). يظهر الاستخدام والتكلفة في وحدة التحكم.

curl https://api.apisea.ai/v1/chat/completions \
  -H "Authorization: Bearer $APISEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-6.1-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
  }'

المعلمات

المعلمةالنوعمطلوبافتراضيالوصف
modelstringمطلوبgpt-5Model name
messagesarrayمطلوب—List of conversation messages
rolestringمطلوبuserRole type
contentstringمطلوب—Message content
temperaturenumberاختياري—Controls output randomness, range 0-2
max_tokensintegerاختياري—Maximum number of tokens to generate
streambooleanاختياري—Whether to use streaming output
top_pnumberاختياري—Nucleus sampling parameter, range 0-1
frequency_penaltynumberاختياري—Frequency penalty, range -2.0 to 2.0
presence_penaltynumberاختياري—Presence penalty, range -2.0 to 2.0
stopstring or arrayاختياري—Stop sequences
nintegerاختياري—Number of completions to generate

ما الذي يمكنك إنشاؤه باستخدام gpt-6.1-terra

Document-Based Assistants

Build text assistants that receive substantial reference material alongside user questions. Keep supplied documents within the input limit and request answers grounded in that material.

Multi-Turn Support Chat

Pass prior user and assistant messages to maintain conversation context. Use a system message to define the assistant’s role and response style.

Long-Form Drafting

Generate reports, guides, or other extended text from supplied instructions and source material. Set an explicit output budget for each draft.

Repeated Reference Workflows

Design workflows that reuse common prompt material, such as editorial instructions or reference text. Evaluate supported cache reads and writes against their separate costs.

نصائح للحصول على نتائج أفضل

  • 01

    Set the Model Explicitly

    Set the model field to gpt-6.1-terra rather than relying on the general API’s default model. Send messages with role and content fields.

  • 02

    Budget for Input Tiers

    Up to 272,000 input tokens, input is $0.88 per 1M tokens and output is $4.40 per 1M tokens. Above that tier, input is $1.76 per 1M tokens and output is $6.60 per 1M tokens.

  • 03

    Account for Cache Writes

    Cached input costs $0.044 per 1M tokens, while cache writes cost $1.10 per 1M tokens. The listed 1-hour TTL cache-write rate is $2.20 per 1M tokens; include write costs when estimating reuse benefits.

  • 04

    Control Response Generation

    Use max_tokens to limit output and set stream explicitly to choose response delivery. The docs recommend adjusting either temperature or top_p to control generation diversity.

القيود ومعلومات مهمة

  • Maximum input is 922,000 tokens, and maximum output is 128,000 tokens.

  • Requests above 272,000 input tokens use the higher input and output pricing tier.

  • The supplied model facts do not establish image input, tool support, or Responses API compatibility.

الأسئلة الشائعة حول API الخاص بـ gpt-6.1-terra

How much does gpt-6.1-terra cost on APISea?

For up to 272,000 input tokens, input costs $0.88 per 1M tokens and output costs $4.40 per 1M tokens. Above that tier, input costs $1.76 per 1M tokens and output costs $6.60 per 1M tokens. APISea bills only successful requests, and the default configuration is about 12% below the provider list price.

How do I call gpt-6.1-terra through the API?

Use https://api.apisea.ai/v1 as your OpenAI-compatible base URL and send a POST request to /chat/completions. Authenticate with your APISea key as a Bearer token, set model to gpt-6.1-terra, and provide a messages array.

Which generation parameters can I use?

The unified Chat Completions documentation lists temperature, max_tokens, stream, top_p, frequency_penalty, presence_penalty, stop, and n. Set stream to true for streaming responses or false for a complete response.

What are the input and output token limits?

gpt-6.1-terra supports a maximum of 922,000 input tokens and 128,000 output tokens. Use max_tokens to set a request’s output budget within the model’s maximum.

Does gpt-6.1-terra support prompt caching?

Yes, prompt-cache reads and writes are supported. Cached input costs $0.044 per 1M tokens, cache writes cost $1.10 per 1M tokens, and 1-hour TTL cache writes cost $2.20 per 1M tokens.

Can I use gpt-6.1-terra commercially?

Commercial use is subject to the provider’s terms. Review OpenAI’s applicable terms and APISea’s terms before deploying your application.

نماذج ذات صلة

العمق: أكثر من 250 نموذجًا · الحد الأدنى لشحن الرصيد $50

ابدأ التطوير باستخدام gpt-6.1-terra

مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.