LLMCost
openai

OpenAI: GPT-4 API Pricing

OpenAI: GPT-4 costs $30.00 per 1M input tokens and $60.00 per 1M output tokens. Context window: 8K. Prices verified 2026-10-21 · source

🔔 Price alerts coming soon

Alternatives to consider

💰 Save money
inclusionAI: Ling 3.0 Flash
$0.021 in / $0.063 out
Quality score: 20.1

100% cheaper with nearly identical quality (20.1 vs 6.7)

🏠 Same provider
OpenAI: gpt-oss-20b
$0.018 in / $0.090 out
Quality score: 10

Cheapest openai model — 100% less per month

Price history
2026-08-23 → 2026-10-21 · 59 daily snapshots
inputoutput

Rebuilt daily from our snapshot archive — the chart appears once a model has 5+ snapshots of history.

Pricing behavior
Stable — no price moves across our 59 daily snapshots (2026-08-23 → 2026-10-21).

From our own daily snapshot archive — independent of provider announcements.

Intelligence & capability
via Artificial Analysis
6.7
Intelligence index · top 94% of 288 scored
13.1
Coding index
$37.5
Blended $/1M (3:1 in:out)

Intelligence measures reasoning/knowledge/coding benchmarks. A high score with a low blended price = value pick; check the value chart to see where this model lands.

Input / 1M tokens
$30.00
Output / 1M tokens
$60.00
Context window
8K
Max output
4K
Knowledge cutoff
2021-09-30

Training data ends here — newer events require retrieval or web search.

What would OpenAI: GPT-4 cost you per month?

WorkloadRequests/moAvg tokens (in/out)Est. monthly cost
Light chatbot10,000800 / 400$480.00
Coding agent5,0008,000 / 2,000$1800.00
RAG pipeline30,0004,000 / 500$4500.00
Doc summarizer2,00020,000 / 1,000$1320.00

Estimates use list prices without prompt caching. Caching can cut input cost by up to 90% on repeated context.

About OpenAI: GPT-4

OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning...

Compare OpenAI: GPT-4 with

Popular head-to-heads — see all on the comparisons index.

Frequently asked questions

How much does OpenAI: GPT-4 cost?

OpenAI: GPT-4 costs $30.00 per 1M input tokens and $60.00 per 1M output tokens. Verified 2026-10-21 — provider source.

What is the context window?

8K tokens, with up to 4K output tokens per response. That's roughly 10 pages of text in a single request.

Does it support prompt caching?

Prompt-caching pricing is not published for this model via OpenRouter.

What's a cheaper alternative?

ScaleDown: Summarize saves about 99% on a typical workload with comparable quality.

Official resources