Skip to content
Halaman ini belum tersedia dalam bahasa Anda, jadi ditampilkan dalam bahasa Inggris.
OpenAI · GPT-5

gpt-5-mini-2025-08-07 API

Run text conversations with a pinned GPT-5 mini snapshot through APISea's OpenAI-compatible API.

ChatChat & TeksSinkronCaching prompt
ID model
gpt-5-mini-2025-08-07

Ini adalah snapshot gpt-5-mini-2025-08-07 yang diambil pada tanggal tertentu. Sebagian besar pengguna sebaiknya menggunakan halaman model utama. gpt-5-mini

Harga API gpt-5-mini-2025-08-07

Semua harga dalam USD. Bandingkan tarif APISea dengan harga resmi untuk satuan yang sama.

Jenis tokenAPISeaResmiHemat
Input per 1 juta token$0.22$0.25−12%
Input dalam cache per 1 juta token$0.022$0.025−12%
Output per 1 juta token$1.76$2.00−12%

Apa itu gpt-5-mini-2025-08-07?

OpenAI's gpt-5-mini-2025-08-07 is a GPT-5 family chat model positioned as a lighter, cost-conscious tier. Its date suffix identifies a pinned snapshot, suited to teams that want to keep model selection consistent across deployments and evaluations. Use it for text conversations, drafting, and summarization workflows. Requests contain messages with role and content fields, including system instructions and prior assistant replies for multi-turn conversations.

APISea exposes the model through an OpenAI-compatible Chat Completions interface using one API key and the base URL https://api.apisea.ai/v1. Choose streaming or a complete response, and set an output budget with max_tokens. The model allows up to 272,000 input tokens and 128,000 output tokens, with prompt-cache reads supported. Pay-as-you-go pricing is $0.22 per 1M tokens for input, $0.022 per 1M tokens for cached input, and $1.76 per 1M tokens for output. The default configuration is about 12% below provider list price, and APISea bills only successful requests.

Keunggulan gpt-5-mini-2025-08-07

Large Input Budget

Supply up to 272,000 input tokens for text-based chat requests. Include instructions and conversation history in the messages array.

Output Budget Control

The maximum output is 128,000 tokens. Use max_tokens to set the generation budget for each request.

Prompt Cache Reads

Prompt-cache reads are supported, with cached input priced at $0.022 per 1M tokens on APISea.

Flexible Response Delivery

The Chat Completions interface supports streaming responses in SSE format or complete responses. Set stream explicitly to choose the behavior.

Cara memanggil API gpt-5-mini-2025-08-07 dalam 4 langkah

  1. 01

    Dapatkan API key

    Masuk ke APISea, isi saldo mulai dari $50, lalu buat key sk-sea di konsol.

  2. 02

    Atur base URL

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

  3. 03

    Kirim permintaan

    Panggil POST /v1/chat/completions dengan "model": "gpt-5-mini-2025-08-07" dan parameter berikut.

  4. 04

    Tangani respons

    Baca respons (atau streaming token dengan stream: true). Penggunaan dan biaya ditampilkan di 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-mini-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
  }'

Parameter

ParameterJenisWajibDefaultDeskripsi
modelstringWajibgpt-5Model name
messagesarrayWajib—List of conversation messages
rolestringWajibuserRole type
contentstringWajib—Message content
temperaturenumberOpsional—Controls output randomness, range 0-2
max_tokensintegerOpsional—Maximum number of tokens to generate
streambooleanOpsional—Whether to use streaming output
top_pnumberOpsional—Nucleus sampling parameter, range 0-1
frequency_penaltynumberOpsional—Frequency penalty, range -2.0 to 2.0
presence_penaltynumberOpsional—Presence penalty, range -2.0 to 2.0
stopstring or arrayOpsional—Stop sequences
nintegerOpsional—Number of completions to generate

Yang bisa Anda buat dengan gpt-5-mini-2025-08-07

Customer Support Drafts

Build an assistant that drafts replies from supplied customer messages and support context. Use system instructions to define tone and have your team review responses.

Document Summaries

Submit document text and ask for summaries tailored to a specific audience. Keep the combined instructions and source text within the input limit.

Internal Chat Assistants

Create a multi-turn text assistant by sending user messages alongside prior assistant replies. The pinned snapshot is suited to consistent model selection across deployments.

Content Drafting Workflows

Generate first drafts, rewrites, or concise descriptions from a written brief. Set an output budget appropriate to each task and review the resulting text.

Tips untuk hasil yang lebih baik

  • 01

    Select the Exact Snapshot

    Set the model field to gpt-5-mini-2025-08-07 rather than relying on the endpoint's default model. The date suffix positions this ID as a pinned snapshot for reproducibility.

  • 02

    Bound Generated Output

    Use max_tokens to limit generated tokens for each task. A short-answer workflow usually needs a smaller budget than a long-form drafting request.

  • 03

    Plan for Cache Reads

    For workflows with repeated prompt material, account for the supported prompt-cache read rate. Cached input costs $0.022 per 1M tokens; check caching documentation before assuming a request qualifies.

  • 04

    Choose Streaming Explicitly

    Set stream to true for SSE delivery or false for a complete response. Explicit configuration avoids depending on different endpoint defaults.

Batasan dan hal yang perlu diketahui

  • Maximum input is 272,000 tokens per request.

  • Maximum output is 128,000 tokens; max_tokens can impose a lower budget.

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

FAQ API gpt-5-mini-2025-08-07

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

Input costs $0.22 per 1M tokens, cached input costs $0.022 per 1M tokens, and output costs $1.76 per 1M tokens. The default configuration is about 12% below provider list price, with pay-as-you-go billing only for successful requests.

How do I call gpt-5-mini-2025-08-07?

Send a POST request to https://api.apisea.ai/v1/chat/completions with Bearer Token authentication using your APISea key. Set model to gpt-5-mini-2025-08-07 and provide a messages array containing role and content fields.

Which request controls are documented?

The general Chat Completions interface documents max_tokens, stream, temperature, top_p, frequency_penalty, presence_penalty, stop, and n. These are interface-level controls; check the model documentation for any model-specific restrictions.

What are the input and output limits?

The model supports a maximum input of 272,000 tokens and a maximum output of 128,000 tokens. It also supports prompt-cache reads.

Can I use this model commercially?

Commercial use is subject to the provider's terms. Review OpenAI's applicable terms and APISea's service terms before deploying your application.

How does this model differ from other GPT-5 models?

The mini name positions it as a lighter, cost-conscious tier within GPT-5, while the date suffix indicates a pinned snapshot suited to reproducible model selection. The supplied facts do not establish benchmark or latency comparisons with sibling models.

Model terkait

Pilihan: 250+ model · Minimum isi saldo $50

Mulai berkarya dengan gpt-5-mini-2025-08-07

Satu API key, bayar sesuai penggunaan mulai dari $50, dan hanya dikenai biaya untuk permintaan yang berhasil.