Skip to content
Halaman ini belum tersedia dalam bahasa anda, jadi kandungannya dipaparkan dalam bahasa Inggeris.
OpenAI · GPT-5

gpt-5-search-api-2025-10-14 API

Run OpenAI GPT-5 chat completions on APISea with a dated model ID and pay-as-you-go token pricing.

SembangSembang & TeksSegerak
ID model
gpt-5-search-api-2025-10-14

Ini ialah petikan gpt-5-search-api-2025-10-14 yang bertarikh. Kebanyakan pengguna sepatutnya menggunakan halaman model utama. gpt-5-search-api

Harga API gpt-5-search-api-2025-10-14

Semua harga dalam USD. Kadar APISea dibandingkan dengan harga senarai rasmi bagi unit yang sama.

Jenis tokenAPISeaRasmiJimat
Input bagi setiap 1M token$1.10$1.25−12%
Output bagi setiap 1M token$8.80$10.00−12%

Apakah itu gpt-5-search-api-2025-10-14?

gpt-5-search-api-2025-10-14 is an OpenAI GPT-5 family chat model available through APISea. It is suited to text-generation workflows such as conversational assistants, document-based questions, and drafting from supplied material. Its date-suffixed name positions it as a pinned snapshot for reproducibility. Although the name includes “search,” the supplied model documentation does not establish web-search capabilities. Requests use conversation messages with user, assistant, and system roles, and return generated assistant text.

Connect through APISea’s OpenAI-compatible base URL, https://api.apisea.ai/v1, with your APISea key and select the model in your chat completion request. The general chat interface documents streaming, output-length controls, and sampling parameters. Maximum input is 272,000 tokens, and maximum output is 128,000 tokens. APISea charges $1.10 per 1M tokens for input and $8.80 per 1M tokens for output, with billing only for successful requests. The default configuration is about 12% below the provider list price.

Sorotan gpt-5-search-api-2025-10-14

Large Input Allowance

Accepts a maximum of 272,000 input tokens for conversations and supplied text.

Long Output Allowance

Supports a maximum of 128,000 output tokens. Use max_tokens to set the requested generation ceiling.

Compatible Chat Interface

Call the model through APISea’s OpenAI-compatible Chat Completions interface using messages with role and content fields.

Streaming Response Control

The general chat API documents stream=true for SSE output and stream=false for a complete response at once.

Cara memanggil API gpt-5-search-api-2025-10-14 dalam 4 langkah

  1. 01

    Dapatkan API key

    Log masuk ke APISea, tambah nilai sekurang-kurangnya $50 dan cipta kunci sk-sea dalam konsol.

  2. 02

    Tetapkan base URL

    Gunakan https://api.apisea.ai/v1 sebagai base URL dalam SDK atau klien HTTP anda.

  3. 03

    Hantar permintaan

    Panggil POST /v1/chat/completions dengan "model": "gpt-5-search-api-2025-10-14" dan parameter di bawah.

  4. 04

    Urus respons

    Baca respons (atau strim token dengan stream: true). Penggunaan dan kos dipaparkan dalam konsol anda.

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-2025-10-14",
    "messages": [
      {"role": "system", "content": "You are a concise assistant."},
      {"role": "user", "content": "Explain what an AI API gateway does in two sentences."}
    ],
    "stream": false
  }'

Parameter

ParameterJenisWajibLalaiPenerangan
modelstringWajibgpt-5Model name
messagesarrayWajib—List of conversation messages
rolestringWajibuserRole type
contentstringWajib—Message content
temperaturenumberPilihan—Controls output randomness, range 0-2
max_tokensintegerPilihan—Maximum number of tokens to generate
streambooleanPilihan—Whether to use streaming output
top_pnumberPilihan—Nucleus sampling parameter, range 0-1
frequency_penaltynumberPilihan—Frequency penalty, range -2.0 to 2.0
presence_penaltynumberPilihan—Presence penalty, range -2.0 to 2.0
stopstring or arrayPilihan—Stop sequences
nintegerPilihan—Number of completions to generate

Perkara yang boleh anda bina dengan gpt-5-search-api-2025-10-14

Document Question Answering

Provide document text alongside a question to build an assistant that answers from supplied material.

Multi-Turn Support Assistants

Include prior user and assistant messages to maintain conversation context, with a system message defining the assistant’s role.

Drafting From Source Material

Supply notes or reference text and request a draft with a defined structure, audience, and output-length budget.

Snapshot-Based Evaluation

Use the dated model ID for evaluation workflows where a pinned snapshot is preferable to an undated model name.

Petua untuk hasil yang lebih baik

  • 01

    Select the Dated ID

    Set the model field to gpt-5-search-api-2025-10-14 when you want the date-suffixed selection. The model is also callable as gpt-5-search-api.

  • 02

    Budget Generated Tokens

    Set max_tokens to match the response length your application needs, rather than requesting the maximum output allowance.

  • 03

    Choose Delivery Explicitly

    Set stream=true for incremental SSE responses or stream=false to receive the complete response at once.

  • 04

    Track Token Usage

    Use prompt_tokens and completion_tokens in the response usage object to track input and output consumption against their separate prices.

Had dan perkara yang perlu diketahui

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

  • Web-search tools and Responses API support are not established for this model by the supplied documentation.

  • The documented chat controls are general API options; check model-specific documentation before relying on individual parameters.

Soalan lazim API gpt-5-search-api-2025-10-14

How much does gpt-5-search-api-2025-10-14 cost on APISea?

Input costs $1.10 per 1M tokens, and output costs $8.80 per 1M tokens. The default configuration is about 12% below the provider list price, and APISea bills only for successful requests.

How do I call this model through APISea?

Use your APISea key with Bearer Token authentication and send a POST request to https://api.apisea.ai/v1/chat/completions. Set model to gpt-5-search-api-2025-10-14 and include a messages array with role and content fields.

Which parameters does the chat API document?

The general chat interface documents temperature, max_tokens, stream, top_p, frequency_penalty, presence_penalty, stop, and n. Confirm model-specific support before depending on an individual option.

What are the input and output token limits?

The maximum input is 272,000 tokens, and the maximum output is 128,000 tokens. These are separate limits, not a stated combined context size.

Can I use this model commercially?

Commercial use is subject to the provider’s terms. Review the applicable OpenAI and APISea terms for your intended application.

How does the dated model differ from gpt-5-search-api, and does it search the web?

The date suffix positions gpt-5-search-api-2025-10-14 as a pinned snapshot for reproducibility; the facts also list gpt-5-search-api as a callable name. The supplied documentation does not confirm web-search functionality for this model, so the name alone should not be treated as evidence of that capability.

Model berkaitan

Pilihan: 250+ model · Tambah nilai minimum $50

Mula membina dengan gpt-5-search-api-2025-10-14

Satu kunci, bayar mengikut penggunaan bermula daripada $50, hanya dicaj untuk permintaan yang berjaya.