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 18 Nov 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 18 Nov 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, 18 Nov 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 18 Nov 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.

Similar models from other labs

Comparable on output type, weights, release date, price and context window. Prices are the lowest listed, USD per million tokens.

ModelLabReleasedContextInput $/1MOutput $/1MWeights
Qwen Plus Character (Japanese)Alibaba (Qwen)Jan 20248K$0.50$1.40Closed
Qwen MaxAlibaba (Qwen)3 Apr 202433K$1.60$6.40Closed
Text Multilingual Embedding 002Google DeepMind14 May 20242K––Closed
Weaver (alpha)Mancer2 Aug 20238K$0.30$0.50Closed
Cohere Rerank 3.5Cohere2 Dec 20244K––Closed
Codestral EmbedMistral AI28 May 20258K––Closed

Change history

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

Sources