$T TokenCostDB
Verified: 2026-11-30 Direct Official Pricing Provider: OpenAI

OpenAI: GPT-4 API Pricing & Monthly Cost Calculator

OpenAI: GPT-4 by OpenAI is priced at $30.00 per 1M input tokens and $60.00 per 1M output tokens with a 8.2K context window.

Deprecation Notice: Scheduled deprecation date 2026-10-23 · Recommended successor: gpt-5.6-sol.
Standard Input / 1M
$30.00
Standard Output / 1M
$60.00
Cache Read / Write
— / —
Context / Max Output
8.2K / 4.1K

Direct Official vs. OpenRouter Gateway

Comparing direct vendor pricing against multi-provider OpenRouter routing for openai/gpt-4.

Channel Input / 1M Output / 1M Cache Read
Direct Official $30.00 $60.00 —
OpenRouter Gateway $30.00 $60.00 —
Gateway vs direct output spread: 0% Primary Pricing Source →

1M to 1B Token Cost Tiers

Reference monthly spend assuming a standard 75% input / 25% output workload mix.

Monthly Volume Standard 75% Cached Batch API
1M tokens $37.50 — —
10M tokens $375.00 — —
100M tokens $3,750 — —
1B tokens $37,500 — —

Interactive OpenAI: GPT-4 Bill Estimator

Adjust request volume, tokens, and prompt cache hit ratio.

Estimated Monthly Total
$10,080
Cache Hit %0%
Input: $7,200Cache Read: $0.0000Output: $2,880Per 1K reqs: $168.00

Closest Price-Tier Alternatives

Model Input / 1M Output / 1M Context
OpenAI: o3 Pro $20.00 $80.00 200K
OpenAI: GPT-6 Astra $10.00 $50.00 1.05M
Anthropic: Claude Fable 5.1 $10.00 $50.00 1M
Anthropic: Claude Fable 5 $10.00 $50.00 1M
OpenAI: GPT-6 Astra Pro $10.00 $50.00 1.05M
OpenAI: GPT-6.2 Astra $8.00 $40.00 1.05M

Optimize Inference & Self-Hosting

Compare OpenAI: GPT-4 against flagship models from OpenAI, Anthropic, Google, and DeepSeek in our interactive comparison matrix, or benchmark self-hosted GPU break-even thresholds.

Model Specifications & FAQs

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...

How much does OpenAI: GPT-4 API cost per 1M tokens?

OpenAI: GPT-4 costs $30.00 per 1M input tokens and $60.00 per 1M output tokens (official direct provider rate), verified on 2026-11-30.

Does OpenAI: GPT-4 support prompt caching or batch discounts?

Prompt caching pricing is not currently exposed for this model. Batch API pricing is not listed for this endpoint.

What is the context window and max output for OpenAI: GPT-4?

OpenAI: GPT-4 supports a 8,191-token context window and up to 4,096 output tokens per completion.