GPT-4 API Pricing

OpenAI has deprecated this model. The price is kept here for reference; check the provider's documentation before building on it.

OpenAI · released Nov 6, 2023 · 8.2K context · API model ID gpt-4

GPT-4 by OpenAI API pricing: $30.00 per 1M input tokens and $60.00 per 1M output tokens (provider list price via models.dev, Oct 10, 2026).

Prices

GPT-4 prices, USD per 1M tokens
PriceUSD per 1M tokens
Input$30.00
Output$60.00
Cache readNot published
Cache writeNot published

OpenAI's list price for its own API, as compiled by models.dev and checked Oct 10, 2026, 09:00 UTC. Prices on cloud platforms and resellers can differ. Provider documentation

Estimated monthly cost

$18,000

per month

per day
$600.00
per request
$0.06

Cost = input tokens × input price + output tokens × output price, 30 days a month. Cached input uses the cache read price. Cache write fees are not included.

Compare this workload across models

Monthly cost by workload

WorkloadPer month
Chatbot1,000 in / 500 out tokens, 10,000 requests a day$18,000/mo
RAG8,000 in / 500 out tokens, 5,000 requests a day$40,500/mo
Coding agent50,000 in / 2,000 out tokens, 1,000 requests a day, 80% cached input$48,600/mo

Context and capabilities

Context
8,192 tokens
Max output
8,192 tokens
Input
text
Output
text
Knowledge cutoff
November 2023
Open weights
No
Tool calling
Yes
Reasoning
No
Structured outputs
No

Capabilities and limits as listed by models.dev.

Similarly priced models

Price history

No price changes since we started tracking on Oct 8, 2026.

Questions

How much does GPT-4 cost per month?
For a chatbot handling 10,000 requests a day with 1,000 input and 500 output tokens each, GPT-4 costs about $18,000 per month at OpenAI's list prices ($30.00 per 1M input tokens, $60.00 per 1M output tokens).
Does GPT-4 support prompt caching?
No cache read price is published for GPT-4.
How long is GPT-4's context window?
GPT-4 accepts up to 8,192 tokens (8.2K) of context and returns up to 8,192 tokens per response.