OpenAI

GPT-4

DeprecatedProprietary8K context

Summary

GPT-4 is a proprietary language model from OpenAI, released on 6 Nov 2023. It accepts text and generates text, with a 8K-token context window and up to 8K output tokens per response. As of 4 Oct 2026, the lowest listed API price is $30 per million input tokens and $60 per million output tokens (OpenRouter), across 1 provider we track. OpenAI has deprecated this model.

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

Last verified 4 Oct 2026. Every figure on this page links to its source.

Specifications

DeveloperOpenAI
Release date6 Nov 2023 [models.dev]
StatusDeprecated [models.dev]
WeightsProprietary (API only) [models.dev]
Context window8K (8,192 tokens) [models.dev]
Max output8K tokens [models.dev]
Knowledge cutoffNov 2023 [models.dev]
InputText [models.dev]
OutputText [models.dev]
Reasoning modeNo [models.dev]
Tool callingYes [models.dev]
Structured outputNo [models.dev]

GPT-4 API pricing by provider

USD per million tokens. Sorted by input price.

ProviderInputOutputCached inputContextSource
OpenRouter
openai/gpt-4
$30$60–8KOpenRouter, 4 Oct 2026

Frequently asked questions

What is the context window of GPT-4?

GPT-4 has a context window of 8,192 tokens (8K) and can generate up to 8,192 tokens in a single response, according to models.dev.

How much does the GPT-4 API cost?

GPT-4 is listed from $30 per million input tokens and $60 per million output tokens (OpenRouter). Prices last verified 4 Oct 2026.

Is GPT-4 open source?

No. GPT-4 is a proprietary model; OpenAI has not released its weights. It is available through APIs including OpenRouter.

When was GPT-4 released?

OpenAI released GPT-4 on 6 Nov 2023, according to models.dev.

Change history

No changes detected since we started tracking this model. We re-check every source daily.

Sources