OpenAI logo

GPT-4

openai/gpt-4

GPT model for general reasoning, writing, coding, and tool-assisted tasks

Input modalitiesT
Output modalitiesT
Source-linkedgptClosed weightsReleased 2023-11-06
Report data
Context window8.192K
Maximum output8.192K
Provider offers8
Knowledge cutoff2023-11
Capabilities

What this model supports

ReasoningNo
Tool callingYes
Structured outputNo
AttachmentsYes
Temperature controlYes
Open weightsNo
Creator
OpenAI
Family
gpt
Modalities
Text
License
Not documented
Release date
2023-11-06
Model ID
openai/gpt-4
Market availability

Provider pricing

Report price →
Providers offering GPT-4
ProviderProvider model IDContextInput / 1MOutput / 1MCached / 1MFeaturesAll pricing
Cloudflare AI Gateway logoCloudflare AI Gatewayopenai/gpt-48.192K$30$60· T ·
View
{
  "input": 30,
  "output": 60
}
Kilo Gateway logoKilo Gatewayopenai/gpt-48.191K$30$60· T ·
View
{
  "input": 30,
  "output": 60
}
OpenRouter logoOpenRouteropenai/gpt-48.191K$30$60· T S
View
{
  "input": 30,
  "output": 60
}
OrcaRouter logoOrcaRouteropenai/gpt-48.192K$30$60· T ·
View
{
  "input": 30,
  "output": 60
}
LLM Gateway logoLLM Gatewaygpt-48.192K$30$60· T ·
View
{
  "input": 30,
  "output": 60
}
OpenAI logoOpenAIgpt-48.192K$30$60· T ·
View
{
  "input": 30,
  "output": 60
}
Azure logoAzuregpt-48.192K$60$120· T ·
View
{
  "input": 60,
  "output": 120
}
Azure Cognitive Services logoAzure Cognitive Servicesgpt-48.192K$60$120· T ·
View
{
  "input": 60,
  "output": 120
}
Evidence

Published benchmark results

Artificial Analysis Coding Index vs top 8 models
GPT-5-Codex
38.9
Step 3.7 Flash
37.1
Step 3.5 Flash 2603
34.6
North Mini Code
33.4
Gemini 2.5 Pro
32.0
Step 3.5 Flash
31.6
GLM-4.6
29.5
GPT-4
13.1
Coding Index vs top 8 models
GPT-5.6 Sol
77.4
GPT-5.6 Terra
76.7
Claude Fable 5
76.5
GPT-5.5
74.9
Anthropic: Claude Opus 4.8
74.3
Anthropic: Claude Opus 4.7
73.6
xAI: Grok 4.5
72.4
GPT-4
13.1