RunsOnMy ModelsGPUs & MacsBy VRAMAPI pricesVRAM calculatorNew

OpenAI: GPT-4 API pricing

$30.00 per 1M input tokens and $60.00 per 1M output tokens on OpenRouter. Context window: 8,191 tokens.

$30.00input / 1M tokens
$60.00output / 1M tokens
8Kcontext
text->textmodality

What it costs in practice

WorkloadCost
Chatbot: 10,000 messages (1,500 in / 400 out tokens each)$690.00
RAG: 1,000 queries (8,000 in / 600 out each)$276.00
Summarize 100 long documents (50,000 in / 1,000 out each)$156.00

Cross-check against the provider's list price

LiteLLM's price map lists gpt-4 (openai) at $30.00 in / $60.00 out per 1M tokens. Matches OpenRouter

Price history

No price change recorded since we started tracking on Nov 17, 2026. We check every 6 hours and log every change.

Cheaper alternatives with similar context

Text models with at least 8K context and a lower blended price (75% input, 25% output). Price only, not a quality ranking.

ModelInput / 1MOutput / 1MContext
OpenAI: o3 Pro$20.00$80.00195K
OpenAI: GPT-5.5 Pro (batch)$15.00$90.001.0013580322265625M
OpenAI: GPT-5.4 Pro (batch)$15.00$90.001.0013580322265625M
Anthropic: Claude Opus 4.1$15.00$75.00195K
OpenAI: GPT-5.2 Pro (batch)$10.50$84.00391K
OpenAI: GPT-5 Pro (batch)$7.50$60.00391K
OpenAI: GPT Astra Latest$10.00$50.001.0013580322265625M
OpenAI: GPT-6 Astra$10.00$50.001.0013580322265625M

Source: OpenRouter listing via the public models API · LiteLLM price map (MIT). Prices checked Nov 17, 2026. Model ID openai/gpt-4, listed May 28, 2023. Report an error.