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
7.0
#349
Coding Index
13.1
#69
Time to First Token
0.97s
#334
Output TPS
41.4
#246

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-5.51.1M$5.00$30.00Available
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.3 Codex400K$1.75$14.00Available
GPT-5.2 Codex400K$1.75$14.00Available
GPT-5.2410K$1.75$14.00Available
GPT-5.1410K$1.25$10.00Available
GPT-5.1 Codex400K$1.25$10.00Available
GPT-5.1 Codex Mini400K$0.250$2.00Available
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