GPT-4

retired Retired

GPT-4 is a retired OpenAI LLM API model. and shut down on Jun 6, 2025. Migrate any code that still calls gpt-4 to openai/gpt-4o.

Recommended action: migrate to openai/gpt-4o.

Lifecycle & specs

Provider
OpenAI
API model ID
gpt-4
Status
retired
Released
Mar 14, 2023
Deprecated
Jun 6, 2024
Retirement date
Jun 6, 2025
Replacement
openai/gpt-4o
Context window
8,192 tokens
Input price
$30.00 / 1M tokens
Output price
$60.00 / 1M tokens
Knowledge cutoff
2021-09-30
Pricing checked
May 22, 2026

Source: official OpenAI documentation ↗ · ✓ verified