Open source · Best AI for
Best open-source AI for working in the terminal
Open-weights models only: the model file is public, so you can run it on your own computer or any cloud, and nobody can take it away.
Top tested so far: GLM-5 (64/100 · $1.55 per 1M tokens)

GLM-5 from Z.ai (Zhipu) (best tested so far: most of the newest models haven't taken these tests yet). It scores 64/100 for working in the terminal, #17 among all 45 current models (the overall leader, GPT-5.5, scores 100).
Top 15 open source models for working in the terminal
Score = share of all of today's AI models it beats on this job's tests (100 = best of all). Bar in coral = the overall #1, for reference.
- 1GLM-5Z.ai (Zhipu) · #17 of 45 overall · a few tests64
- 2MiniMax-M2.7MiniMax · #21 of 45 overall · a few tests55
- 3Kimi K2.5Moonshot AI (Kimi) · #23 of 45 overall · a few tests50
- 4MiniMax-M2.5MiniMax · #24 of 45 overall · a few tests48
- 5DeepSeek-V3.2DeepSeek · #25 of 45 overall · a few tests45
- 6MiniMax-M2.1MiniMax · #27 of 45 overall · a few tests41
- 7Kimi K2 ThinkingMoonshot AI (Kimi) · #28 of 45 overall · a few tests39
- 8GLM-4.7Z.ai (Zhipu) · #31 of 45 overall · a few tests32
- 9MiniMax-M2MiniMax · #33 of 45 overall · a few tests27
- 10Kimi K2 (Jul 2025)Moonshot AI (Kimi) · #34 of 45 overall · a few tests25
- 11Qwen3-Coder-480B-A35BAlibaba (Qwen) · #36 of 45 overall · a few tests20
- 12Qwen 3.6 35B-A3BAlibaba (Qwen) · #38 of 45 overall · a few tests16
- 13GLM-4.6Z.ai (Zhipu) · #39 of 45 overall · a few tests14
- 14gpt-oss-120bOpenAI · #41 of 45 overall · a few tests9
- 15Qwen3.5-9BAlibaba (Qwen) · #44 of 45 overall · a few tests2
Score, price and memory side by side
Cost per job = one long request (≈ 20K tokens read, 2K written), using list API prices.
| Model | Score | $ / 1M tokens | Cost per job | Memory | Released |
|---|---|---|---|---|---|
| GLM-5 | 64 | $1.55 | $0.026 | 205K | Feb 2026 |
| MiniMax-M2.7 | 55 | $0.52 | $0.0084 | 205K | Mar 2026 |
| Kimi K2.5 | 50 | $1 | $0.015 | 262K | Jan 2026 |
| MiniMax-M2.5 | 48 | $0.52 | $0.0084 | 205K | Feb 2026 |
| DeepSeek-V3.2 | 45 | $0.29 | $0.006 | 164K | Dec 2025 |
| MiniMax-M2.1 | 41 | $0.52 | $0.0084 | 205K | Dec 2025 |
| Kimi K2 Thinking | 39 | — | — | — | Nov 2025 |
| GLM-4.7 | 32 | $1 | $0.016 | 205K | Dec 2025 |
| MiniMax-M2 | 27 | $0.52 | $0.0084 | 205K | Oct 2025 |
| Kimi K2 (Jul 2025) | 25 | — | — | — | Jul 2025 |
| Qwen3-Coder-480B-A35B | 20 | $0.47 | $0.008 | 262K | Jul 2025 |
| Qwen 3.6 35B-A3B | 16 | $0.84 | $0.012 | 262K | Apr 2026 |
| GLM-4.6 | 14 | $1 | $0.016 | 205K | Sep 2025 |
| gpt-oss-120b | 9 | $0.1 | $0.0015 | 131K | Aug 2025 |
| Qwen3.5-9B | 2 | $0.19 | $0.0039 | 262K | Feb 2026 |
Quick answers
What's the best open-source AI for working in the terminal?
GLM-5 from Z.ai (Zhipu) (best tested so far: most of the newest models haven't taken these tests yet). It scores 64/100 for working in the terminal, #17 among all 45 current models (the overall leader, GPT-5.5, scores 100).
About GLM-5 →What's the runner-up?
MiniMax-M2.7, scoring 55 at $0.52 per million tokens.
See the details →Which is the best value?
MiniMax-M2.7: it scores 55 (vs 64 for GLM-5) and costs $0.52 per million tokens instead of $1.55.
See the details →How does it compare with the overall best for working in the terminal?
GPT-5.5 scores 100 vs 64, but costs about 7.3× as much per token.
Best AI for working in the terminal →How are these ranked?
Each model's score is the share of current AI models it beats on the working in the terminal tests, weighted towards newer and harder tests. Open-weights models only: the model file is public, so you can run it on your own computer or any cloud, and nobody can take it away.
How scores work →Open source: other jobs
24 jobs · scores update automatically from public test results · data as of April 23, 2026