OpenAI logo

GPT-4


GPT-4 is OpenAI logoOpenAI's language model with a 33K context window and up to 8K output tokens, available from 4 providers, starting at $30.00 / 1M input and $60.00 / 1M output. A high-intelligence multimodal language model capable of complex reasoning across text and image inputs, representing an earlier generation of OpenAI's flagship GPT-4 series.
Spec
Canonical IDopenai-gpt-4
TypeLanguage
StatusActive
CreatorOpenAIOpenAI
Providers
Context Window33K tokens
Max Output8K tokens
Input ModalitiesText
Output ModalitiesText
Release Date · 3 years ago
Knowledge Cutoff
Intelligence Index
12.8
#220
Coding Index
13.1
#163
Time to First Token
0.84s
#222
Output TPS
30.8
#184

Capabilities

Input1/5
Text
Image·
Audio·
Video·
PDF·
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities2/13
Reasoning·
Adaptive Reasoning·
Function Calling
Parallel Function Calling·
Structured Outputs·
Native JSON Schema·
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching
Assistant Prefill·

Pricing by Provider

ProviderStandardBatch
Input
$ / 1M
Output
$ / 1M
Input
$ / 1M
Output
$ / 1M
Azure AI Foundry logo
Azure AI Foundry
gpt-4
$30.00$120.00$15.00$30.00
GitHub Models logo
GitHub Models
gpt-4
$30.00$60.00
OpenAI logo
OpenAI
gpt-4
$30.00$60.00$15.00$30.00
OpenRouter logo
OpenRouter
openai/gpt-4
$30.00$60.00

Regional pricing

Provider-specific pricing that varies by region.
Azure AI Foundry logo
Azure AI Foundry
22 regions
RegionStandardBatch
Input
$ / 1M
Output
$ / 1M
Input
$ / 1M
Output
$ / 1M
Global
Global$30.00$120.00$15.00$30.00
Asia Pacific
Australia East (New South Wales)/ australiaeast$60.00$60.00
Japan East (Tokyo, Saitama)/ japaneast$60.00$120.00
South India (Chennai)/ southindia$30.00$60.00
Canada
Canada Central (Toronto)/ canadacentral$60.00$120.00$15.00$30.00
Canada East (Quebec)/ canadaeast$30.00$120.00
Europe
France Central (Paris)/ francecentral$30.00$60.00
Germany West Central (Frankfurt)/ germanywestcentral$30.00$60.00
Norway East (Norway)/ norwayeast$30.00$60.00
Poland Central (Warsaw)/ polandcentral$30.00$120.00
Spain Central (Madrid)/ spaincentral$36.30$72.60
Sweden Central (Gävle)/ swedencentral$60.00$120.00
Switzerland North (Zurich)/ switzerlandnorth$30.00$60.00
UK South (London)/ uksouth$30.00$120.00
West Europe (Netherlands)/ westeurope$60.00$120.00
South America
Brazil South (Sao Paulo State)/ brazilsouth$60.00$120.00
US
East US (Virginia)/ eastus$30.00$60.00
East US 2 (Virginia)/ eastus2$60.00$60.00
North Central US (Illinois)/ northcentralus$60.00$120.00
South Central US (Texas)/ southcentralus$30.00$120.00
West US (California)/ westus$30.00$60.00
West US 3 (Phoenix)/ westus3$30.00$60.00

Cost Calculator

Preset:
Compares every provider & tier in USD

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
GPT-5.4 Mini1.1M$0.750$4.50Available
GPT-5.4 Nano1.1M$0.200$1.25Available
GPT-5.41.1M$2.50$15.00Available
GPT-5.4 Pro1.1M$30.00$180.00Available
GPT-5.4 3.51.1MAvailable
GPT-5.4 Pro 3.51.1MAvailable
GPT-5.3 Chat128K$1.75$14.00Available
GPT-5.3 Codex400K$1.75$14.00Available
GPT-5.3 Codex Spark128KAvailable
GPT-5.3 Instant128KAvailable
GPT-433K$30.00$60.00Current

Model IDs