GPT-4
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
| Developer | OpenAI |
|---|---|
| Release date | 6 Nov 2023 [models.dev] |
| Status | Deprecated [models.dev] |
| Weights | Proprietary (API only) [models.dev] |
| Context window | 8K (8,192 tokens) [models.dev] |
| Max output | 8K tokens [models.dev] |
| Knowledge cutoff | Nov 2023 [models.dev] |
| Input | Text [models.dev] |
| Output | Text [models.dev] |
| Reasoning mode | No [models.dev] |
| Tool calling | Yes [models.dev] |
| Structured output | No [models.dev] |
GPT-4 API pricing by provider
USD per million tokens. Sorted by input price.
| Provider | Input | Output | Cached input | Context | Source |
|---|---|---|---|---|---|
| OpenRouter openai/gpt-4 | $30 | $60 | – | 8K | OpenRouter, 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.
| Model | Lab | Released | Context | Input $/1M | Output $/1M | Weights |
|---|---|---|---|---|---|---|
| Qwen Plus Character (Japanese) | Alibaba (Qwen) | Jan 2024 | 8K | $0.50 | $1.40 | Closed |
| Qwen Max | Alibaba (Qwen) | 3 Apr 2024 | 33K | $1.60 | $6.40 | Closed |
| Text Multilingual Embedding 002 | Google DeepMind | 14 May 2024 | 2K | – | – | Closed |
| Weaver (alpha) | Mancer | 2 Aug 2023 | 8K | $0.30 | $0.50 | Closed |
| Cohere Rerank 3.5 | Cohere | 2 Dec 2024 | 4K | – | – | Closed |
| Codestral Embed | Mistral AI | 28 May 2025 | 8K | – | – | Closed |
Change history
No changes detected since we started tracking this model. We re-check every source daily.