Benchmark Almanac

InterCode-Bash

GPT-4 Jun 2023 48.5% leads since June 2023
Not in model cards

Agents execute multi-turn Bash commands inside Docker containers with live execution feedback to accomplish 200 Linux file system and shell tasks.

Interactive Bash coding environment from the NeurIPS 2023 InterCode benchmark suite alongside InterCode-SQL and InterCode-CTF. Scored by task success rate.

Released
June 2023
Kind
Terminal tasks
Level
University
Scored
Checked automatically
Answers
Agent task
Tasks
All public
Measures
Capability
Language
English
In and out
Text, Code → Code, Actions
Interaction
Agentic
Environment
Terminal
Items from
Another benchmark
Refresh
One fixed set
Run by
Anyone
In views
Agents
Strongest model tested
GPT-4 Jun 2023 #193 on the capability index
Last model added
August 2023
Updated automatically
Yes, daily
Scores refreshed
December 4th, 2026

In the authors’ words

Humans write code in a fundamentally interactive manner and rely on constant execution feedback to correct errors, resolve ambiguities, and decompose tasks. While LLMs have recently exhibited promising coding capabilities, current coding benchmarks mostly consider a static instruction-to-code sequence transduction process, which has the potential for error propagation and a disconnect between the generated code and its final execution environment. To address this gap, we introduce InterCode, a lightweight, flexible, and easy-to-use framework of interactive coding as a standard reinforcement learning (RL) environment, with code as actions and execution feedback as observations. Our framework is language and platform agnostic, uses self-contained Docker environments to provide safe and reproducible execution, and is compatible out-of-the-box with traditional seq2seq coding methods, while enabling the development of new methods for interactive code generation. We use InterCode to create three interactive code environments with Bash, SQL, and Python as action spaces, leveraging data from the static NL2Bash, Spider, and MBPP datasets. We demonstrate InterCode's viability as a testbed by evaluating multiple state-of-the-art LLMs configured with different prompting strategies such as ReAct and Plan & Solve. Our results showcase the benefits of interactive code generation and demonstrate that InterCode can serve as a challenging benchmark for advancing code understanding and generation capabilities. InterCode is designed to be easily extensible and can even be used to create new tasks such as Capture the Flag, a popular coding puzzle that is inherently multi-step and involves multiple programming languages. Project site with code and data: https://intercode-benchmark.github.io

Abstract of InterCode: Standardizing and Benchmarking Interactive Coding with Execution Feedback (arXiv:2306.14898, CC0)
9
Entries on its own leaderboard, 5 models we track

GPT-4 leads with 48.5% among models released by August 2023 GPT-4 leads with 48.5% among models released by August 2023

Best score per entry from the benchmark's own leaderboard, read on December 4th, 2026. Task success rate (%) across 200 interactive Bash tasks in Docker containers. Where a model ran with several settings or harnesses, we keep its best. Every run is in the next chart. Names in gray aren't in our model list: fine-tunes, agent systems, products and older models. They don't count toward leaders. This view shows only models we track, each at its best.

The newest model with a score here came out in August 2023, and nobody has tested a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:

  1. 1 GPT-4 Jun 2023, Interactive multi-turn 48.5%
  2. 2 GPT-3.5 Turbo Jun 2023, Interactive multi-turn 46.5%
  3. 3 Code Llama 34B Instruct Interactive multi-turn 36%
  4. 4 Lemur-70B-Chat Interactive multi-turn 34.5%
  5. 5 Llama 2-70B Interactive multi-turn 31.5%
  6. 6 Vicuna-13B Interactive multi-turn 24.5%
  7. 7 StarChat-16B Interactive multi-turn 23.7%
  8. 8 text-bison@001 Interactive multi-turn 22.5%
  9. 9 chat-bison-001 Interactive multi-turn 19.2%

Source: Official InterCode-Bash leaderboard

#EntryScoreSettingReleasedRun onSource
1 GPT-4 Jun 2023 48.5% Interactive multi-turn Jun 2023 Jun 2023 Official leaderboard
2 GPT-3.5 Turbo Jun 2023 46.5% Interactive multi-turn Jun 2023 Jun 2023 Official leaderboard
3 Code Llama 34B Instruct 36% Interactive multi-turn Aug 2023 Oct 2023 Official leaderboard
4 Lemur-70B-Chat 34.5% Interactive multi-turn Oct 2023 Official leaderboard
5 Llama 2-70B 31.5% Interactive multi-turn Jul 2023 Jun 2023 Official leaderboard
6 Vicuna-13B 24.5% Interactive multi-turn Jun 2023 Official leaderboard
7 StarChat-16B 23.7% Interactive multi-turn Jun 2023 Official leaderboard
8 text-bison@001 22.5% Interactive multi-turn May 2023 Jun 2023 Official leaderboard
9 chat-bison-001 19.2% Interactive multi-turn Jun 2023 Official leaderboard
#ModelScoreSettingReleasedRun onSource
1 GPT-4 Jun 2023 48.5% Interactive multi-turn Jun 2023 Jun 2023 Official leaderboard
2 GPT-3.5 Turbo Jun 2023 46.5% Interactive multi-turn Jun 2023 Jun 2023 Official leaderboard
3 Code Llama 34B Instruct 36% Interactive multi-turn Aug 2023 Oct 2023 Official leaderboard
4 Llama 2-70B 31.5% Interactive multi-turn Jul 2023 Jun 2023 Official leaderboard
5 text-bison@001 22.5% Interactive multi-turn May 2023 Jun 2023 Official leaderboard

Scores at each effort level

Models the leaderboard ran at two or more effort levels. We don’t have enough cost data here to say what the extra effort costs.

Lowest effort to highest, light to dark
GPT-4
Single-turn… Interactive…
48.5%
GPT-3.5 Turbo
Single-turn… Interactive…
46.5%
text-bison@001
Single-turn… Interactive…
22.5%

Source: Official InterCode-Bash leaderboard

ModelEffortHarnessScoreCost per taskOutput tokens
GPT-4 Jun 2023 Interactive multi-turn 48.5%
GPT-3.5 Turbo Jun 2023 Interactive multi-turn 46.5%
Code Llama 34B Instruct Interactive multi-turn 36%
GPT-3.5 Turbo Jun 2023 Single-turn (no feedback) 34.5%
GPT-4 Jun 2023 Single-turn (no feedback) 34%
Llama 2-70B Interactive multi-turn 31.5%
text-bison@001 Interactive multi-turn 22.5%
text-bison@001 Single-turn (no feedback) 17%

Scores at each effort level

Models the leaderboard ran at two or more effort levels. We don’t have enough cost data here to say what the extra effort costs.

Lowest effort to highest, light to dark
GPT-4
Single-turn… Interactive…
48.5%
GPT-3.5 Turbo
Single-turn… Interactive…
46.5%
text-bison@001
Single-turn… Interactive…
22.5%

Source: Official InterCode-Bash leaderboard

ModelEffortHarnessScoreCost per taskOutput tokens
GPT-4 Jun 2023 Interactive multi-turn 48.5%
GPT-3.5 Turbo Jun 2023 Interactive multi-turn 46.5%
Code Llama 34B Instruct Interactive multi-turn 36%
GPT-3.5 Turbo Jun 2023 Single-turn (no feedback) 34.5%
GPT-4 Jun 2023 Single-turn (no feedback) 34%
Llama 2-70B Interactive multi-turn 31.5%
text-bison@001 Interactive multi-turn 22.5%
text-bison@001 Single-turn (no feedback) 17%

2 models have held number one on the official leaderboard since its release in June 2023

Lab claims count from the day the card came out, independent runs from the model’s release.

Google DeepMind OpenAI
Own leaderboard Not tested since Aug 2023
GPT-4 48.5%

Source: Official InterCode-Bash leaderboard

Scores over time

All the scores we have, one dot each, so a model tested at several settings appears more than once.

Plot with other benchmarks
On the benchmark’s own leaderboard Best so far
0% 20% 40% 60% 80% 100% 2023 Near the ceiling (85%) GPT-4 text-bison@001 0% 20% 40% 60% 80% 100% 2023 Near the ceiling (85%) GPT-4 text-bison@001

Source: Official InterCode-Bash leaderboard

No lab model card reports it yet

We read the headline results of 665 launch posts from 86 labs, and none of them list this benchmark.

More in Terminal agents

All 41 in Terminal agents
  • SkillsBench In use 86-87 containerized expert tasks in 11 domains, run with and without Agent Skills. Verifier tests give pass rate and skill lift. GPT-5.5 66.5%
  • Terminal-Bench 4.1 In use The Terminal-Bench 4.0 tasks with hardened verifiers: agents complete 66 hard tasks in containerized terminals across software, ML, science, security, and operations. Test scripts verify each result, scored as resolution rate. Copilot Fusion 71.2%
  • Harbor-Index In use Agents solve about 80 hard tasks drawn from 29 benchmarks run through Harbor adapters, such as HLE, GSO and SWE-bench Pro. Each task keeps its source verifier. GPT-5.5 28.1%
  • Terminal-Bench Hard Fading Agents complete 44 hard tasks from Terminal-Bench Core in the Terminus 2 harness. Artificial Analysis scores pass@1 averaged over 3 repeats. Gemma 4 31B IT 36%
  • Terminal-Bench 2.1 Extended Not in model cards Agents complete long command-line tasks in containers, scored by verification tests. Mercor adds 99 new expert-written tasks to the 89 public ones and reports both scores. Muse Wonder 54%
  • MisalignmentBench Not in model cards Autonomous coding agents build 20 from-scratch engineering projects across 5 domains over unmonitored 12-hour runs. Hidden verifiers score checkpoints every 30 minutes to measure final score, mid-run peak, regression loss, stagnation, and integrity failures. Gemini 4 Neon 77.7%

Data audit

9 of 10 checks pass, 1 warning. Look first at the Newest score check. The newest came 3 years ago, in August 2023, for Code Llama 34B Instruct. Every benchmark

Catalog record 2 pass
  • Pass Task access All tasks are public.
  • Pass Confidence Checked against a primary source.
Scores 1 warning 3 pass 1 note
  • Pass Independent runs Scores from the official leaderboard (9 entries).
  • Pass Models scored 5 models we track, plus 4 other entries on its leaderboard.
  • Warning Newest score The newest came 3 years ago, in August 2023, for Code Llama 34B Instruct.
  • Note Frontier models None of the top 10 has a score. The strongest tested is GPT-4 (#193).
  • Pass Headroom The best is 48.5%, under 85%, so it still separates models.
Leaderboard import 3 pass
  • Pass Importer We read the board on intercode-benchmark.github.io: 8 rows for models we track and 4 other entries at the last read.
  • Pass Last read December 4th, 2026.
  • Pass Read worked The last read worked.
Consistency 1 pass 2 notes
  • Note Lab claims No model has both a lab number and an independent run.
  • Pass Known issues No published audit found problems.
  • Note Epoch AI review Epoch AI hasn’t reviewed it.

How we check