To determine the best LLMs under 36 billion parameters, several models stand out for their performance, efficiency, and specialized capabilities. Below is a breakdown of top contenders based on benchmarks, use cases, and technical specifications:
Top Contenders (Under 36B Parameters)
1. Command R (35B)
Developer: Cohere
Key Features:
35B parameters with 128K token context window[2][4].
Excels in retrieval-augmented generation (RAG), code explanations, and multilingual support (10 languages)[2][3].
Optimized for enterprise workflows and real-time applications[4].
Cost: $0.002 per million input tokens[2].
2. Qwen-2.5-Coder-32B-Instruct (32B)
Developer: Alibaba
Key Features:
32B parameters, Apache 2.0 licensed[2][6].
Specializes in code generation and multilingual programming tasks[2][8].
Outperforms larger models like Llama 3.1 70B in coding benchmarks[6][9].
Availability: Free and open-source via Hugging Face[6].
3. Yi 1.5 34B Chat (34B)
Developer: 01.AI
Key Features:
34B parameters with strong performance in language comprehension (MMLU-Pro score: 76.8)[6].
Competitive in math and reasoning tasks[8].
License: Open-source[6].
4. Mistral Small 3 (24B)
Developer: Mistral AI
Key Features:
24B parameters, optimized for low-latency tasks (150 tokens/second)[9].
Apache 2.0 licensed, suitable for on-device deployment (e.g., MacBooks with 32GB RAM)[9].
Outperforms Llama 3.3 70B in speed on equivalent hardware[9].
5. Phi-3 Medium (4B)
Developer: Microsoft
Key Features:
4B parameters, designed for resource-constrained environments[6].
Competes with larger models like Mistral 8x7B in reasoning tasks[6].
Supports context windows up to 128K tokens[6].
Borderline Case
DBRX (36B Active Parameters)
Developer: Databricks/Mosaic ML
Key Features:
132B total parameters but activates only 36B per input[1][3].
Mixture-of-experts (MoE) architecture with state-of-the-art coding and math performance[1][3].
Open-source and cost-efficient compared to GPT-4o[1].
Performance Highlights
Model
Coding
Math
Latency
Context Window
License
Command R
★★★★☆
★★★☆☆
0.15s
128K
Proprietary
Qwen-2.5-Coder
★★★★★
★★★★☆
Moderate
32K
Apache 2.0
Yi 34B
★★★★☆
★★★★☆
Moderate
64K
Open-source
Mistral Small 3
★★★☆☆
★★★☆☆
150 t/s
32K
Apache 2.0
Phi-3 Medium
★★★☆☆
★★★☆☆
Low
128K
MIT
Recommendations by Use Case
Coding & Development: Qwen-2.5-Coder-32B or Command R[2][6].
Low-Latency Applications: Mistral Small 3[9].
Budget/Open-Source Needs: Yi 34B or Phi-3 Medium[6][8].
Enterprise RAG Workflows: Command R[2][4].
For most users, Qwen-2.5-Coder-32B and Command R strike the best balance between performance and versatility, while Mistral Small 3 excels in speed-critical scenarios[2][6][9].