GPT-4 pricing & specs

OpenAI · released 2023-11-06 · ● verified 2026-11-14 · deprecated

This model is deprecated. Cheapest compatible replacement: Gemma 4 E2B IT.

input / 1M$30.00
output / 1M$60.00
context8.2K
max output8.2K

GPT-4 is an OpenAI model released on 2023-11-06. At $30.00 per million input tokens and $60.00 per million output tokens, its blended price of $37.50 per 1M tokens is lower than 2% of the 184 models we track. It offers text input, a 8.2K-token context window and tool calling.

// price history ($/1M tokens)

$69.00
input $/1Moutput $/1M2023-11-06 → 2026-11-14

// cheaper or similar alternatives

modelinoutctxvs GPT-4
Gemma 4 E2B IT$0.04$0.08131.1K−99.9%
Qwen3.7 Flash$0.03$0.131M−99.9%
GPT OSS 20B$0.03$0.14131.1K−99.8%
Command R7B$0.0375$0.15128K−99.8%
Command R7B Arabic$0.0375$0.15128K−99.8%

// embed this price badge

Show the live price of GPT-4 in your README or docs (updated daily):

GPT-4 API price badge
[![GPT-4 price](https://aisignals.dev/badge/openai/gpt-4.svg)](https://aisignals.dev/models/openai/gpt-4)

// 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?

Gemma 4 E2B IT ($0.04 in / $0.08 out), Qwen3.7 Flash ($0.03 in / $0.13 out), GPT OSS 20B ($0.03 in / $0.14 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

report a data error

// cost calculator

modelin $/1Mout $/1M= monthly
Gemma 4 E2B IT$0.04$0.08$2.80
Qwen3.7 Flash$0.03$0.13$2.80
GPT OSS 20B$0.03$0.14$2.90
GPT-4$30.00$60.00$2,100

Base-tier list prices. Long-context tiers, caching and batch discounts are not included.