AiCostCompare

GPT-4

by OpenAI · openai/gpt-4 · #453 cheapest of 457 paid models

Prices updated Nov 18, 2026, 4:47 PM UTC · refreshed nightly

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 vs:Claude Sonnet 5Claude Opus 4.6Claude Haiku 4.5Gemini 3.6 Flash

Pricing

Input

$30.00

per 1M tokens

Output

$60.00

per 1M tokens

Blended (3:1)

$37.50

3 input : 1 output

Cache read

—

per 1M cached tokens

Cache write

—

per 1M tokens

Cache & batch economics

Effective prices for GPT-4 (no cache-read rate published — hits billed as normal input).

Cache hit rateEffective blended $/1MExample request*vs no cache
0%$37.50$3.12—
50%$37.50$3.12−0%
90%$37.50$3.12−0%

*Example: 100K sticky context + 2K new input + 1K output. Batch discount is an approximate 50% off list rates for this provider’s batch API. Confirm on the vendor’s pricing page.

What a request costs

WorkloadInput tokensOutput tokensCost / requestCost / 1K requests
Short chat message500300$0.033$33.00
Document summary8,0001,000$0.3$300.00
Codebase question (RAG)30,0002,000$1.02$1,020
Long-context analysis150,0005,000$4.80$4,800

Performance

Intelligence Index

—

AA composite quality

Coding Index

13.1

Math Index

—

Agentic Index

—

Output speed

—

median

Time to first token

—

median

Time to first answer

—

after reasoning tokens

Specs

Context window

8K

tokens

Max output

4K

tokens

Input modalities

text

Tokenizer

GPT