GPT-4 pricing & specs
OpenAI · released 2023-11-06 · ● verified 2026-10-11 · deprecated
This model is deprecated. Cheapest compatible replacement: Llama 3.2 1B Instruct.
input / 1M$30.00
output / 1M$60.00
context8.2K
max output8.2K
// price history ($/1M tokens)
// cheaper or similar alternatives
| model | in | out | ctx | vs GPT-4 |
|---|---|---|---|---|
| Llama 3.2 1B Instruct | $0.02 | $0.02 | 131K | −99.9% |
| Llama-3.1-8B-Instruct | $0.02 | $0.05 | 16.4K | −99.9% |
| Voxtral Mini 3B 2507 | $0.04 | $0.04 | 32.8K | −99.9% |
| Gemma 4 E2B IT | $0.04 | $0.08 | 131.1K | −99.9% |
| Qwen3.7 Flash | $0.03 | $0.13 | 1M | −99.9% |
// faq
How much does GPT-4 cost?
GPT-4 costs $30.00 per million input tokens and $60.00 per million output tokens. At 50M input and 10M output tokens per month that is about $2,100.
What is the context window of GPT-4?
8.2K tokens, with up to 8.2K output tokens per request.
What are cheaper alternatives to GPT-4?
Llama 3.2 1B Instruct ($0.02 in / $0.02 out), Llama-3.1-8B-Instruct ($0.02 in / $0.05 out), Voxtral Mini 3B 2507 ($0.04 in / $0.04 out) offer the same input types and capabilities for less.
// spec sheet
- input / 1M
- $30.00
- output / 1M
- $60.00
- blended (3:1)
- $37.50
- context
- 8.2K
- max output
- 8.2K
- input types
- text
- reasoning
- no
- tool calling
- yes
- structured output
- no
- open weights
- no
- knowledge cutoff
- 2023-11
- price source
- OpenAI
// cost calculator
| model | in $/1M | out $/1M | = monthly |
|---|---|---|---|
| Llama 3.2 1B Instruct | $0.02 | $0.02 | $1.20 |
| Llama-3.1-8B-Instruct | $0.02 | $0.05 | $1.50 |
| Voxtral Mini 3B 2507 | $0.04 | $0.04 | $2.40 |
| GPT-4 | $30.00 | $60.00 | $2,100 |
Base-tier list prices. Long-context tiers, caching and batch discounts are not included.