GPT-4 is OpenAI's language model with a 33K context window and up to 8K output tokens, available from 3 providers, starting at $30.00 / 1M input and $60.00 / 1M output. OpenAI's fourth-generation large language model offering high-intelligence reasoning and broad knowledge for complex chat and completion tasks.
Specifications
Canonical IDopenai-gpt-4
TypeLanguage
StatusDeprecated
CreatorOpenAIOpenAI
Providers
Context Window33K tokens
Max Output8K tokens
Input ModalitiesText
Output ModalitiesText
Release Date · 3 years ago
Knowledge Cutoff · 3 years ago
Deprecation Date
Benchmarks
Intelligence Index
#441
Coding Index
#181
MMLU-Pro
#280
GPQA
#469
IFBench
#332
Time to First Token
#256
MATH-500
#158
Output TPS
#494

Capabilities

Input1/5
Text✓
Image·
Audio·
Video·
PDF·
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities4/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

US Dollar ($)
Per 1M tokens
ProviderStandardBatch
Input
$ / 1M
Output
$ / 1M
Input
$ / 1M
Output
$ / 1M
Azure AI Foundry logo
Azure AI Foundry
openai:gpt4
$30.00$120.00$15.00$30.00
OpenAI logo
OpenAI
gpt-4
$30.00$60.00$15.00$30.00
OpenRouter logo
OpenRouter
openai/gpt-4
$30.00$60.00——

Cost Calculator

US Dollar ($)
Preset:

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
GPT-6.1 Sol1.1M$2.00$10.00Available
GPT-6 Sol1.1M$2.00$10.00Available
GPT-6 Luna1.1M$0.100$0.500Available
GPT-6 Astra1.1M$10.00$50.00Available
GPT-5.6 Sol1.1M$4.00$20.00Available
GPT-5.6 Terra1.1M$2.00$12.00Available
GPT-5.6 Luna1.1M$0.200$1.20Available
GPT-5.51.1M$5.00$30.00Available
GPT-5.4 Mini400K$0.750$4.50Available
GPT-5.4 Nano400K$0.200$1.25Deprecating
GPT-433K$30.00$60.00Current

Model IDs

azure/gpt-4
github_copilot/gpt-4
gpt-4
gpt-4-0314
openai-gpt-4
openai/gpt-4
openai/gpt-4-0314
openrouter/openai/gpt-4