OpenAI

GPT 5 API Pricing 2026

Compare pricing, benchmarks, and providers for GPT 5. Find the best value for your use case.

8 Ways to Use Fewer Tokens
Last updated: November 21, 2026 at 08:43 AM

Overview

GPT 5 was released on August 7, 2025. Pricing starts at $1.25 per million input tokens and $10.00 per million output tokens. The model supports a context window of up to 400K tokens. API access is available through OpenAI.

Context Window
400K
tokens
Pricing
Input$1.25
Output$10.00
Cached$0.125
per 1M tokens
Speed
Output-
TTFT-
median latency
Capabilities
VisionReasoningToolsCaching

GPT 5 is priced at $1.25 per million input tokens and $10.00 per million output tokens. It has a context window of 400,000 tokens. It is available from 3 providers, with OpenAI the cheapest at $1.25 per million input tokens. On benchmarks, GPT 5 scores Aider 88.0 (98th percentile).

Pricing Comparison

Compare GPT 5 with 10 similar models by price.

Current Pricing (per 1M tokens)

11 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$1.250
$10.000
—
—
—
400,000
Try
$1.250
$2.500
—
—
—
2,000,000
Try
$1.250
$7.500
—
—
—
1,050,000
Try
$1.250
$10.000
—
—
—
131,072
Try
$1.250
$2.500
—
—
—
-
Try
$1.250
$2.500
—
—
—
1,000,000
Try
$1.250
$10.000
—
—
—
400,000
Try
$1.250
$10.000
—
—
—
400,000
Try
$1.250
$4.250
—
—
89.0
1,048,576
Try
$1.250
$10.000
—
—
—
400,000
Try
$1.250
$10.000
—
—
—
128,000
Try

* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.

Compare Providers

GPT 5 is available from multiple providers with different pricing and availability.

3
Providers
$1.250
Cheapest Input/M
$10.000
Cheapest Output/M
OpenAI
Best Price

Provider Pricing

3 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Input $/M
Output $/M
Cache Read $/M
Cache Write $/M
Uptime
OpenAI
OpenAI
Best Price
$1.250
$10.000
$0.125
-
100.0%
Azure
Azure
Best Price
$1.250
$10.000
$0.125
-
-
OpenRouter
OpenRouter
Best Price
$1.250
$10.000
$0.125
-
-
Provider pricing data sourced from OpenRouter and Helicone

Community Rankings

How does GPT 5 perform? Vote based on your experience.

Cost vs. Quality

Compare GPT 5's benchmark performance against all models.

X-axis:
Y-axis:
Loading chart...
Other models

Try GPT 5

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test GPT 5 directly in your browser.

Open Playground

Frequently Asked Questions

GPT 5 costs $0.001250 per 1,000 input tokens and $0.010000 per 1,000 output tokens.
GPT 5 is available from 3 providers. OpenAI offers the best price.
OpenAI offers GPT 5 at $1.25 per million input tokens.
GPT 5 scores Aider 88.0 (98th percentile). Only benchmarks with published data for this model are shown.
We compare GPT 5 with 10 similarly-priced models. See the benchmark scatter plot above to compare quality vs cost.

All OpenAI Models

See pricing for all OpenAI models.

View all OpenAI models →