# OpenAI: GPT-5

openai/gpt-5

GPT-5 is OpenAI’s most advanced model, offering major improvements in reasoning, code quality, and user experience. It is optimized for complex tasks that require step-by-step reasoning, instruction following, and accuracy in high-stakes use cases. It supports test-time routing features and advanced prompt understanding, including user-specified intent like "think hard about this." Improvements include reductions in hallucination, sycophancy, and better performance in coding, writing, and health-related tasks.

by [OpenAI](/content/openai/index.html)

**Input type**  
**Output type**  
**Publish time**  
2025-08-07

## Recent activity on GPT-5

**Tokens processed per day**

## Throughput

(tokens/s)

| Providers | Min (tokens/s) | Max (tokens/s) | Avg (tokens/s) |
| --- | --- | --- | --- |
| Azure | 8.77 | 72.52 | 49.16 |

## First Token Latency

(ms)

| Providers | Min (ms) | Max (ms) | Avg (ms) |
| --- | --- | --- | --- |
| Azure | 1735 | 29689 | 9452.07 |
| OpenAI | 590 | 590 | 590.00 |

## Uptime stats for GPT-5

**Uptime stats for GPT-5 across all providers**

| Providers | Uptime (Percent) |
| --- | --- |
| Azure | 100.00 |
| OpenAI | 100.00 |

## Pricing

| Item | Price |
| --- | --- |
| Input | $ 1.25/ M tokens |
| Output | $ 10/ M tokens |
| Cache read | $ 0.125/ M tokens |
| Web search | $ 0.01/ counts |

## Model limitation

| Limitation | Value |
| --- | --- |
| Context | 400.00K |
| Max output | 128.00K |

## Sample code and API for GPT-5

ZenMux normalizes requests and responses across providers for you.

```python
from openai import OpenAI

client = OpenAI(
  base_url="https://zenmux.ai/api/v1",
  api_key="<ZENMUX_API_KEY>",
)

# Chat Completion
completion = client.chat.completions.create(
  model="openai/gpt-5",
  messages=[
    {
      "role": "user",
      "content": "What is the meaning of life?"
    }
  ]
)
print(completion.choices[0].message.content)

# Responses API
responses = client.responses.create(
  model="openai/gpt-5",
  input="What is the meaning of life?"
)
print(responses)
```
