OpenAI logo

GPT-4

Deprecated

GPT-4 is OpenAI's language model with a 33K context window and up to 4K output tokens, available from 2 providers, starting at $30.00 / 1M input and $60.00 / 1M output. The June 2023 snapshot of GPT-4 with improved function calling support and an 8,192-token context window.
Specifications
Canonical IDopenai-gpt-4-0613
TypeLanguage
StatusDeprecated
CreatorOpenAIOpenAI
Providers
Context Window33K tokens
Max Output4K tokens
Input ModalitiesText
Output ModalitiesText
Deprecation Date

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

ProviderStandard
Input
$ / 1M
Output
$ / 1M
Azure AI Foundry logo
Azure AI Foundry
azure/gpt-4-0613
$30.00$60.00
OpenAI logo
OpenAI
gpt-4-0613
$30.00$60.00

Cost Calculator

Preset:
Compares every provider & tier in USD

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
GPT-5 Mini Image400K$2.50$2.00Available
GPT-5 Image400K$10.00$10.00Available
GPT-5 Pro400K$15.00$120.00Available
GPT-5 Codex400K$1.25$10.00Available
GPT-5410K$1.25$10.00Available
GPT-5 Chat128K$1.25$10.00Available
GPT-5 Mini400K$0.250$2.00Available
GPT-5 Nano400K$0.050$0.400Available
GPT-5 ChatGPTAvailable
GPT-5 LowAvailable
GPT-433K$30.00$60.00Current

Model IDs