English
EnglishDeutschEspañolالعربية日本語

GPT-4 — API Pricing, Context Window & Specifications

GPT-4 by OpenAI: $30.00 per 1M input tokens, $60.00 per 1M output tokens, 8K token context window, monthly workload cost estimates and rival LLM comparisons.

$30.00Input / 1M
$60.00Output / 1M
8KContext
4KMax Output
OpenAIProvider
text->textModality

GPT-4 token cost by volume

Token volumeInput costOutput cost
10K tokens$0.30$0.60
100K tokens$3.00$6.00
1M tokens$30.00$60.00
10M tokens$300.00$600.00
100M tokens$3,000.00$6,000.00
Workload scenario (30 days)Est. monthly bill
Customer chatbot (1,000 chats/day · 1.5K in + 500 out)$2,250.00
Enterprise RAG search (5,000 queries/day · 4K in + 600 out)$23,400.00
Coding / agentic workflow (500 runs/day · 12K in + 2K out)$7,200.00

More models from OpenAI

Frequently asked questions

How much does the GPT-4 API cost per million tokens?

GPT-4 (OpenAI) is priced at $30.00 per 1 million input tokens and $60.00 per 1 million output tokens.

What is GPT-4's maximum context window and output limit?

GPT-4 supports a context window of 8,191 tokens with up to 4,096 maximum completion tokens (text->text).