Alternatives

OpenAI: GPT-4 alternatives

Ranked by capability overlap, similar context window, and similar price tier. Cross-vendor options are weighted higher than same-provider alternatives.

See also: OpenAI: GPT-4 model details · GPT-4 family · OpenAI provider page

Top 15 alternatives

#ModelProviderWhyContextInput price / 1MCompare
1meta-llama/Llama-3.1-8B-InstructMetashares tool-use, structured-output · similar context window16K
Short/standard context
$0.02
Budget
vs →
2Meta: Llama 3 8B InstructMetashares tool-use, structured-output · similar context window8K
Short/standard context
$0.03
Budget
vs →
3OpenAI: GPT-4 (older v0314)OpenAIshares tool-use, structured-output · similar price tier8K
Short/standard context
$30.00
Premium
vs →
4Reka EdgeRekashares tool-use, structured-output · similar context window16K
Short/standard context
$0.10
Budget
vs →
5Anthropic: Claude Haiku 4.5Anthropicshares tool-use, structured-output · different provider200K
Long context (128K+)
$1.00
Standard
vs →
6Anthropic: Claude Opus 4.1Anthropicshares tool-use, structured-output · different provider200K
Long context (128K+)
$15.00
Premium
vs →
7Anthropic: Claude Opus 4.5Anthropicshares tool-use, structured-output · different provider200K
Long context (128K+)
$5.00
Standard
vs →
8Anthropic: Claude Opus 4.6Anthropicshares tool-use, structured-output · different provider1M
Ultra context (1M+)
$5.00
Standard
vs →
9Anthropic: Claude Sonnet 4.5Anthropicshares tool-use, structured-output · different provider1M
Ultra context (1M+)
$3.00
Standard
vs →
10Anthropic: Claude Sonnet 4.6Anthropicshares tool-use, structured-output · different provider1M
Ultra context (1M+)
$3.00
Standard
vs →
11Cohere: Command R (08-2024)Cohereshares tool-use, structured-output · different provider128K
Long context (128K+)
$0.15
Budget
vs →
12Cohere: Command R+ (08-2024)Cohereshares tool-use, structured-output · different provider128K
Long context (128K+)
$2.50
Standard
vs →
13DeepSeek Chat (legacy id)DeepSeekshares tool-use, structured-output · different provider164K
Long context (128K+)
$0.32
Budget
vs →
14DeepSeek: DeepSeek V3 0324DeepSeekshares tool-use, structured-output · different provider164K
Long context (128K+)
$0.20
Budget
vs →
15DeepSeek: DeepSeek V3.1DeepSeekshares tool-use, structured-output · different provider33K
Short/standard context
$0.15
Budget
vs →

Cheaper alternatives to OpenAI: GPT-4

Larger-context alternatives