Favicon for openai

OpenAI: GPT-4

openai/gpt-4

OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning capabilities. Training data: up to Sep 2021.

Modalities
In / out price
$30 / $60per 1M
Context
8K
Released
May 28, 2023
Knowledge cutoff
Sep 2021

Providers

This model is hosted by one provider. OpenRouter forwards every request without routing.

Pricing

The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.

Weighted average

Input
$30/M tokens
Output
$60/M tokens
Price history
No effective price data for this selection

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).

Throughput
104tok/s

P50, best across providers

Latency
0.75s

P50, best provider

Uptime

Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.

Uptime (3d)The model was reachable. Request routed to a provider.
100.00%
Availability (3d)The model returned inference from any provider. Errors and empty responses count against it.
99.98%

Availability over the last 3 days

Last 72 hours
Availability 99.98%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
100.00%

When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and provider routing options.

Benchmarks

Scores on standardized evaluations and this model’s own outputs on shared benchmark prompts. Higher percentages are better — and each rank shows where this model lands among the models evaluated on that source.

Benchmark score summary for OpenAI: GPT-4 (Artificial Analysis)
SourceBenchmarkScore
Artificial AnalysisGPT-4 Coding Index13.1
Artificial AnalysisGPT-4 GPQA Diamond34.9%
Artificial AnalysisGPT-4 IFBench33.2%
Artificial AnalysisGPT-4 GDPval-AA0.0%
Artificial AnalysisGPT-4 MMLU-Pro56.2%
Artificial AnalysisGPT-4 MATH-50056.8%

Apps

Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.

1.
3.9Mtokens
2.
Favicon for https://openrouter.ai/images/apps/cline.png
Cline
2.36Mtokens
3.
Favicon for https://openwebui.com/
Open WebUI
1.74Mtokens
4.
Favicon for https://sillytavern.app/
SillyTavern
1.09Mtokens
5.
888Ktokens
Rest of OpenRouter
3.01M
Top 5 Apps
35K

Activity

Token volume and request traffic to this model over time.

API

Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.

Not currently available through EU in-region routing. In-region routing docs

Frequently asked questions

Explore more models