OpenAI · language model
GPT-4: pricing, context and benchmarks
GPT-4 is a language model from OpenAI released on May 28, 2023. It costs $30 per million input tokens and $60 per million output tokens, with a 8.2K-token context window. No independent score has been published for it so far.
| Price | 0/30 | |
|---|---|---|
| Context | 0/15 | |
| Features | 8/15 |
What you need to know about GPT-4
GPT-4 was released by OpenAI (United States) on May 28, 2023. It accepts text as input and produces text. Its context window reaches 8,191 tokens, larger than 1 % of the models in the registry, and it can write up to 4,096 tokens in one go.
Released more than 3 years ago, it belongs to a generation most vendors have since superseded.
GPT-4 pricing
On OpenRouter, GPT-4 costs $30 per million input tokens and $60 per million output tokens. Counting three tokens read for every token written, its average price is $37.5 per million, more expensive than 99 % of paid models (49.2 times the median of $0.76).
A concrete example: a task that sends 2,000 tokens (about 1,500 words) and receives a 500-token answer costs $0.09. At 1,000 tasks a day, budget $2,700 a month. The price calculator redoes this with your own volumes.
Performance and benchmarks
Epoch AI does not yet publish a capabilities index for GPT-4. We therefore show no made-up performance rating: only price, context and features count towards its score.
Scores published by Epoch AI on the benchmarks the site tracks:
| Benchmark | What it measures | Score | Date |
|---|---|---|---|
| GPQA Diamond | PhD-level science questions | 35.7 % | Mar 14, 2023 |
| OTIS Mock AIME | maths competition problems | 0.6 % | Mar 14, 2023 |
Features, privacy and local use
- It supports tool calling, so it can drive an AI agent, call APIs or MCP servers.
- It can answer in an enforced JSON format (structured outputs).
- Its knowledge stops at September 2021.
Its weights are not published: it can only be used through the OpenAI API or a broker such as OpenRouter, which means sending your data off your machines.
Other OpenAI models
| Model | Released | Avg. price | ECI |
|---|---|---|---|
| GPT-6.1 Sol | Sep 29, 2026 | $4 | 168.4 |
| GPT-6.1 Sol Pro | Sep 29, 2026 | $4 | — |
| GPT-6 Sol | Sep 22, 2026 | $4 | 163.7 |
| GPT-6 Luna | Sep 22, 2026 | $0.2 | 156.8 |
| GPT-6 Luna Pro | Sep 22, 2026 | $0.2 | — |
| GPT-6 Sol Pro | Sep 22, 2026 | $4 | — |
| GPT-6 Astra | Sep 4, 2026 | $20 | 168.8 |
| GPT-6 Astra Pro | Sep 4, 2026 | $20 | — |
Verdict
GPT-4 scores 13/100 on our grid, which only uses published figures.
Strengths
- Agent-ready: tool calling and structured JSON output.
Limitations
- Expensive: costlier than 99 % of paid models.
- Short context (8.2K tokens): long documents must be split.
- No independent score published: performance cannot be verified.
- Older generation, often replaced by a newer model from the same vendor.
- Text only: reads neither images nor files.
Avoid if…
- you process large volumes on a tight budget;
- your data must not leave your servers;
- you analyse long documents in one go.
Alternatives
Comparisons and tools
Learn more
Frequently asked questions
How much does GPT-4 cost?
$30 per million input tokens and $60 per million output tokens on OpenRouter (checked October 25, 2026). A task with 2,000 tokens read and 500 written costs $0.09.
How big is GPT-4's context window?
8,191 tokens, roughly 6,000 words, with a maximum of 4,096 output tokens.
Can GPT-4 run locally?
No, OpenAI does not publish its weights: it is API-only.
Is GPT-4 suitable for an AI agent?
Technically yes: it supports tool calling and structured outputs. Then check its cost for your volume.
What are the alternatives to GPT-4?
The closest models on price and performance are Nano Banana Pro (Gemini 3 Pro Image Preview), Claude Opus 4.1, and Claude Opus 4.5.
Related articles
- Mistral AI: models, pricing and agentsOctober 25, 2026
- LLM benchmarks: how to read model rankingsOctober 24, 2026
- Running a local LLM: hardware, software, and limitationsOctober 24, 2026
- Open-source or closed models for your AI agents?October 5, 2026
Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score