Alternatives · 15 models compared · checked 17 Aug 2026

Phi 4 alternatives: 15 models in or near grid B1

The closest model to Phi 4 on the atlas is Llama 3.2 1B Instruct, in a neighbouring square, at $0.03 per 1M input tokens against Phi 4’s
$0.07
observed We measured
Source
Our catalogue
Retrieved
17 Aug 2026
. 10 of the 15 nearest models are cheaper on input; the cheapest is gpt-oss-20b at $0.02. We rank by position on the atlas, not by capability, because we hold no capability data.
Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Phi 4 alternatives: 15 models in or near grid B1”. Retrieved 17 Aug 2026. https://modelsatlas.com/models/microsoft/phi-4/alternatives

Where the alternatives sit

Each square is a price band (A–H) × a context band (1–6). How the grid works

Same squareGRIDB1No other modelPhi 4 is alone in B1.
Neighbouring squaresGRIDB23 modelsCommand R7B (12-2024), Llama 3.2 1B Instruct and Mistral Small 3
Two steps awayGRIDB3GRIDC2GRIDD120 modelsCommand R (08-2024), Gemma 2 27B, Gemma 3 12B and 17 more
AFreeB<$0.10C$0.10–0.30D$0.30–1E$1–3F$3–10G$10–30H$30+1<32K232–128K3128–256K4256K–1M51M6>1MINPUT PRICE PER 1M TOKENS →CONTEXT WINDOW ↑ · position within a square follows the real valueClaude Fable 5 · G5Claude Fable 5.1 · G5Claude Haiku 4.5 · E3Claude Haiku 5.5 · C5Claude Opus 4 · G3Claude Opus 4.1 · G3Claude Opus 4.5 · F3Claude Opus 4.6 · F5Claude Opus 4.7 · F5Claude Opus 4.8 · F5Claude Opus 5 · F5Claude Opus 5.5 · F5Claude Sonnet 4 · F3Claude Sonnet 4.5 · F5Claude Sonnet 4.6 · F5Claude Sonnet 5 · E5Claude Sonnet 5.5 · E5Codestral 2508 · D3Command A · E3Command A+ · D3Command R (08-2024) · C2Command R+ (08-2024) · E2Command R7B (12-2024) · B2DeepSeek V3 · D3DeepSeek V3 0324 · C3DeepSeek V3.1 · C3DeepSeek V3.1 Terminus · C3DeepSeek V3.2 · C3DeepSeek V4 Flash 0731 · B5DeepSeek V4 Flash Vision Exp · C5DeepSeek V4.1 Flash · D5Devstral 2 2512 · D4Gemini 2.5 Flash · D5Gemini 2.5 Pro Preview 06-05 · E5Gemini 3 Flash Preview · D5Gemini 3.1 Flash Lite · C5Gemini 3.1 Flash Lite Preview · C5Gemini 3.1 Pro Preview · E5Gemini 3.1 Pro Preview Custom Tools · E5Gemini 3.5 Flash · E5Gemini 3.5 Flash Lite · D5Gemini 3.6 Flash · D5Gemini 3.7 Flash · D5Gemini 3.8 Flash · D5Gemma 2 27B · D1Gemma 3 12B · B3Gemma 3 12BGemma 3 27B · B3Gemma 3 4B · B3Gemma 4 26B A4B · B4Gemma 4 31B · B4GPT Audio · E2GPT Chat Latest · F4GPT-3.5 Turbo · D1GPT-3.5 Turbo 16k · F1GPT-3.5 Turbo Instruct · E1GPT-4 · H1GPT-4 Turbo · G2GPT-4.1 · E5GPT-4o · E2GPT-5 · E4GPT-5 Image · G4GPT-5.1 · E4GPT-5.1-Codex · E4GPT-5.2 · E4GPT-5.2 Chat · E2GPT-5.2-Codex · E4GPT-5.3-Codex · E4GPT-5.4 · E6GPT-5.4 Image 2 · F4GPT-5.5 · F6GPT-5.6 Luna · C6GPT-5.6 Sol · E6GPT-5.6 Terra · E6GPT-6 Astra · G6GPT-6 Luna · C6GPT-6 Sol · E6GPT-6.1 Sol · E6gpt-oss-120b · B3gpt-oss-20b · B3gpt-oss-safeguard-20b · B3Grok 4.20 · E6Grok 4.20 Multi-Agent · E6Grok 4.3 · E5Grok 4.5 · E4Grok 4.6 · E4Grok 4.7 · E4Grok Build 0.1 · E3Llama 3.1 70B Instruct · D3Llama 3.1 8B Instruct · B3Llama 3.2 1B Instruct · B2Llama 3.2 1B InstructLlama 3.2 3B Instruct · B3Llama 3.3 70B Instruct · C3Llama 4 Maverick · C5Llama 4 Scout · C6Llama Guard 4 12B · C3Lyria 3 Clip Preview · A5Lyria 3 Pro Preview · A5MiniMax M1 · D5MiniMax M2 · D3MiniMax M2-her · D2MiniMax M2.1 · D3MiniMax M2.5 · C3MiniMax M2.7 · C3MiniMax M3 · D5MiniMax-01 · C5Ministral 3 14B 2512 · C4Ministral 3 3B 2512 · C3Ministral 3 8B 2512 · C4Mistral Large 3 2512 · E4Mistral Large 4 · D5Mistral Medium 3 · D3Mistral Medium 3.1 · D3Mistral Medium 3.5 · E4Mistral Nemo · B3Mistral Small 3 · B2Mistral Small 3.1 24B · D2Mistral Small 3.2 24B · B3Mistral Small 4 · C4Mixtral 8x22B Instruct · E2Muse Glimmer 30B · D3Muse Spark 1.1 · E5Muse Spark 1.2 · E5Muse Spark 1.2 Contributor · C5Muse Spark 1.3 · E5Muse Spark 1.3 Contributor · C5Nano Banana (Gemini 2.5 Flash Image) · D2Nano Banana 2 (Gemini 3.1 Flash Image) · D3Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image) · C2Nano Banana 2.1 · E2Nano Banana Pro (Gemini 3 Pro Image) · E3Nemotron 3 Nano 30B A3B · B4Nemotron 3 Super · B4Nemotron 3 Ultra (free) · D5Nemotron 3.5 Content Safety · C3Nemotron 3.5 Lightning (free) · B5o1 · G3o3 · E3o3 Mini High · E3o4 Mini · E3o4 Mini High · E3Qwen-Plus · C5Qwen2.5 72B Instruct · D2Qwen2.5 7B Instruct · C2Qwen2.5 Coder 32B Instruct · D2Qwen2.5 VL 72B Instruct · D2Qwen3 14B · C2Qwen3 235B A22B Instruct 2507 · B4Qwen3 30B A3B · C2Qwen3 30B A3B Instruct 2507 · C4Qwen3 32B · B3Qwen3 32BQwen3 Coder 30B A3B Instruct · B4Qwen3 Coder 480B A35B · D4Qwen3 Coder Next · C4Qwen3 Next 80B A3B Instruct · C4Qwen3 VL 235B A22B Instruct · C4Qwen3 VL 30B A3B Instruct · C4Qwen3 VL 8B Instruct · C4Qwen3.5 397B A17B · D4Qwen3.5 Plus 2026-04-20 · D5Qwen3.5-122B-A10B · C4Qwen3.5-27B · C4Qwen3.5-35B-A3B · B4Qwen3.5-9B · C4Qwen3.5-Flash · B5Qwen3.6 27B · D4Qwen3.6 35B A3B · C4Qwen3.6 Flash · C5Qwen3.6 Plus · D5Qwen3.7 Flash · B5Qwen3.7 Plus · D5Qwen3.8 2.4T A95B · E5Qwen3.8 27B · D5Qwen3.8 Flash · C5Qwen3.8 Max Prime · F5Qwen3.8 Omni Flash · C5R1 0528 · D3Saba · C2Voxtral Small 24B 2507 · C2WizardLM-2 8x22B · D2Phi 4Phi 4
Phi 4Its 15 nearest modelsOther modelsOpen weights
View the map as a table (4 squares)

Top 15 alternatives

Ranked by steps away on the atlas, then cheaper before pricier, then input price

#ModelGridWhy it fitsInput / 1Mvs Phi 4Output / 1MContext
—Phi 4Microsoft · the model you’re replacingGRIDB1Baseline$0.07—$0.1416K
1Llama 3.2 1B InstructMetaGRIDB2Neighbouring square B2, 61% cheaper input, 3.7× the context$0.03−61%$0.2060KCompare →
2Command R7B (12-2024)CohereGRIDB2Neighbouring square B2, 46% cheaper input, 7.8× the context$0.04−46%$0.15128KCompare →
3Mistral Small 3Mistral AIGRIDB2Neighbouring square B2, 29% cheaper input, 2× the context$0.05−29%$0.0833KCompare →
4gpt-oss-20bOpenAIGRIDB32 squares away (B3), 74% cheaper input, 8× the context$0.02−74%$0.09131K
5Mistral NemoMistral AIGRIDB32 squares away (B3), 59% cheaper input, 8× the context$0.03−59%$0.03131K
6gpt-oss-120bOpenAIGRIDB32 squares away (B3), 57% cheaper input, 8× the context$0.03−57%$0.15131K
7Gemma 3 12BGoogleGRIDB32 squares away (B3), 29% cheaper input, 8× the context$0.05−29%$0.15131K
8Gemma 3 4BGoogleGRIDB32 squares away (B3), 29% cheaper input, 8× the context$0.05−29%$0.10131K
9Llama 3.1 8B InstructMetaGRIDB32 squares away (B3), 29% cheaper input, 8× the context$0.05−29%$0.08131K
10Llama 3.2 3B InstructMetaGRIDB32 squares away (B3), 29% cheaper input, 8× the context$0.05−29%$0.33131K
11gpt-oss-safeguard-20bOpenAIGRIDB32 squares away (B3), 7% pricier input, 8× the context$0.08+7%$0.30131KCompare →
12Gemma 3 27BGoogleGRIDB32 squares away (B3), 14% pricier input, 8× the context$0.08+14%$0.45131KCompare →
13Qwen3 32BQwen (Alibaba)GRIDB32 squares away (B3), 14% pricier input, 8× the context$0.08+14%$0.28131KCompare →
14Mistral Small 3.2 24BMistral AIGRIDB32 squares away (B3), 34% pricier input, 15.6× the context$0.09+34%$0.25256K
15Qwen2.5 7B InstructQwen (Alibaba) · open weightsGRIDC22 squares away (C2), 43% pricier input, 2× the context, open weights$0.10+43%$0.2033K
Standard-tier prices from each model’s cheapest available offer. “vs Phi 4” compares input price. Highlighted: lowest input and largest context in the list.

What switching saves

3,000 input + 800 output tokens × 1,000 requests a day

Phi 4baseline
$9.66/mo
Llama 3.2 1B Instruct−25%
$7.25/mo
Command R7B (12-2024)−28%
$6.98/mo
Mistral Small 3−34%
$6.42/mo
gpt-oss-20b−61%
$3.78/mo

Σ Derived from standard-tier prices; excludes caching and batch discounts. Use your own numbers →

Larger-context alternatives

ModelInput / 1MContext
Llama 3.2 1B InstructMeta$0.0360KCompare
Command R7B (12-2024)Cohere$0.04128KCompare
Mistral Small 3Mistral AI$0.0533KCompare
gpt-oss-20bOpenAI$0.02131K
Mistral NemoMistral AI$0.03131K

Free alternatives

ModelInput / 1MContext
Lyria 3 Clip PreviewGoogleFree1.05M
Lyria 3 Pro PreviewGoogleFree1.05M

Compare Phi 4 head to head

Questions

What is the best alternative to Phi 4?
Llama 3.2 1B Instruct ranks first: neighbouring square b2, 61% cheaper input, 3.7× the context. Input is $0.03 per 1M tokens against $0.07 for Phi 4. Ranking is by position on the atlas, not by quality.
What is the cheapest alternative to Phi 4?
gpt-oss-20b at $0.02 per 1M input tokens, 74% less than Phi 4, among the 15 closest.
Is there an open-weight alternative to Phi 4?
Yes, 1 of the 15: Qwen2.5 7B Instruct.
Which alternative has a larger context window?
Mistral Small 3.2 24B, gpt-oss-20b, Mistral Nemo, gpt-oss-120b and 11 more hold more than Phi 4's 16K; the largest is Mistral Small 3.2 24B at 256K.
How are alternatives ranked?
By distance on the atlas grid from Phi 4's square B1: the same square first, then neighbouring squares. Within the same distance, cheaper models come before pricier ones, then the lowest input price wins. We hold no capability data, so we do not claim a model can do what Phi 4 does, only that it costs and holds about the same. No vendor pays for position.

More alternatives

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.