Scenario guide
Best AI models for Local / Self-Hosted Coding
As of October 25, 2026, the highest-ranked model for Local / Self-Hosted Coding is Qwen2.5 72B Instruct, with a scenario score of 92.8 out of 100. The score blends this scenario's benchmark weights with its cost weight.
A coding assistant you run on your own hardware — no API bills, full privacy, works offline. Restricted to open-weight, self-hostable models and weighted toward practical coding and agentic ability, with a slice for the self-correction that smaller local models lean on inside a good harness. There is no cost axis because inference runs on hardware you already own.
Rankings use the same scenario weights and cost blending as the interactive leaderboard on AI Model Analyzer. Data is min-max normalised per benchmark; missing scores are skipped without penalty.
- 1Qwen2.5 72B InstructAlibaba (Qwen)Score 92.8Q 92.8In $0.36/M
- 2Qwen3 Coder 480B A35BAlibaba (Qwen)Score 86.3Q 86.3In $0.30/M
- 3Kimi K3Moonshot (Kimi)Score 86.2Q 86.2In $3.00/M
- 4GLM-4.6Zhipu AI (GLM)Score 84.3Q 84.3In $0.60/M
- 5DeepSeek R1DeepSeekScore 83.0Q 83.0In $0.50/M
- 6MiniMax M2.5MiniMaxScore 82.8Q 82.8In $0.30/M
- 7GLM 5.3Zhipu AI (GLM)Score 82.3Q 82.3In $1.40/M
- 8GLM 5Zhipu AI (GLM)Score 79.4Q 79.4In $1.00/M
- 9DeepSeek V3 (Thinking)DeepSeekScore 78.8Q 78.8In $0.29/M
- 10GLM 4.5Zhipu AI (GLM)Score 78.6Q 78.6In $0.60/M
- 11DeepSeek V4.1 FlashDeepSeekScore 75.6Q 75.6In $0.02/M
- 12DeepSeek V4 Pro 0813DeepSeekScore 75.1Q 75.1In $0.66/M
- 13Muse Spark OpenMetaScore 74.1Q 74.1In $1.25/M
- 14MiniMax M2MiniMaxScore 74.0Q 74.0In $0.26/M
- 15DeepSeek V4 Pro 0423DeepSeekScore 73.7Q 73.7In $0.21/M