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:

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