Code · Best AI for
Working in the terminal
Typing commands in a text-only terminal to set up servers, wrangle files and get stubborn tools working.
Top tested so far: GPT-5.5 (OpenAI)

Heads up: most of today's newest top models haven't taken these tests yet, so this ranking leans on older results.
Top 15 for working in the terminal
Score = share of today's AI models it beats on this job's tests (100 = best of all).
- 1GPT-5.5OpenAI · 1 test100
- 2GPT-5.4OpenAI · 1 test98
- 3Claude Opus 4.7Anthropic · 1 test94
- 4Gemini 3.1 ProGoogle · 1 test94
- 5Claude Opus 4.6Anthropic · 1 test91
- 6GPT-5.3 CodexOpenAI · 1 test89
- 7Gemini 3 ProGoogle · 1 test86
- 8GPT-5.2 CodexOpenAI · 1 test84
- 9GPT-5.2OpenAI · 1 test82
- 10Gemini 3 FlashGoogle · 1 test80
- 11Claude Opus 4.5Anthropic · 1 test77
- 12GPT-5.1-Codex-miniOpenAI · 1 test75
- 13GPT-5.1-Codex-MaxOpenAI · 1 test73
- 14GPT-5.1-CodexOpenAI · 1 test70
- 15Grok 4.20xAI · 1 test68
Best on a budget
Under $1 per million tokens
Score 75 · $0.69 per 1M tokens
Best free to download
Open weights
Score 64 · Z.ai (Zhipu)
Tests used for this ranking
Weight = how much each test counts.
| Terminal-BenchCan it get real jobs done by typing commands in a terminal? | weight 1 |
Quick answers
Which AI is best at command-line work?
Right now it's GPT-5.5 from OpenAI: it beats 100% of current models on the 1 test that measure working in the terminal. GPT-5.4 is next.
What's the best cheap AI for working in the terminal?
GPT-5.1-Codex-mini: under $1 per million tokens, with a score of 75.
See the details →What's the best open-source AI for working in the terminal?
GLM-5, with a score of 64.
See the details →How is the best AI for working in the terminal decided?
From 1 test (Terminal-Bench). On each test we check what share of current models a model beats, then average, giving fresher and harder tests more weight.
How scores work →