OpenAI logo

GPT-4

openai/gpt-4

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

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 Gatewayopenai/gpt-48.192K$30.000$60.000· T ·
View
{
  "input": 30,
  "output": 60
}
Kilo Gatewayopenai/gpt-48.191K$30.000$60.000· T ·
View
{
  "input": 30,
  "output": 60
}
OpenRouteropenai/gpt-48.191K$30.000$60.000· T S
View
{
  "input": 30,
  "output": 60
}
OrcaRouteropenai/gpt-48.192K$30.000$60.000· T ·
View
{
  "input": 30,
  "output": 60
}
LLM Gatewaygpt-48.192K$30.000$60.000· T ·
View
{
  "input": 30,
  "output": 60
}
OpenAIgpt-48.192K$30.000$60.000· T ·
View
{
  "input": 30,
  "output": 60
}
Azuregpt-48.192K$60.000$120.000· T ·
View
{
  "input": 60,
  "output": 120
}
Azure Cognitive Servicesgpt-48.192K$60.000$120.000· 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.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
Qwen3 Max
26.4
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