To determine the best LLM under 36 billion parameters, we analyze performance across benchmarks, use cases, and architectural efficiency. Here are the top contenders:
Top Performers Under 36B Parameters
Phi-3 Medium 4B (Microsoft)
Parameters: 4 billion
MMLU Score: 78% (outperforms larger models like Llama 3 70B in commonsense reasoning) [6].
Strengths: Exceptional general knowledge and reasoning despite its small size, ideal for resource-constrained environments.
Yi 1.5 34B Chat (01 AI)
Parameters: 34 billion
MMLU Score: 76.8% [6].
Strengths: Balances size and performance, excelling in multilingual tasks and complex reasoning.
CodeLlama 34B (Meta)
Parameters: 34 billion
Coding Benchmarks: Scores 53.7% on HumanEval and 56.2% on MBPP, leading open-source models in code generation [7].
Specialization: Fine-tuned for Python, code infilling, and instruction-following.
Command R (Cohere)
Parameters: 35 billion
Context Window: 128,000 tokens (supports ~100 pages of text) [3].
Use Case: Optimized for enterprise workflows, retrieval-augmented generation, and multilingual support.
Gemma 7B (Google DeepMind)
Parameters: 7 billion
Performance: Surpasses GPT-3.5 models on Chatbot Arena [1].
Efficiency: Lightweight, open-source, and ideal for text-based tasks.
Key Comparisons
Model
Parameters
MMLU Score
Specialization
License
Phi-3 Medium 4B
4B
78%
General reasoning, efficiency
MIT
Yi 1.5 34B Chat
34B
76.8%
Multilingual, complex reasoning
Apache 2.0
CodeLlama 34B
34B
–
Code generation, Python
Llama 2
Command R
35B
–
Enterprise RAG, multilingual
Cohere
Gemma 7B
7B
–
Lightweight, text tasks
Open-source
Recommendations by Use Case
General Knowledge & Reasoning: Phi-3 Medium 4B (highest MMLU score).
Coding & Development: CodeLlama 34B (specialized for code tasks).
Enterprise Workflows: Command R (large context, multilingual support).