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 tokens$1.10$1.25−12%
קלט שמור במטמון לכל 1M tokens$0.11$0.125−12%
פלט לכל 1M tokens$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

    יש להתחבר ל-APISea, להוסיף יתרה החל מ-$50 וליצור מפתח sk-sea במסוף.

  2. 02

    הגדרת כתובת הבסיס

    יש להשתמש ב-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, וחיוב רק על בקשות שהצליחו.