OpenAI

GPT-4 — Benchmark Scores, Pricing & Performance Analysis

FLAGSHIPOpenAI
Input Cost
$30.0/1M
Output Cost
$60.0/1M
Context Window
8K
Max Output
8K
Knowledge Cutoff
Nov 2023
Accepts
text

GPT-4 is an AI model by OpenAI. View detailed benchmark scores, pricing data, and performance metrics on Serenities AI Models.

Specifications last checked against the provider on . Benchmark scores carry their own source, linked beside each number.

Coding Benchmarks

AA Coding Index
13.186th of 96

Artificial Analysis composite coding score

Artificial Analysis (via OpenRouter)

Cost Benchmarks

Input Cost
$30.0409th of 413

Cost per 1M input tokens

OpenRouter API
Output Cost
$60.0401st of 413

Cost per 1M output tokens

OpenRouter API

Context Benchmarks

Context Length
8K413th of 451

Maximum context window size

OpenRouter API

Available from 8 providers

The same model costs different amounts depending on who serves it. You can bring your own key for 2 of these — connect it here.

ProviderInput / 1MOutput / 1MCached inContextYour key
DevPass (LLM Gateway)$30$608K
Eden AI$30$608K
Kilo Gateway$30$608K
LLM Gateway$30$608K
Merge Gateway$30$608K
OpenAI$30$608KSupported
OpenRouter$30$608KSupported
OrcaRouter$30$608K

GPT-4 — Frequently Asked Questions

How much does GPT-4 cost?

GPT-4 costs $30.0 per 1M input tokens and $60.0 per 1M output tokens. This places it in the premium pricing tier.

What is the context window of GPT-4?

GPT-4 has a context window of 8K tokens. This determines how much text, conversation history, and code the model can process in a single request.

Who created GPT-4?

GPT-4 was created by OpenAI. It is classified as a flagship model in our catalogue.

Is GPT-4 open source?

No, GPT-4 is a proprietary model. It is available through OpenAI's API and compatible providers.