gpt-5.1-2025-11-13 API
Use OpenAI’s dated GPT-5.1 chat snapshot on APISea for text generation and multi-turn conversations.
gpt-5.1-2025-11-13Ini adalah snapshot gpt-5.1-2025-11-13 yang diambil pada tanggal tertentu. Sebagian besar pengguna sebaiknya menggunakan halaman model utama. gpt-5.1
Harga API gpt-5.1-2025-11-13
Semua harga dalam USD. Bandingkan tarif APISea dengan harga resmi untuk satuan yang sama.
| Jenis token | APISea | Resmi | Hemat |
|---|---|---|---|
| Input per 1 juta token | $1.10 | $1.25 | −12% |
| Input dalam cache per 1 juta token | $0.11 | $0.125 | −12% |
| Output per 1 juta token | $8.80 | $10.00 | −12% |
Apa itu gpt-5.1-2025-11-13?
OpenAI’s gpt-5.1-2025-11-13 is a GPT-5 family chat model available through APISea. Its date-suffixed name positions it as a pinned snapshot for teams that want a consistent model selection across application deployments and evaluations. Use it for text generation and multi-turn conversations, sending messages with user, assistant, and system roles. The documented Chat Completions interface offers streaming or complete responses, along with controls such as temperature, top_p, stop sequences, and max_tokens. The model supports up to 272,000 input tokens and 128,000 output tokens, plus prompt-cache reads.
Connect through APISea’s OpenAI-compatible base URL, https://api.apisea.ai/v1, using one API key. Pricing is pay-as-you-go: $1.10 per 1M tokens for input, $0.11 per 1M tokens for cached input reads, and $8.80 per 1M tokens for output. The default configuration is about 12% below the provider list price, and APISea bills only for successful requests.
Keunggulan gpt-5.1-2025-11-13
Dated Model Snapshot
The date suffix positions gpt-5.1-2025-11-13 as a pinned snapshot for reproducible model selection.
Large Token Limits
Supports a maximum input of 272,000 tokens and a maximum output of 128,000 tokens.
Flexible Chat Responses
Use the OpenAI-compatible Chat Completions format with role-based messages. Choose SSE streaming or a complete response with the stream parameter.
Prompt Cache Reads
Supports prompt-cache reads at $0.11 per 1M tokens. Standard input costs $1.10 per 1M tokens.
Cara memanggil API gpt-5.1-2025-11-13 dalam 4 langkah
- 01
Dapatkan API key
Masuk ke APISea, isi saldo mulai dari $50, lalu buat key sk-sea di konsol.
- 02
Atur base URL
Gunakan https://api.apisea.ai/v1 sebagai base URL di SDK atau klien HTTP Anda.
- 03
Kirim permintaan
Panggil POST /v1/chat/completions dengan "model": "gpt-5.1-2025-11-13" dan parameter berikut.
- 04
Tangani respons
Baca respons (atau streaming token dengan stream: true). Penggunaan dan biaya ditampilkan di konsol Anda.
Contoh permintaan
Dokumentasi: 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.1-2025-11-13",
"messages": [
{"role": "system", "content": "You are a concise assistant."},
{"role": "user", "content": "Explain what an AI API gateway does in two sentences."}
],
"stream": false
}'Parameter
| Parameter | Jenis | Wajib | Default | Deskripsi |
|---|---|---|---|---|
model | string | Wajib | gpt-5 | Model name |
messages | array | Wajib | — | List of conversation messages |
role | string | Wajib | user | Role type |
content | string | Wajib | — | Message content |
temperature | number | Opsional | — | Controls output randomness, range 0-2 |
max_tokens | integer | Opsional | — | Maximum number of tokens to generate |
stream | boolean | Opsional | — | Whether to use streaming output |
top_p | number | Opsional | — | Nucleus sampling parameter, range 0-1 |
frequency_penalty | number | Opsional | — | Frequency penalty, range -2.0 to 2.0 |
presence_penalty | number | Opsional | — | Presence penalty, range -2.0 to 2.0 |
stop | string or array | Opsional | — | Stop sequences |
n | integer | Opsional | — | Number of completions to generate |
Yang bisa Anda buat dengan gpt-5.1-2025-11-13
Conversational Applications
Build text-based assistants that receive user messages and previous assistant responses as conversation context. Use a system message to define the assistant’s behavior.
Document Summarization
Submit document text with instructions to produce a summary. Budget the source material and instructions within the 272,000-token input limit.
Content Drafting Workflows
Generate drafts and revisions from text briefs. Use output limits and stop sequences to keep responses aligned with your application’s format.
Snapshot-Based Evaluations
Use the dated model ID across test runs to keep model selection fixed while comparing prompts or application changes.
Tips untuk hasil yang lebih baik
- 01
Select the Exact Model
Set the model parameter to
gpt-5.1-2025-11-13rather than relying on the endpoint’s default. Include messages with role and content fields. - 02
Budget Generated Tokens
Set max_tokens to the output budget your task needs, within the 128,000-token maximum. Output is priced at $8.80 per 1M tokens.
- 03
Tune One Sampling Control
The chat documentation recommends using either temperature or top_p. Lower temperature values make output more deterministic, but do not guarantee identical responses.
- 04
Track Cached Input Costs
Account for supported prompt-cache reads separately from standard input when estimating costs. Check current documentation for cache behavior rather than assuming every repeated prompt qualifies.
Batasan dan hal yang perlu diketahui
Maximum input is 272,000 tokens; maximum output is 128,000 tokens.
The supplied model facts establish chat support, not image input or Responses API tool support.
Prompt-cache reads are supported, but model-specific cache setup and retention details are not provided.
FAQ API gpt-5.1-2025-11-13
How much does gpt-5.1-2025-11-13 cost on APISea?
Input costs $1.10 per 1M tokens, cached input reads cost $0.11 per 1M tokens, and output costs $8.80 per 1M tokens. The default configuration is about 12% below the provider list price, with pay-as-you-go billing only for successful requests.
How do I call gpt-5.1-2025-11-13 through the API?
Use https://api.apisea.ai/v1 as your OpenAI-compatible base URL and send a POST request to /v1/chat/completions with Bearer Token authentication. Set model to gpt-5.1-2025-11-13 and supply a messages array containing role and content fields.
Which generation parameters are documented?
The general Chat Completions interface documents temperature, top_p, max_tokens, stream, frequency_penalty, presence_penalty, stop, and n. Set stream to true for SSE responses or false for a complete response, and check current documentation for model-specific parameter restrictions.
What are the input and output token limits?
The maximum input is 272,000 tokens, and the maximum output is 128,000 tokens. Use max_tokens to set your requested generation budget within the output limit.
Can I use this model commercially?
Commercial use is subject to the provider’s terms and applicable APISea terms. Review those terms for your intended application before deploying.
How does this model differ from gpt-5.1 or gpt-5-mini?
The date suffix positions gpt-5.1-2025-11-13 as a pinned snapshot for reproducible model selection. The documentation describes gpt-5-mini as a lightweight, cost-effective version; no model-specific comparative benchmarks are provided here.
Model terkait
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
Mulai berkarya dengan gpt-5.1-2025-11-13
Satu API key, bayar sesuai penggunaan mulai dari $50, dan hanya dikenai biaya untuk permintaan yang berhasil.