OpenAI logo

GPT-4

Deprecated

GPT-4 is OpenAI logoOpenAI's language model with a 8K context window and up to 4K output tokens, available from 2 providers, starting at $30.00 / 1M input and $60.00 / 1M output. The first released snapshot of GPT-4 with an 8,192-token context window, representing the initial version of OpenAI's high-intelligence GPT-4 model.
Spec
Canonical IDopenai-gpt-4-0314
TypeLanguage
StatusDeprecated
CreatorOpenAIOpenAI
Providers
Context Window8K tokens
Max Output4K tokens
Input ModalitiesText
Output ModalitiesText
Release Date · 3 years ago
Deprecation Date

Capabilities

Input1/5
Text
Image·
Audio·
Video·
PDF·
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities0/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
OpenAI logo
OpenAI
gpt-4-0314
$30.00$60.00$15.00$30.00
OpenRouter logo
OpenRouter
openai/gpt-4-0314
$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-48K$30.00$60.00Current

Model IDs