Deprecations / Migrate

Migrate off GPT-4

Deprecated

GPT-4 is deprecated and shuts down on 23 Oct 2026. OpenAI's official replacement is GPT-5.6 Sol. The cheapest comparable model we track is Llama 3.1 8B Instruct (Meta) at $0.022 per 1M tokens blended.

Last verified: 26 Sep 2026 · sourced from official provider documentation

StatusDeprecatedOpenAI
Shutdown date23 Oct 2026deprecated 22 Apr 2026
Official replacementGPT-5.6 Sol$8 /M blendedCheapest alternativeLlama 3.1 8B Instruct$0.022 /M blended
What changes

GPT-4 → GPT-5.6 Sol

Moving to GPT-5.6 Sol means 4.7× cheaper ($37.50 → $8 /1M blended) and a larger context window (8K → 1.1M).

SpecGPT-4GPT-5.6 Sol
StatusDeprecatedGA
Blended price /1M$37.50$8
Input / output /1M$30 / $60$4 / $20
Context window8K1.1M
Max output8192128.000
Modalitytexttext, image
Knowledge cutoff1 Dec 202316 Feb 2026

API string was gpt-4-0613 → switch to gpt-5.6-sol. See GPT-5.6 Sol's full spec sheet →

Cheapest alternatives

Budget-friendly replacements for GPT-4

Generally-available models that match GPT-4's capabilities (and at least half its 8K context), ranked by blended price. Every number is computed from official catalog prices.

ModelBlended /1MInput / outputContext
Llama 3.1 8B Instruct
Meta
$0.022$0.02 / $0.03128K
Amazon Nova Micro
Amazon
$0.061$0.035 / $0.14128K
Command R7B
Cohere
$0.066$0.037 / $0.15128K
FAQ

Migrating off GPT-4

What replaces GPT-4?

OpenAI's recommended migration for GPT-4 is GPT-5.6 Sol. The cheapest comparable model in our catalog is Llama 3.1 8B Instruct (Meta) at $0.022/1M blended.

When is GPT-4 shut down?

GPT-4 is deprecated and scheduled to shut down on 23 Oct 2026 (deprecated 22 Apr 2026). Migrate before that date to avoid a 404.

What is the cheapest alternative to GPT-4?

Llama 3.1 8B Instruct (Meta) is the cheapest generally-available alternative we track that matches GPT-4's capabilities, at $0.02 per 1M input and $0.03 per 1M output tokens ($0.022/1M blended).

Browse the full deprecation watch → or see GPT-4's full spec sheet →