gpt-5-mini-2025-08-07 API
Run text conversations with a pinned GPT-5 mini snapshot through APISea's OpenAI-compatible API.
gpt-5-mini-2025-08-07This is a dated snapshot of gpt-5-mini-2025-08-07. Most users should use the main model page. gpt-5-mini
gpt-5-mini-2025-08-07 API pricing
All prices in USD. APISea rates compared with the official list price for the same unit.
| Token type | APISea | Official | Save |
|---|---|---|---|
| Input per 1M tokens | $0.22 | $0.25 | −12% |
| Cached input per 1M tokens | $0.022 | $0.025 | −12% |
| Output per 1M tokens | $1.76 | $2.00 | −12% |
What is 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.
gpt-5-mini-2025-08-07 highlights
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.
How to call the gpt-5-mini-2025-08-07 API in 4 steps
- 01
Get an API key
Sign in to APISea, top up from $50, and create an sk-sea key in the console.
- 02
Set the base URL
Use https://api.apisea.ai/v1 as the base URL in your SDK or HTTP client.
- 03
Send the request
Call POST /v1/chat/completions with "model": "gpt-5-mini-2025-08-07" and the parameters below.
- 04
Handle the response
Read the response (or stream tokens with stream: true). Usage and cost appear in your console.
Request examples
Documentation: 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-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
}'Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Required | gpt-5 | Model name |
messages | array | Required | — | List of conversation messages |
role | string | Required | user | Role type |
content | string | Required | — | Message content |
temperature | number | Optional | — | Controls output randomness, range 0-2 |
max_tokens | integer | Optional | — | Maximum number of tokens to generate |
stream | boolean | Optional | — | Whether to use streaming output |
top_p | number | Optional | — | Nucleus sampling parameter, range 0-1 |
frequency_penalty | number | Optional | — | Frequency penalty, range -2.0 to 2.0 |
presence_penalty | number | Optional | — | Presence penalty, range -2.0 to 2.0 |
stop | string or array | Optional | — | Stop sequences |
n | integer | Optional | — | Number of completions to generate |
What you can build with 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 for better results
- 01
Select the Exact Snapshot
Set the model field to
gpt-5-mini-2025-08-07rather 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.
Limits and things to know
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.
gpt-5-mini-2025-08-07 API FAQ
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.
Related models
gpt-5
gpt-5-2025-08-07
gpt-5-mini
gpt-5-nano
gpt-5-nano-2025-08-07
gpt-5-pro
gpt-5-pro-2025-10-06
gpt-5-search-api
Start building with gpt-5-mini-2025-08-07
One key, pay as you go from $50, billed only for successful requests.