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

gpt-5-nano-2025-08-07 API

Run text-generation workflows on APISea with OpenAI’s GPT-5 nano snapshot and pay-as-you-go token pricing.

محادثةالمحادثة والنصمتزامنالتخزين المؤقت للمطالبات
معرّف النموذج
gpt-5-nano-2025-08-07

هذه لقطة مؤرخة لـ gpt-5-nano-2025-08-07. يُنصح معظم المستخدمين باستخدام صفحة النموذج الرئيسية. gpt-5-nano

تسعير API لنموذج gpt-5-nano-2025-08-07

جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.

نوع الـ tokenAPISeaرسميوفّر
الإدخال لكل 1M رمز$0.044$0.05−12%
الإدخال المخزّن مؤقتًا لكل 1M رمز$0.0044$0.005−12%
الإخراج لكل 1M رمز$0.352$0.40−12%

ما هو gpt-5-nano-2025-08-07؟

OpenAI’s gpt-5-nano-2025-08-07 is a GPT-5 family chat model, positioned by its nano naming as a lighter, lower-cost tier for text-generation workflows. Its date suffix identifies a pinned snapshot, suited to teams that want a consistent model selection for reproducibility. On APISea, send conversation messages containing role and content fields through the OpenAI-compatible Chat Completions interface. The documented interface offers streaming or complete responses, output-length control through max_tokens, and sampling controls such as temperature and top_p.

The model supports up to 272,000 input tokens, up to 128,000 output tokens, and prompt-cache reads. APISea charges $0.044 per 1M tokens for input, $0.0044 per 1M tokens for cached input, and $0.352 per 1M tokens for output. The default configuration is about 12% below the provider list price. Access it with one APISea key and the base URL https://api.apisea.ai/v1, with pay-as-you-go billing only for successful requests.

أبرز مزايا gpt-5-nano-2025-08-07

Large Input Allowance

Accepts up to 272,000 input tokens, providing room for substantial conversation history or reference text.

Output Length Control

Supports up to 128,000 output tokens. Use max_tokens to set a generation budget for each request.

Prompt Cache Reads

Supports prompt-cache reads at $0.0044 per 1M tokens for cached input.

Streaming Chat Interface

Use the OpenAI-compatible Chat Completions format. Set stream to true for SSE output or false for a complete response.

كيفية استدعاء API الخاص بـ gpt-5-nano-2025-08-07 في 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-nano-2025-08-07" والمعلمات أدناه.

  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-nano-2025-08-07",
    "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-nano-2025-08-07

Routine Chat Assistants

Evaluate this nano-tier model for everyday text conversations, using system messages to define behavior and prior assistant messages to retain context.

Document Summaries

Build workflows that provide reference text and request concise summaries, with max_tokens keeping responses within an application-defined budget.

Drafting Workflows

Generate draft replies or internal copy from user instructions. Test sampling settings against your team’s preferred style and review requirements.

Snapshot-Based Evaluations

Use the dated model ID in repeatable evaluation runs to keep model selection fixed while comparing prompts and application settings.

نصائح للحصول على نتائج أفضل

  • 01

    Select the Exact Snapshot

    Set the model field to gpt-5-nano-2025-08-07 rather than relying on the endpoint’s default model.

  • 02

    Budget Generated Tokens

    Set max_tokens to match the response length your application needs, staying within the 128,000-token output limit.

  • 03

    Check Cache Usage

    Account for cached input separately in cost estimates: cache reads cost $0.0044 per 1M tokens. Confirm cache behavior in the applicable documentation rather than assuming every repeated prompt is cached.

  • 04

    Set Streaming Explicitly

    Send stream as true for SSE responses or false to receive the complete response at once, rather than relying on endpoint defaults.

القيود ومعلومات مهمة

  • Maximum input is 272,000 tokens; maximum output is 128,000 tokens.

  • A pinned snapshot fixes model selection, not identical output on every request.

  • The supplied documentation does not establish Responses API, image input, or tool support for this specific model.

الأسئلة الشائعة حول API الخاص بـ gpt-5-nano-2025-08-07

How much does gpt-5-nano-2025-08-07 cost on APISea?

Input costs $0.044 per 1M tokens, cached input costs $0.0044 per 1M tokens, and output costs $0.352 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 this model through APISea?

Use the base URL https://api.apisea.ai/v1 and send a POST request to /v1/chat/completions with Bearer Token authentication. Include model set to gpt-5-nano-2025-08-07 and a messages array containing role and content fields.

Which generation parameters are documented?

The general Chat API documents temperature, top_p, max_tokens, stream, frequency_penalty, presence_penalty, stop, and n. Check the model’s applicable documentation for any model-specific restrictions.

What are its token limits, and does it support caching?

The maximum input is 272,000 tokens and the maximum output is 128,000 tokens. Prompt-cache reads are supported; no model-specific cache retention duration is provided in the supplied facts.

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 deployment.

How does this nano snapshot compare with other GPT-5 models?

The nano name positions it as a lighter, faster, lower-cost tier, but the supplied facts do not include comparative performance measurements. The date suffix identifies a pinned snapshot suited to reproducible model selection.

نماذج ذات صلة

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

ابدأ التطوير باستخدام gpt-5-nano-2025-08-07

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