Skip to content
benchtopia
  • Fetching the field guide…

Code · Best AI for

DevOps and shell scripts

Bash, Docker, CI pipelines, servers: the jobs where you live in a terminal.

Top tested so far: GPT-5.5 (OpenAI)

GPT-5.5 from OpenAI is the best tested so far (92/100), followed by GPT-5.4 and Claude Opus 4.7. Most of today's newest top models haven't taken these tests yet. Terminal-Bench has models do real work in a Linux shell (compile code, set up servers, train small models). SWE-bench bash-only fixes bugs using nothing but shell commands.

Heads up: most of today's newest top models haven't taken these tests yet, so this ranking leans on older results. Check the grid for the newest models.

Top 15 for DevOps and shell scripts

Score = share of today's AI models it beats on the tests below (100 = best of all).

  1. 1GPT-5.5OpenAI · plenty of tests92
  2. 2GPT-5.4OpenAI · plenty of tests91
  3. 3Claude Opus 4.7Anthropic · plenty of tests91
  4. 4GPT-5.3 CodexOpenAI · plenty of tests86
  5. 5Gemini 3.1 ProGoogle · plenty of tests86
  6. 6Claude Opus 4.6Anthropic · plenty of tests86
  7. 7GPT-5.2 CodexOpenAI · a few tests84
  8. 8Gemini 3 FlashGoogle · plenty of tests82
  9. 9Gemini 3 ProGoogle · plenty of tests81
  10. 10Claude Opus 4.5Anthropic · plenty of tests79
  11. 11GPT-5.2OpenAI · plenty of tests78
  12. 12GPT-5.1-Codex-miniOpenAI · a few tests75
  13. 13GPT-5.1-Codex-MaxOpenAI · a few tests72
  14. 14GLM-5Z.ai (Zhipu) · plenty of tests69
  15. 15GPT-5.1-CodexOpenAI · a few tests68

Best overall

GPT-5.5

Score 92 · OpenAI · $0.52 per job

Best under $1

GPT-5.1-Codex-mini

Score 75 · OpenAI · $0.028 per job

Best open source

GLM-5

Score 69 · Z.ai (Zhipu) · $0.093 per job

What it costs to fix one broken CI pipeline

≈ 80K tokens read and 4K written per job, at each model's list API price. Monthly chat-app plans don't charge per job.

ModelScorePer jobPer 1,000 jobsMemory
GPT-5.592$0.52$5201.1M
GPT-5.491$0.26$2601.1M
Claude Opus 4.791$0.5$5001M
GPT-5.3 Codex86$0.196$196400K
Gemini 3.1 Pro86$0.208$2081M
Claude Opus 4.686$0.5$5001M
GPT-5.2 Codex84$0.196$196400K
Gemini 3 Flashbest value82$0.052$52.001M
Gemini 3 Pro81———
Claude Opus 4.579$0.5$500200K
GPT-5.278$0.196$196400K
GPT-5.1-Codex-mini75$0.028$28.00400K
GPT-5.1-Codex-Max72$0.14$140400K
GLM-569$0.093$92.80205K
GPT-5.1-Codex68$0.14$140400K

Highlighted: the cheapest model within 15% of the top score.

Tests behind this ranking

Share = how much each test counts towards the score.

Terminal-BenchCan it get real jobs done by typing commands in a terminal?53%
SWE-bench Verified (bash only)Who fixes bugs best when every model gets the same plain tools?26%
METR Time HorizonsHow long a job can it finish on its own?5%
Remote Labor IndexCan it do real freelance jobs that people paid for?5%
Vending-Bench 2Can it run a tiny business for a whole year?4%
APEX-AgentsCan it do the work of a banker, consultant or lawyer?4%
The Agent CompanyCan it do the work of an employee at a pretend tech company?2%
BalrogCan it play six very different games, from easy mazes to NetHack?2%

Tips

  • Never let an agent run commands on a production machine. Give it a throwaway container.
  • Paste the full error output. The last line is rarely the useful one.

Quick answers

Which AI is best for DevOps and shell scripting?

GPT-5.5 from OpenAI is the best tested so far (92/100), followed by GPT-5.4 and Claude Opus 4.7. Most of today's newest top models haven't taken these tests yet.

About GPT-5.5 →
What's the best cheap AI for DevOps and shell scripts?

GPT-5.1-Codex-mini: 75/100 for about $0.69 per million tokens. One job (fix one broken CI pipeline) costs about $0.028.

See the details →
What's the best open-source AI for DevOps and shell scripts?

GLM-5 from Z.ai (Zhipu), scoring 69/100. You can download it and run it yourself.

See the details →
How much does it cost to fix one broken CI pipeline with AI?

With GPT-5.5, about $0.52 (≈ 80K tokens read, 4K written, at list API prices). Gemini 3 Flash scores nearly as well for $0.052. Chat apps on a monthly plan don't charge per job.

How is this decided?

Terminal-Bench has models do real work in a Linux shell (compile code, set up servers, train small models). SWE-bench bash-only fixes bugs using nothing but shell commands.

How scores work →

Related