gpt-5-2025-08-07 API
Use OpenAI’s GPT-5 dated chat model on APISea for text generation and multi-turn conversations.
gpt-5-2025-08-07This is a dated snapshot of gpt-5-2025-08-07. Most users should use the main model page. gpt-5
gpt-5-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 | $1.10 | $1.25 | −12% |
| Cached input per 1M tokens | $0.11 | $0.125 | −12% |
| Output per 1M tokens | $8.80 | $10.00 | −12% |
What is gpt-5-2025-08-07?
OpenAI’s gpt-5-2025-08-07 is a GPT-5 family chat model for text generation and multi-turn conversations on APISea. Its date-suffixed name positions it as a pinned snapshot, suited to teams that want a specific model version for reproducible testing. Send messages with user, assistant, and system roles through the OpenAI-compatible Chat Completions interface. The model accepts up to 272,000 input tokens and produces up to 128,000 output tokens, with support for prompt-cache reads.
Connect using one APISea API key and the base URL https://api.apisea.ai/v1. The chat interface offers streaming or complete responses and an output-length control through max_tokens. Pay-as-you-go rates are $1.10 per 1M tokens for input, $0.11 per 1M tokens for cached input, and $8.80 per 1M tokens for output. The default configuration is about 12% below provider list price, and APISea bills only successful requests.
gpt-5-2025-08-07 highlights
Large Input Allowance
Supply up to 272,000 input tokens for conversations or text-heavy requests.
Extended Output Allowance
Generate up to 128,000 output tokens. Use max_tokens to set a smaller response budget for individual requests.
Prompt-Cache Reads
The model supports prompt-cache reads at $0.11 per 1M tokens for cached input.
Compatible Chat Interface
Call the model through the OpenAI-compatible Chat Completions API. Choose streaming responses or receive the complete response at once.
How to call the gpt-5-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-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-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-2025-08-07
Document-Based Summaries
Provide source text in messages and ask for summaries, key points, or comparisons, keeping requests within the input limit.
Multi-Turn Assistants
Build text-based assistants by passing prior user and assistant messages alongside a system prompt that defines the assistant’s role.
Long-Form Drafting
Generate reports, guides, or other extended drafts from supplied instructions and reference text. Set an output budget appropriate to each task.
Version-Specific Evaluation
Use the date-suffixed model ID for test suites that need a specific model selection rather than a moving latest-model name.
Tips for better results
- 01
Select the Exact ID
Set the model field to
gpt-5-2025-08-07; do not rely on the general chat endpoint’s default model. - 02
Budget Output Tokens
Set max_tokens to match the requested answer length. Output costs $8.80 per 1M tokens, so avoid allocating lengthy responses when a short answer is sufficient.
- 03
Plan for Cache Reads
For workflows with repeated prompt material, account for supported prompt-cache reads. Eligible cached input is billed at $0.11 per 1M tokens; check the documentation for cache behavior.
- 04
Choose Response Delivery
Set stream to true for SSE output or false for a complete response. Choose explicitly rather than relying on endpoint defaults.
Limits and things to know
Input is limited to 272,000 tokens per request.
Output is limited to 128,000 tokens, and a lower max_tokens setting can cap it further.
The supplied model facts do not establish image input, tool support, or Responses API compatibility for this model.
gpt-5-2025-08-07 API FAQ
How much does gpt-5-2025-08-07 cost on APISea?
Input costs $1.10 per 1M tokens, cached input costs $0.11 per 1M tokens, and output costs $8.80 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-2025-08-07?
Use the base URL https://api.apisea.ai/v1 and send a POST request to /chat/completions with Bearer Token authentication. Set model to gpt-5-2025-08-07 and include a messages array containing role and content fields.
What parameters does the chat API document?
The general chat interface documents max_tokens, stream, temperature, top_p, frequency_penalty, presence_penalty, stop, and n. Check model-specific documentation before relying on every general-interface control for this model.
What are the input and output token limits?
The maximum input is 272,000 tokens, and the maximum output is 128,000 tokens. The model also supports prompt-cache reads.
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 model differ from gpt-5 or gpt-5-mini?
The date suffix positions gpt-5-2025-08-07 as a pinned snapshot for reproducibility. The documentation describes gpt-5 as the base model and gpt-5-mini as a lightweight, cost-effective version; the supplied facts do not establish comparative performance.
Related models
gpt-5
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
Start building with gpt-5-2025-08-07
One key, pay as you go from $50, billed only for successful requests.