OpenAI

OGPT-4API

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

Context window
8K
tokens
Input price
$30
per M tokens
Output price
$60
per M tokens
Provider
OpenAI

Prices update automatically — checked hourly 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.

Intelligence index7
Coding index13.1
💰 Blended price$37.5 / 1M tokens
📈 Value0.2 intelligence points per $
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 hourly 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. It scores 7 on the Artificial Analysis intelligence index.

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 . It is particularly used for code generation.

Related models

o1-proOpenAIGPT-5.5 ProOpenAIGPT-5.4 ProOpenAIGPT-5.2 ProOpenAIGPT-5 ProOpenAIo3 ProOpenAI