GPT 5 Mini
OpenAI logo

GPT 5 Mini

gpt-5-mini
OpenAI
Hot
GPT-5 mini is a faster, more cost-efficient version of GPT-5. It's great for well-defined tasks and precise prompts.

Pricing

PricingCache ReadImage GenerationWeb Search
$0.250$2.000
$0.025/M tokens-$0.01/request

Input Modalities

  • Text
  • Vision

Output Modalities

  • Text

Capabilities

  • Thinking
  • Tools
  • Tool calling
  • Structured outputs

Providers

Azure gpt-5-mini
Pricing$0.250$2.000
Cache Read$0.025/M tokens
Web Search$0.01/request
Context400K
Max output128K
Latency5.0S
Throughput87.7TPS
Uptime
99.89% uptime 2 days ago
99.99% uptime yesterday
100.00% uptime today
OpenAI gpt-5-mini
Pricing$0.250$2.000
Cache Read$0.025/M tokens
Web Search$0.01/request
Context400K
Max output128K
Latency8.4S
Throughput43.7TPS
Uptime
100.00% uptime 2 days ago
100.00% uptime yesterday
100.00% uptime today

Performance for gpt-5-mini

Uptime is the percentage of requests that succeeded over the past 72 hours. AIHubMix continuously monitors every provider and automatically retries with the next-best provider when one returns an error or responds too slowly; Latency is total round-trip time (lower is better); Throughput is how fast the model writes (tokens per second, higher is better).

Uptime
Loading...
Latency
Loading...
Throughput
Loading...

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="gpt-5-mini",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is GPT 5 Mini?

GPT-5 mini is a faster, more cost-efficient version of GPT-5. It's great for well-defined tasks and precise prompts.