OpenAI

GPT 4

Type
language model
Context
8K tokens
Max output
8K
Released
6 November 2023
API string
gpt-4

Prices by provider

Provider Input, $ per 1M Output, $ per 1M In our data since
Cloudflare AI Gateway $30 $60 31 Jul 2026
Kilo Code $30 $60 31 Jul 2026
LLM Gateway $30 $60 31 Jul 2026
Merge Gateway $30 $60 31 Jul 2026
Microsoft Foundry $30 $60 31 Jul 2026
OpenAI $30 $60 31 Jul 2026
OpenRouter $30 $60 31 Jul 2026
OrcaRouter $30 $60 31 Jul 2026

Only the base tier and only per-token prices are shown. Batch, discounted and cached rates, as well as prices per image or per second of video, do not go into this table: they cannot stand in the same column as a price per million tokens.

The date in the last column is the day this price first entered our collection. The price may well be older: before that day we simply were not recording it. It has not changed since — otherwise a new row with a new date would stand in its place.