GPT-5 Mini API
A faster, more cost-efficient version of OpenAI's GPT-5, great for well-defined tasks and precise prompts.
openai/gpt-5-mini
Top up $20 and we add 50%. That gives you about 40.0M input tokens extra on this model, on us.
Create an accountPricing
USD per 1M tokens| Input | $0.25 |
| Output | $2.00 |
| Cached input | $0.0390% below fresh input |
Billed per token with no minimum and no monthly fee. Price your workload
Capabilities and limits
- Context window
- 266K tokens
- Max output
- 125K tokens
- Modality
- multimodal
- Tool calling
- Supported
- Vision
- Supported
- Reasoning
- Always on
- Reasoning effort
- minimal, low, medium, high (default: medium)
- Prompt caching
- Supported (automatic)
Routing
Run BiOS manages capacity for this model and fails over automatically, so there is nothing to provision and no outage of ours becomes yours.
Not sure which model to use? BiOS Adaptive routes to the best model per request, including this one.
curl https://api.runbios.ai/v1/chat/completions \
-H "Authorization: Bearer $BIOS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5-mini",
"messages": [{ "role": "user", "content": "Hello" }]
}'Existing OpenAI SDK code works by changing the base URL and the key. API overview
Model card
Curated by Run BiOS · benchmark figures, where present, are the card’s own, not our measurements
GPT-5 Mini is a faster, more cost-efficient version of GPT-5. It is great for well-defined tasks and precise prompts. For most new low-latency, high-volume workloads, OpenAI recommends starting with GPT-5.6 Terra.
Model details
| Property | Value |
|---|---|
| Developer | OpenAI |
| Model ID | gpt-5-mini |
| OpenAI default snapshot | gpt-5-mini-2025-08-07 |
| Input | Text, image |
| Output | Text |
| Context window | 272,000 tokens on Run BiOS (OpenAI's full window is 400,000 tokens) |
| Max output tokens | 128,000 |
| Knowledge cutoff | May 31, 2024 |
| Reasoning | Yes |
Details above are from OpenAI's official model page. Context window and input types are as served on Run BiOS.
On Run BiOS
- Always reasons. Reasoning levels
minimal,low,medium,high. The default ismedium. This model cannot turn reasoning off: a request for no reasoning runs at the lowest available level. - Reasoning summaries. When reasoning is on, OpenAI may return a summary of the model's reasoning: in
reasoning_contenton the OpenAI API, and in thinking blocks on the Anthropic Messages API whenthinking.displayissummarized. OpenAI does not return a summary for every request. - Tool calling. Function tools with
tool_choiceauto, required, a named function or none, including parallel tool calls and together with reasoning. - Structured outputs.
response_formatwithjson_schemaorjson_object. - Image input. Text and image input, text output.
- Sampling parameters.
temperature,top_p, penalties,stopandseedare not applied to this model on Run BiOS, because it always reasons. The request is still served. - Prompt caching. Automatic for repeated prompt prefixes. The minimum cacheable length varies with the request. Cache reads bill at the cached-input rate, and there is no separate charge for cache writes. Send a stable
prompt_cache_keyto improve cache hits. - Two APIs. Works with the OpenAI Chat Completions API (
/v1/chat/completions) and the Anthropic Messages API (/v1/messages).