Price Per TokenPrice Per Token
OpenAI

OpenAI API Pricing (Updated 2026)

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

8 Ways to Use Fewer Tokens

Get the free PDF guide — practical tips to cut your token usage and API costs. Subscribe to the Price Per Token newsletter and download instantly.

Last updated: March 16, 2026 at 08:23 AM

Overview

50
Total Models
$0.03
Cheapest Input (per 1M)
1050K
Max Context Length

Model Release Timeline

15 releases
Oct 2025
$2.00 / $8.00
Oct 2025
$10.00 / $40.00
Nov 2025
$0.25 / $2.00
Nov 2025
$1.25 / $10.00
Nov 2025
$0.63 / $5.00
Nov 2025
$0.63 / $5.00
Dec 2025
$1.25 / $10.00
Dec 2025
$1.75 / $14.00
Dec 2025
$10.50 / $84.00
Dec 2025
$0.88 / $7.00
Jan 2026
$1.75 / $14.00
Feb 2026
$1.75 / $14.00
Mar 2026
$1.75 / $14.00
Mar 2026
$2.50 / $15.00
Mar 2026
$30.00 / $180.00
Spacing represents time between releases
Oct 2025Mar 2026

All OpenAI Models

Compare pricing for all 50 OpenAI models.

Model
Context
Input
Output
Coding
MMLU
GPQA
Cache Read
Cache Write
Actions
131K
$0.030
$0.100
77.7
74.8
68.8
$0.035
-
Try
131K
$0.039
$0.100
70.7
77.5
67.2
$0.025
-
Try
400K
$0.050
$0.400
47.0
55.6
42.8
$0.005
-
Try
1.0M
$0.100
$0.400
32.6
65.7
51.2
$0.025
-
Try
400K
$0.125
$1.000
83.8
83.7
82.8
$0.025
-
Try
128K
$0.150
$0.600
23.4
64.8
42.6
$0.075
-
Try
2K
$0.200
$0.200
-
-
Try
400K
$0.250
$2.000
83.6
82.0
81.3
$0.025
-
Try
1.0M
$0.400
$1.600
48.3
78.1
66.4
$0.1
-
Try
16K
$0.500
$1.000
46.2
29.7
-
-
Try
2K
$0.500
$0.500
-
-
Try
200K
$0.550
$2.200
85.9
83.2
78.4
$0.275
-
Try
128K
$0.550
$2.200
57.6
74.2
60.3
$0.55
-
Try
400K
$0.625
$5.000
49.4
80.1
64.3
$0.125
-
Try
128K
$0.625
$5.000
$0.125
-
Try
200K
$0.750
$3.000
$0.025
-
Try
128K
$0.875
$7.000
$0.175
-
Try
200K
$1.100
$4.400
$0.275
-
Try
200K
$1.100
$4.400
73.4
80.2
77.3
$0.55
-
Try
200K
$1.100
$4.400
71.7
79.1
74.8
$0.55
-
Try
400K
$1.250
$10.000
$0.125
-
Try
400K
$1.250
$10.000
84.9
86.0
86.0
$0.125
-
Try
400K
$1.250
$10.000
84.0
86.5
83.7
$0.125
-
Try
128K
$1.250
$10.000
$0.125
-
Try
400K
$1.250
$10.000
55.8
80.6
67.3
$0.125
-
Try
4K
$1.500
$2.000
-
-
Try
128K
$1.750
$14.000
$0.175
-
Try
400K
$1.750
$14.000
91.5
$0.175
-
Try
400K
$1.750
$14.000
89.9
$0.175
-
Try
400K
$1.750
$14.000
66.9
81.4
71.2
$0.175
-
Try
200K
$2.000
$8.000
$0.5
-
Try
2K
$2.000
$2.000
-
-
Try
200K
$2.000
$8.000
80.8
85.3
82.7
$0.5
-
Try
1.0M
$2.000
$8.000
45.7
80.6
66.6
$0.5
-
Try
1.1M
$2.500
$15.000
92.0
$0.25
-
Try
128K
$2.500
$10.000
$1.25
-
Try
16K
$3.000
$4.000
-
-
Try
128K
$5.000
$15.000
42.5
80.3
65.5
-
-
Try
200K
$10.000
$40.000
$2.5
-
Try
4K
$10.000
$10.000
-
-
Try
128K
$10.000
$30.000
29.1
69.4
-
-
Try
400K
$10.500
$84.000
88.9
87.4
90.3
-
-
Try
400K
$15.000
$120.000
-
-
Try
200K
$15.000
$60.000
67.9
84.1
74.7
$7.5
-
Try
200K
$20.000
$80.000
84.5
-
-
Try
4K
$20.000
$20.000
-
-
Try
1.1M
$30.000
$180.000
-
-
Try
8K
$30.000
$60.000
-
-
Try
128K
$75.000
$150.000
$37.5
-
Try
200K
$150.000
$600.000
$75
-
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:
Loading chart...
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.03 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.03 to $150.00 per 1M tokens. See the table above for specific model pricing.