OpenAI · all models ›

OGPT-4API

GPT-4 (OpenAI): live API pricing, context window and the best open-source alternatives, tracked daily by olud.ai.

8KContext window · tokens
$30Input price · per M tokens
$60Output price · per M tokens
OpenAIProvider

Prices update automatically — checked daily against provider list prices.

See open-source alternatives → Compare all model prices

Benchmarks & performance

Independent benchmark scores for GPT-4, measured by Artificial Analysis. Higher is better.

Coding index13.1
GPQA34.9%
MMLU-Pro56.2%
MATH-50056.8%
IFBench33.2%
Benchmark data by Artificial Analysis

About this model

GPT-4 is a commercial AI model by OpenAI. The specifications below are tracked automatically: pricing is refreshed daily from public list prices, so the numbers on this page reflect the current cost of using the model through its API.

Frequently asked questions

What is GPT-4?

GPT-4 is an AI language model from OpenAI. It is a proprietary model, available through an API.

Is GPT-4 free?

GPT-4 is not free: it costs $30 per million input tokens and $60 per million output tokens. Open-weight alternatives can be self-hosted at no per-token cost.

What is GPT-4 good at?

Independent benchmarks from Artificial Analysis give it GPQA 34.9%, MMLU-Pro 56.2%, MATH-500 56.8%, IFBench 33.2%. It is particularly used for code generation.

Related models

o1-proOpenAIGPT-5.5 ProOpenAIGPT-5.4 ProOpenAIGPT-5.2 ProOpenAIGPT-5 ProOpenAIGPT-5.4 Pro (batch)OpenAI