gpt-5-search-api API
Use gpt-5-search-api on APISea for text generation through an OpenAI-compatible chat API.
gpt-5-search-apiتسعير API لنموذج gpt-5-search-api
جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.
| نوع الـ token | APISea | رسمي | وفّر |
|---|---|---|---|
| الإدخال لكل 1M رمز | $1.10 | $1.25 | −12% |
| الإخراج لكل 1M رمز | $8.80 | $10.00 | −12% |
ما هو gpt-5-search-api؟
OpenAI’s gpt-5-search-api is a GPT-5 family chat model available through APISea for text-generation workflows. Developers can send conversation messages with user, assistant, and system roles to provide instructions and multi-turn context. The documented chat interface offers streaming or complete responses, plus controls for output length and sampling. Its listed limits are 272,000 input tokens and 128,000 output tokens. The supplied documentation does not establish model-specific web-search behavior, so confirm search requirements before building around the name.
Connect with one APISea key and the OpenAI-compatible base URL https://api.apisea.ai/v1. Set the model parameter to gpt-5-search-api; it is also callable as gpt-5-search-api-2025-10-14. APISea charges $1.10 per 1M input tokens and $8.80 per 1M output tokens, with pay-as-you-go billing only for successful requests. The default configuration is about 12% below the provider list price.
أبرز مزايا gpt-5-search-api
Large Input Allowance
The model lists a maximum input of 272,000 tokens, giving developers room to include substantial source text and conversation context.
Extended Output Allowance
The listed maximum output is 128,000 tokens. Use max_tokens to set a smaller generation budget for individual requests.
Flexible Response Delivery
The documented chat interface supports streaming responses in SSE format or a complete response at once. Set stream explicitly to choose your delivery mode.
Below List Pricing
APISea pricing is $1.10 per 1M input tokens and $8.80 per 1M output tokens. The default configuration is about 12% below the provider list price.
كيفية استدعاء API الخاص بـ gpt-5-search-api في 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-search-api" والمعلمات أدناه.
- 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-search-api",
"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-search-api
Document Summaries
Provide source text in messages and request a summary with a defined structure. Set an output budget appropriate to the summary length.
Conversational Assistants
Build text-based assistants using system instructions and prior user and assistant messages as conversation context.
Drafting Workflows
Generate drafts from supplied briefs, then send revision instructions in follow-up messages. Specify audience, tone, and required sections in the prompt.
Source-Based Question Answering
Include relevant source passages with a question and ask the model to answer from that material. This workflow does not depend on unverified web-search capabilities.
نصائح للحصول على نتائج أفضل
- 01
Set Output Budgets
Use max_tokens to cap generation length for each job. Output is priced at $8.80 per 1M tokens, so match the budget to the response you need.
- 02
Choose Streaming Explicitly
Set stream to true for SSE output or false for a complete response. Explicit configuration avoids relying on endpoint defaults.
- 03
Tune One Sampling Control
The general chat documentation recommends using either temperature or top_p to adjust output diversity. Verify model-specific parameter support before relying on a setting.
- 04
Inspect Token Usage
Read prompt_tokens, completion_tokens, and total_tokens in the documented usage object. Use these counts to monitor request size and estimate token costs.
القيود ومعلومات مهمة
Maximum input is 272,000 tokens.
Maximum output is 128,000 tokens.
The supplied documentation does not confirm web search or Responses API support for this model.
الأسئلة الشائعة حول API الخاص بـ gpt-5-search-api
How much does gpt-5-search-api cost on APISea?
APISea charges $1.10 per 1M input tokens and $8.80 per 1M output tokens. The default configuration is about 12% below the provider list price, and only successful requests are billed.
How do I call gpt-5-search-api?
Use the base URL https://api.apisea.ai/v1 and send a POST request to /chat/completions with Bearer Token authentication. Supply messages and set model to gpt-5-search-api; the model is also callable as gpt-5-search-api-2025-10-14.
Which parameters are documented?
The general chat interface documents messages, max_tokens, stream, temperature, top_p, frequency_penalty, presence_penalty, stop, and n. Check model-specific documentation for any restrictions on these general controls.
What are the input and output limits?
The listed maximum input is 272,000 tokens, and the listed maximum output is 128,000 tokens. Use max_tokens to request a lower output limit.
Does gpt-5-search-api include web search?
The supplied facts do not confirm model-specific web-search behavior. Although APISea documents search tools for its Responses API, this model is not explicitly listed as supported in that excerpt.
Can I use gpt-5-search-api commercially?
Commercial use is subject to the provider's terms and applicable APISea terms. Review those terms for your intended application before deployment.
نماذج ذات صلة
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-search-api
مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.