GPT 4 API Pricing 2026
Compare pricing, benchmarks, and providers for GPT 4. Find the best value for your use case.
Overview
GPT 4 was released on May 28, 2023. Pricing starts at $30.00 per million input tokens and $60.00 per million output tokens. The model supports a context window of up to 8K tokens. API access is available through OpenAI.
GPT 4 is priced at $30.00 per million input tokens and $60.00 per million output tokens. It has a context window of 8,191 tokens. It is available from 3 providers, with OpenAI the cheapest at $30.00 per million input tokens. On benchmarks, GPT 4 scores Aider 67.7 (68th percentile).
Pricing Comparison
Compare GPT 4 with 10 similar models by price.
Current Pricing (per 1M tokens)
11 models
Provider | Model | Input $/M | Output $/M | Coding | MMLU | GPQA | Context | Actions |
|---|---|---|---|---|---|---|---|---|
$30.000 | $60.000 | — | — | — | 8,191 | |||
$15.000 | $75.000 | — | — | — | 200,000 | |||
$15.000 | $60.000 | — | — | — | 200,000 | |||
$15.000 | $75.000 | — | — | — | 200,000 | |||
$18.800 | $18.800 | — | — | — | - | |||
$20.000 | $80.000 | — | — | — | 200,000 | |||
$20.000 | $20.000 | — | — | — | 4,097 | |||
$20.000 | $20.000 | — | — | — | 4,097 | |||
$27.500 | $137.500 | — | — | — | - | |||
$30.000 | $180.000 | — | — | — | 1,050,000 | |||
$30.000 | $180.000 | — | — | — | 1,050,000 |
* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.
Compare Providers
GPT 4 is available from multiple providers with different pricing and availability.
Provider Pricing
3 models
Provider | Input $/M | Output $/M | Cache Read $/M | Cache Write $/M | Uptime |
|---|---|---|---|---|---|
OpenAI Best Price | $30.000 | $60.000 | - | - | - |
Azure Best Price | $30.000 | $60.000 | - | - | 100.0% |
OpenRouter Best Price | $30.000 | $60.000 | - | - | - |
Community Rankings
How does GPT 4 perform? Vote based on your experience.
Cost vs. Quality
Compare GPT 4's benchmark performance against all models.
Try GPT 4
Use our Calculator
Estimate your costs based on expected token usage.
Open Cost CalculatorTry in Playground
Test GPT 4 directly in your browser.
Open PlaygroundCompare GPT 4
Similar Price Range
Same Provider
Popular Competitors
Compare by Brand
Frequently Asked Questions
All OpenAI Models
See pricing for all OpenAI models.
View all OpenAI models →