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 בהשוואה למחירון הרשמי עבור אותה יחידה.
| סוג token | APISea | רשמי | חיסכון |
|---|---|---|---|
| קלט לכל 1M tokens | $0.88 | $1.00 | −12% |
| קלט שמור במטמון לכל 1M tokens | $0.044 | $0.05 | −12% |
| כתיבה למטמון לכל 1M tokens | $1.10 | $1.25 | −12% |
| כתיבה למטמון (שעה) לכל 1M tokens | $2.20 | $2.50 | −12% |
| פלט לכל 1M tokens | $4.40 | $5.00 | −12% |
תמחור מדורג לפי אורך הפרומפט
| סוג token | עד 272,000 tokens | מעל המדרגה הקודמת |
|---|---|---|
| קלט | $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 שלבים
- 01
יצירת מפתח API
יש להתחבר ל-APISea, להוסיף יתרה החל מ-$50 וליצור מפתח sk-sea במסוף.
- 02
הגדרת כתובת הבסיס
יש להשתמש ב-https://api.apisea.ai/v1 ככתובת הבסיס ב-SDK או בלקוח HTTP.
- 03
שליחת הבקשה
יש לקרוא ל-POST /v1/chat/completions עם "model": "gpt-6.1-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-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
}'פרמטרים
| פרמטר | סוג | נדרש | ברירת מחדל | תיאור |
|---|---|---|---|---|
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-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-terrarather 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.
מודלים קשורים
gpt-6-astra
gpt-6-luna
gpt-6-sol
gpt-6.1-sol
gpt-6.2-astra
gpt-6.2-sol
gpt-4.1
gpt-4.1-2025-04-14
מתחילים לבנות עם gpt-6.1-terra
מפתח אחד, תשלום לפי שימוש החל מ-$50, וחיוב רק על בקשות שהצליחו.