Comprehensive side-by-side LLM comparison
Phi 4 leads with 3.9% higher average benchmark score. Gemma 3n E4B Instructed offers 32.0K more tokens in context window than Phi 4. Phi 4 is $59.79 cheaper per million tokens. Gemma 3n E4B Instructed supports multimodal inputs. Both models have their strengths depending on your specific coding needs.
Gemma 3n E4B Instructed is a multimodal language model developed by Google. The model shows competitive results across 18 benchmarks. Notable strengths include HumanEval (75.0%), MGSM (67.0%), MMLU (64.9%). The model is available through 1 API provider. As a multimodal model, it can process and understand text, images, and other input formats seamlessly. Released in 2025, it represents Google's latest advancement in AI technology.
Microsoft
Phi 4 is a language model developed by Microsoft. It achieves strong performance with an average score of 66.0% across 13 benchmarks. It excels particularly in MMLU (84.8%), HumanEval+ (82.8%), HumanEval (82.6%). The model is available through 1 API provider. It's licensed for commercial use, making it suitable for enterprise applications. Released in 2024, it represents Microsoft's latest advancement in AI technology.
6 months newer
Phi 4
Microsoft
2024-12-12
Gemma 3n E4B Instructed
2025-06-26
Cost per million tokens (USD)
Gemma 3n E4B Instructed
Phi 4
Context window and performance specifications
Average performance across 26 common benchmarks
Gemma 3n E4B Instructed
Phi 4
Gemma 3n E4B Instructed
2024-06-01
Phi 4
2024-06-01
Available providers and their performance metrics
Gemma 3n E4B Instructed
Together
Phi 4
Gemma 3n E4B Instructed
Phi 4
Gemma 3n E4B Instructed
Phi 4
DeepInfra