OpenAI: GPT-5

GPT-5 is OpenAI's flagship general-purpose model, released 2025-08, built for complex tasks that require step-by-step reasoning and accuracy. It improves on previous versions in coding, writing, and health-related tasks, with reduced hallucination and sycophancy. The model supports test-time routing and advanced prompt understanding, including user-specified intent like "think hard about this."

Modalities
inTextinImageinFileoutText
Price / 1M−74%
$0.32 / $2.57$1.25 / $10.00
Context
400K
Knowledge cutoff
2024-09-30

Capabilities

ReasoningVisionTool useLong contextPrompt cachingStructured output

Channels

Same weights on every channel. Requests route to the cheapest healthy one; the channel used is printed on each billing line.

Provider
Discount
Input /M
Output /M
Cache Read /M
Cache Create 5m /M
Cache Create 1h /M
Codexcheap
−74%
$0.32
$2.57
$0.03
Defaultstable
−40%
$0.75
$5.99
$0.07

Cost Calculator

Pick a channel and a usage scenario, then drag to your workload — each scenario assumes a different prompt-cache hit rate.

Channel
Scenario
Unit $0.32 / $2.57 /1MDaily chat: 40% cache hit assumed · cache read $0.03 /1M
List price $556.80On MirAPI$142.99/ moYou save $413.81Create an API key

Benchmarks

bar = score (0–100) · ▏ median

Scores from vendor reports and public leaderboards. No private evals.

Intelligence Index
General ability
35.3
#45
Coding Index
Code
37.8
#57
Agentic Index
Agentic
26.5
#38
τ-bench (airline)
Agentic tool use
72.2
#41

Showcase

Three fixed prompts, identical for every chat model. Outputs are archived verbatim — copy the prompt to reproduce.

Task prompt · identical for all models
Build a single-file HTML page using three.js from a CDN: a low-poly planet with a tilted ring of ~200 orbiting particles, a soft key light plus rim light, slow auto-rotation, and drag-to-orbit controls. No build tools — one file only.
Archived output
Archive not published yet

Every model will run this exact prompt; the output lands here verbatim, with tokens and per-run cost.

Quick Start

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.mirapi.ai/v1",   # changed
    api_key=os.environ["MIRAPI_API_KEY"],   # changed
)

resp = client.chat.completions.create(
    model="openai/gpt-5",
    messages=[{"role": "user", "content": "Hello"}],
)
Wire GPT-5 into your product

1M free tokens to start · no card · OpenAI-compatible, one base_url change

Start free