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-terraBảng giá API gpt-6.1-terra
Tất cả giá đều tính bằng USD. So sánh mức giá của APISea với giá niêm yết chính thức cho cùng đơn vị.
| Loại token | APISea | Chính thức | Tiết kiệm |
|---|---|---|---|
| Đầu vào mỗi 1M token | $0.88 | $1.00 | −12% |
| Đầu vào đã lưu trong bộ nhớ đệm mỗi 1M token | $0.044 | $0.05 | −12% |
| Ghi vào bộ nhớ đệm mỗi 1M token | $1.10 | $1.25 | −12% |
| Ghi vào bộ nhớ đệm (1 giờ) mỗi 1M token | $2.20 | $2.50 | −12% |
| Đầu ra mỗi 1M token | $4.40 | $5.00 | −12% |
Giá theo bậc dựa trên độ dài prompt
| Loại token | Tối đa 272,000 token | Vượt bậc trước |
|---|---|---|
| Đầu vào | $0.88$1.00 | $1.76$2.00 |
| Đầu vào đã lưu trong bộ nhớ đệm | $0.044$0.05 | $0.088$0.10 |
| Ghi vào bộ nhớ đệm | $1.10$1.25 | $2.20$2.50 |
| Ghi vào bộ nhớ đệm (1 giờ) | $2.20$2.50 | $4.40$5.00 |
| Đầu ra | $4.40$5.00 | $6.60$7.50 |
gpt-6.1-terra là gì?
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.
Điểm nổi bật của 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.
Cách gọi API gpt-6.1-terra trong 4 bước
- 01
Tạo API key
Đăng nhập APISea, nạp tối thiểu $50 rồi tạo key sk-sea trong bảng điều khiển.
- 02
Đặt base URL
Dùng https://api.apisea.ai/v1 làm base URL trong SDK hoặc HTTP client.
- 03
Gửi request
Gọi POST /v1/chat/completions với "model": "gpt-6.1-terra" và các tham số bên dưới.
- 04
Xử lý phản hồi
Đọc phản hồi (hoặc truyền token theo luồng bằng stream: true). Mức sử dụng và chi phí sẽ hiển thị trong bảng điều khiển.
Ví dụ request
Tài liệu: 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
}'Tham số
| Tham số | Loại | Bắt buộc | Mặc định | Mô tả |
|---|---|---|---|---|
model | string | Bắt buộc | gpt-5 | Model name |
messages | array | Bắt buộc | — | List of conversation messages |
role | string | Bắt buộc | user | Role type |
content | string | Bắt buộc | — | Message content |
temperature | number | Tùy chọn | — | Controls output randomness, range 0-2 |
max_tokens | integer | Tùy chọn | — | Maximum number of tokens to generate |
stream | boolean | Tùy chọn | — | Whether to use streaming output |
top_p | number | Tùy chọn | — | Nucleus sampling parameter, range 0-1 |
frequency_penalty | number | Tùy chọn | — | Frequency penalty, range -2.0 to 2.0 |
presence_penalty | number | Tùy chọn | — | Presence penalty, range -2.0 to 2.0 |
stop | string or array | Tùy chọn | — | Stop sequences |
n | integer | Tùy chọn | — | Number of completions to generate |
Bạn có thể xây dựng gì với 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.
Mẹo để có kết quả tốt hơn
- 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.
Giới hạn và những điều cần biết
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.
Câu hỏi thường gặp về 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.
Model liên quan
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
Bắt đầu xây dựng với gpt-6.1-terra
Chỉ cần một key, thanh toán theo mức sử dụng từ $50; chỉ tính phí cho các request thành công.