OpenAI

OpenAI API Pricing (Updated 2026)

Compare pricing for all 70 OpenAI models. Prices shown per 1M tokens with historical trends.

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

Overview

70
Total Models
$0.02
Cheapest Input (per 1M)
1050K
Max Context Length

Model Release Timeline

15 releases
Mar 2026
$30.00 / $180.00
Mar 2026
$0.38 / $2.25
Mar 2026
$0.10 / $0.63
Apr 2026
$5.00 / $30.00
Apr 2026
$30.00 / $180.00
May 2026
$5.00 / $30.00
Jul 2026
$2.00 / $10.00
Jul 2026
$4.00 / $20.00
Jul 2026
$2.00 / $12.00
Jul 2026
$2.00 / $12.00
Jul 2026
$0.20 / $1.20
Jul 2026
$0.10 / $0.60
Sep 2026
$10.00 / $50.00
Sep 2026
$5.00 / $25.00
Oct 2026
$1.00 / $5.00
Spacing represents time between releases
Mar 2026→Oct 2026

All OpenAI Models

Compare pricing for all 70 OpenAI models.

View Provider Pricing
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
Model
Context
Input
Output
Cached Input
Cache Write
MMLU
GPQA
Actions
131K
$0.017
$0.085
$0.0027
-
—
—
Try
400K
$0.025
$0.200
$0.0025
-
—
—
Try
131K
$0.030
$0.100
$0.0045
-
—
—
Try
1.1M
$0.100
$0.600
$0.01
$0.125
—
—
Try
400K
$0.100
$0.625
$0.01
-
—
—
Try
1.0M
$0.100
$0.400
$0.03
-
—
—
Try
-
$0.100
$0.500
$0.01
$0.125
—
—
Try
-
$0.100
$0.500
$0.01
$0.125
—
—
Try
400K
$0.125
$1.000
$0.0125
-
—
—
Try
128K
$0.150
$0.600
$0.075
-
—
—
Try
1.1M
$0.200
$1.200
$0.02
$0.25
—
—
Try
2K
$0.200
$0.200
-
-
—
—
Try
400K
$0.250
$2.000
$0.03
-
—
—
Try
400K
$0.375
$2.250
$0.0375
-
—
—
Try
1.0M
$0.400
$1.600
$0.1
-
—
—
Try
-
$0.500
$2.500
$0.025
$0.625
—
—
Try
16K
$0.500
$1.000
-
-
—
—
Try
2K
$0.500
$0.500
-
-
—
—
Try
128K
$0.550
$2.200
-
-
—
—
Try
400K
$0.625
$5.000
$0.0625
-
—
—
Try
128K
$0.625
$5.000
-
-
—
—
Try
128K
$0.875
$7.000
$0.175
-
—
—
Try
1.1M
$1.000
$5.000
$0.05
$1.25
—
—
Try
2K
$1.000
$1.000
-
-
—
—
Try
-
$1.000
$5.000
$0.05
$1.25
—
—
Try
200K
$1.100
$4.400
-
-
—
—
Try
200K
$1.100
$4.400
-
-
—
—
Try
200K
$1.100
$4.400
-
-
—
—
Try
200K
$1.100
$4.400
-
-
—
—
Try
1.1M
$1.250
$7.500
$0.125
-
—
—
Try
400K
$1.250
$10.000
$0.125
-
—
—
Try
400K
$1.250
$10.000
$0.13
-
—
—
Try
400K
$1.250
$10.000
-
-
—
—
Try
128K
$1.250
$10.000
-
-
—
—
Try
400K
$1.250
$10.000
$0.125
-
—
—
Try
200K
$1.500
$6.000
-
-
—
—
Try
4K
$1.500
$2.000
-
-
—
—
Try
16K
$1.500
$2.000
-
-
—
—
Try
400K
$1.750
$14.000
$0.175
-
—
—
Try
400K
$1.750
$14.000
$0.175
-
—
—
Try
400K
$1.750
$14.000
$0.175
-
—
—
Try
128K
$1.750
$14.000
-
-
—
—
Try
1.1M
$2.000
$12.000
$0.2
$2.5
—
—
Try
1.1M
$2.000
$12.000
$0.2
$2.5
—
92.5
Try
1.1M
$2.000
$10.000
$0.2
$2.5
—
—
Try
200K
$2.000
$8.000
-
-
—
—
Try
200K
$2.000
$8.000
$0.5
-
—
—
Try
1.0M
$2.000
$8.000
$0.5
-
—
—
Try
-
$2.000
$10.000
$0.2
$2.5
—
—
Try
-
$2.000
$10.000
$0.2
$2.5
—
—
Try
-
$2.000
$10.000
$0.1
$2.5
—
—
Try
128K
$2.500
$10.000
$1.25
-
—
—
Try
1.1M
$4.000
$20.000
$0.4
$5
—
—
Try
400K
$5.000
$30.000
$0.5
-
—
—
Try
1.1M
$5.000
$30.000
$0.5
-
—
—
Try
1.1M
$5.000
$25.000
$0.5
$6.25
—
89.5
Try
128K
$5.000
$15.000
-
-
—
—
Try
128K
$5.000
$15.000
-
-
—
—
Try
200K
$10.000
$40.000
-
-
—
—
Try
1.1M
$10.000
$50.000
$1
$12.5
—
—
Try
400K
$10.500
$84.000
-
-
—
—
Try
400K
$15.000
$120.000
-
-
—
—
Try
200K
$15.000
$60.000
-
-
—
—
Try
200K
$20.000
$80.000
-
-
—
—
Try
4K
$20.000
$20.000
-
-
—
—
Try
4K
$20.000
$20.000
-
-
—
—
Try
1.1M
$30.000
$180.000
-
-
—
—
Try
1.1M
$30.000
$180.000
-
-
—
—
Try
8K
$30.000
$60.000
-
-
—
—
Try
200K
$75.000
$300.000
-
-
—
—
Try

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

Showing lowest price across all providers. Benchmarks from Artificial Analysis and HuggingFace Open LLM Leaderboard.

Cost vs. Quality

Compare OpenAI models by benchmark performance and cost.

X-axis:
Y-axis:

No benchmark data available for comparison

Benchmark scores are sourced from Artificial Analysis

OpenAI Models

Community Ratings

Rate how well OpenAI models perform across popular AI coding tools.

Historical Pricing Trends

Price Changes Over Time

No historical pricing data available for this provider.

Try OpenAI Models

Cost Calculator

Estimate your costs for any OpenAI model based on expected token usage.

Open Cost Calculator

Try in Playground

Test OpenAI models directly in your browser.

Open Playground

Frequently Asked Questions

Currently, GPT-OSS-20b is the most affordable at $0.02 per 1M input tokens.
Count your input tokens (prompt) and expected output tokens (response). Use the formula: (input_tokens/1M × input_price) + (output_tokens/1M × output_price). Our pricing calculator can help automate this.
OpenAI pricing varies by model. Input costs range from $0.02 to $75.00 per 1M tokens. See the table above for specific model pricing.