OpenAI logo

GPT-4

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

Source-linked gpt Closed weights Released 2023-11-06
API data Report
Input modalitiesT
Output modalitiesT
Input price$30/1M tokens
Output price$60/1M tokens
Context window8.192K
Max output8.192K
Overview

Capabilities and specifications

× Reasoning No
Tool calling Yes
× Structured output No
Attachments Yes
× Vision input No
× Open weights No
Creator
OpenAI
Model family
gpt
Knowledge cutoff
2023-11
License
Not documented
Release date
2023-11-06
Model ID
openai/gpt-4
Inference availability

Provider pricing and availability

Provider-specific identifiers, limits, and prices per million tokens.

Report a price
Providers offering GPT-4
ProviderProvider model IDContextInputOutputCache readCapabilitiesSource
OpenAI gpt-4 8.192K $30 $60 - Tools Docs
OrcaRouter openai/gpt-4 8.192K $30 $60 - Tools Docs
LLM Gateway gpt-4 8.192K $30 $60 - Tools Docs
Cloudflare AI Gateway openai/gpt-4 8.192K $30 $60 - Tools Docs
Kilo Gateway openai/gpt-4 8.191K $30 $60 - Tools Docs
OpenRouter openai/gpt-4 8.191K $30 $60 - ToolsJSON Docs
Merge Gateway openai/gpt-4 8.192K $30 $60 - Not listed Docs
Azure gpt-4 8.192K $60 $120 - Tools Docs
Azure Cognitive Services gpt-4 8.192K $60 $120 - Tools Docs

Capability badges appear only when the provider catalog explicitly lists support.

Serving quality

Performance and reliability

Observed serving measurements stay separate from model specifications and are never estimated from price or model size.

Throughput Not reported

Generation speed; higher is faster.

Latency / TTFT Not reported

Time until the first output token arrives.

Uptime Not reported

Successful requests over a measured period.

Performance varies by inference provider, region, and load. Provider-level measurements appear only when a source reports them.

Published evaluations

Benchmarks

Raw results remain attached to their original source and version.

Benchmark registry
Artificial Analysis Coding Index - Unversioned - indexTop 8 reported models
GPT-5-Codex
38.9
Step 3.7 Flash
37.1
Step 3.5 Flash 2603
34.6
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 - Unversioned - indexTop 8 reported models
Claude Opus 5
78.0
GPT-5.6 Sol
77.4
GPT-5.6 Terra
76.7
Anthropic: Claude Fable 5 (batch)
76.5
Claude Fable 5
76.5
Kimi K3
76.2
OpenAI: GPT-5.5 (batch)
74.9
GPT-4
13.1
Catalog activity

Recent record changes

Detected changes from successful source imports.

Full change log
Max Output Tokens4096 → 8192
Context Length8191 → 8192
Max Output Tokens8192 → 4096
Context Length8192 → 8191
Max Output Tokens4096 → 8192
Context Length8191 → 8192
Max Output Tokens8192 → 4096
Context Length8192 → 8191
Public API

Use this record

Fetch the complete source-linked model record without an API key.

API documentation
Endpoint
GET https://www.modelbench.lol/api/v1/models/openai/gpt-4
curl
curl "https://www.modelbench.lol/api/v1/models/openai/gpt-4"