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-13هذه لقطة مؤرخة لـ gpt-5.1-2025-11-13. يُنصح معظم المستخدمين باستخدام صفحة النموذج الرئيسية. gpt-5.1
تسعير API لنموذج gpt-5.1-2025-11-13
جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.
| نوع الـ token | APISea | رسمي | وفّر |
|---|---|---|---|
| الإدخال لكل 1M رمز | $1.10 | $1.25 | −12% |
| الإدخال المخزّن مؤقتًا لكل 1M رمز | $0.11 | $0.125 | −12% |
| الإخراج لكل 1M رمز | $8.80 | $10.00 | −12% |
ما هو 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.
أبرز مزايا 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.
كيفية استدعاء API الخاص بـ gpt-5.1-2025-11-13 في 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.1-2025-11-13" والمعلمات أدناه.
- 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.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
}'المعلمات
| المعلمة | النوع | مطلوب | افتراضي | الوصف |
|---|---|---|---|---|
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.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.
نصائح للحصول على نتائج أفضل
- 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.
القيود ومعلومات مهمة
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.
الأسئلة الشائعة حول 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.
نماذج ذات صلة
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.1-2025-11-13
مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.