OpenAI: GPT-4 API Pricing & Monthly Cost Calculator
OpenAI: GPT-4 by OpenAI is priced at $30.00 per 1M input tokens and $60.00 per 1M output tokens with a 8.2K context window.
gpt-5.6-sol.
Direct Official vs. OpenRouter Gateway
Comparing direct vendor pricing against multi-provider OpenRouter routing for openai/gpt-4.
| Channel | Input / 1M | Output / 1M | Cache Read |
|---|---|---|---|
| Direct Official | $30.00 | $60.00 | — |
| OpenRouter Gateway | $30.00 | $60.00 | — |
1M to 1B Token Cost Tiers
Reference monthly spend assuming a standard 75% input / 25% output workload mix.
| Monthly Volume | Standard | 75% Cached | Batch API |
|---|---|---|---|
| 1M tokens | $37.50 | — | — |
| 10M tokens | $375.00 | — | — |
| 100M tokens | $3,750 | — | — |
| 1B tokens | $37,500 | — | — |
Interactive OpenAI: GPT-4 Bill Estimator
Adjust request volume, tokens, and prompt cache hit ratio.
Closest Price-Tier Alternatives
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| OpenAI: o3 Pro | $20.00 | $80.00 | 200K |
| OpenAI: GPT-6 Astra | $10.00 | $50.00 | 1.05M |
| Anthropic: Claude Fable 5.1 | $10.00 | $50.00 | 1M |
| Anthropic: Claude Fable 5 | $10.00 | $50.00 | 1M |
| OpenAI: GPT-6 Astra Pro | $10.00 | $50.00 | 1.05M |
| OpenAI: GPT-6.2 Astra | $8.00 | $40.00 | 1.05M |
Optimize Inference & Self-Hosting
Compare OpenAI: GPT-4 against flagship models from OpenAI, Anthropic, Google, and DeepSeek in our interactive comparison matrix, or benchmark self-hosted GPU break-even thresholds.
Model Specifications & FAQs
OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning...
How much does OpenAI: GPT-4 API cost per 1M tokens?
OpenAI: GPT-4 costs $30.00 per 1M input tokens and $60.00 per 1M output tokens (official direct provider rate), verified on 2026-11-30.
Does OpenAI: GPT-4 support prompt caching or batch discounts?
Prompt caching pricing is not currently exposed for this model. Batch API pricing is not listed for this endpoint.
What is the context window and max output for OpenAI: GPT-4?
OpenAI: GPT-4 supports a 8,191-token context window and up to 4,096 output tokens per completion.