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

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 بالسعر الرسمي المعلن للوحدة نفسها.

نوع الـ tokenAPISeaرسميوفّر
الإدخال لكل 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 خطوات

  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-5.1-2025-11-13" والمعلمات أدناه.

  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-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
  }'

المعلمات

المعلمةالنوعمطلوبافتراضيالوصف
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-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-13 rather 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.

نماذج ذات صلة

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

ابدأ التطوير باستخدام gpt-5.1-2025-11-13

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