Long-Horizon-Terminal-Bench (LHTB)
Terminal-Bench-style container tasks needing hundreds of steps. Subtasks graded deterministically for dense partial-credit reward. Solved at reward >=0.95.
LHTB 1.0 has 46 tasks, scored in a July 2026 snapshot with a 90 minute budget. LHTB 2.0 replaced it in October 2026. Hidden tests and oracle solutions are withheld.
In the authors’ words
AI agents have become capable of autonomously completing short, well-specified tasks. However, existing terminal benchmarks largely focus on simple problems that finish within minutes and are evaluated only by their final outcome. This setup overlooks intermediate progress and partial solutions, yielding sparse reward signals and an incomplete picture of agent capability. We introduce Long-Horizon-Terminal-Bench, a terminal benchmark of 46 long-horizon tasks spanning nine categories, including experiment reproduction, software engineering, multimodal analysis, interactive games, and scientific computing. Each task follows a Terminal-Bench-style setup with a reference solution or simulation engine, but is further decomposed into fine-grained graded subtasks. This design enables dense intermediate rewards and partial credit, allowing evaluation to capture not only whether an agent reaches the final goal, but also how far it progresses on open-ended workflows. Tasks in Long-Horizon-Terminal-Bench typically require hundreds of episodes and minutes to hours of execution, stressing long-horizon planning, long-context management, and iterative debugging rather than one-shot problem solving. We evaluate 15 frontier models and find that agents consume on average 9.9M tokens per task, with roughly 231 episodes and 85.3 minutes of execution time per run, making Long-Horizon-Terminal-Bench more demanding than prior terminal-based benchmarks. Even the strongest tested model achieves 15.2% pass@1 at a partial-reward threshold of 0.95 and 10.9% at a perfect-reward threshold of 1.0, while the mean pass rate across models is 4.3% and 1.7% under the two thresholds, respectively. These results reveal headroom for improvement. We further analyze failure modes and error patterns, and release Long-Horizon-Terminal-Bench to support future progress on long-horizon terminal agents.
- Level
- Expert Specialists with years of training, often over hours of work
- Scored
- Checked automatically A program checks the result against an answer key, unit tests or the expected final state.
- Answers
- Agent task Many steps in a terminal, browser, desktop, app, game or robot.
DeepSeek V4 Flash 0731 leads with 60.2% among models released by Jul 2026
Best score per model from the benchmark's own leaderboard, read on 2 Nov 2026. Where a model ran with several settings or harnesses, we keep its best.
The newest model with a score here came out in Jul 2026, and nobody has tested a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:
- GPT-6 Astra
- Claude Opus 5.5
- GPT-6.1 Terra
- GPT-6.1 Sol
- and 10 more
- 60.2
DeepSeek V4 Flash 0731
- 60.0 GPT-5.6 Sol
- 51.0 Claude Opus 5
- 50.5 Grok 4.5
- 49.7 Claude Sonnet 5
- 49.2 Claude Opus 4.8
- 48.7 Claude Fable 5
- 45.5
DeepSeek-V4-Flash
- 44.5 GPT-5.5
- 39.0
Gemini 3.6 Flash
- 38.5
MiniMax-M3
- 37.8 Kimi K3
- 37.3 Claude Sonnet 4.6
- 36.7 Kimi K2.7 Code
- 31.6 GLM-5.2
- 31.3
Qwen 3.6 Plus
- 30.7
DeepSeek-V4-Pro
- 29.6
Qwen3.7-Max
- 28.6
Seed2.1 Pro
- 27.9
Gemini 3.1 Pro
- 27.2 GPT-5.4
- 26.7 GLM-5.1
- 25.5 Kimi K2.6
- 21.5 GPT-5.3 Codex
- 10.2 Grok 4.20
- 1
DeepSeek V4 Flash 0731 60.2%
- 2 GPT-5.6 Sol 180 min budget 60%
- 3 Claude Opus 5 120 min budget 51%
- 4 Grok 4.5 50.5%
- 5 Claude Sonnet 5 49.7%
- 6 Claude Opus 4.8 49.2%
- 7 Claude Fable 5 48.7%
- 8
DeepSeek-V4-Flash 180 min budget 45.5%
- 9 GPT-5.5 44.5%
- 10
Gemini 3.6 Flash 39%
- 11
MiniMax-M3 38.5%
- 12 Kimi K3 37.8%
- 13 Claude Sonnet 4.6 37.3%
- 14 Kimi K2.7 Code 36.7%
- 15 GLM-5.2 31.6%
- 16
Qwen 3.6 Plus 31.3%
- 17
DeepSeek-V4-Pro 30.7%
- 18
Qwen3.7-Max 29.6%
- 19
Seed2.1 Pro 28.6%
- 20
Gemini 3.1 Pro 27.9%
- 21 GPT-5.4 27.2%
- 22 GLM-5.1 26.7%
- 23 Kimi K2.6 25.5%
- 24 GPT-5.3 Codex 21.5%
- 25 Grok 4.20 10.2%
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | | 60.2% | Geass Harness | Jul 2026 | Official leaderboard |
| 2 | GPT-5.6 Sol | 60% | 180 min budget, terminus-2 | Jul 2026 | Official leaderboard |
| 3 | Claude Opus 5 | 51% | 120 min budget, terminus-2 | Jul 2026 | Official leaderboard |
| 4 | Grok 4.5 | 50.5% | terminus-2 | Jul 2026 | Official leaderboard |
| 5 | Claude Sonnet 5 | 49.7% | terminus-2 | Jun 2026 | Official leaderboard |
| 6 | Claude Opus 4.8 | 49.2% | terminus-2 | May 2026 | Official leaderboard |
| 7 | Claude Fable 5 | 48.7% | terminus-2 | Jun 2026 | Official leaderboard |
| 8 | | 45.5% | 180 min budget, terminus-2 | Apr 2026 | Official leaderboard |
| 9 | GPT-5.5 | 44.5% | terminus-2 | Apr 2026 | Official leaderboard |
| 10 | | 39% | terminus-2 | Jul 2026 | Official leaderboard |
| 11 | | 38.5% | terminus-2 | Jun 2026 | Official leaderboard |
| 12 | Kimi K3 | 37.8% | terminus-2 | Jul 2026 | Official leaderboard |
| 13 | Claude Sonnet 4.6 | 37.3% | terminus-2 | Feb 2026 | Official leaderboard |
| 14 | Kimi K2.7 Code | 36.7% | terminus-2 | Jun 2026 | Official leaderboard |
| 15 | GLM-5.2 | 31.6% | terminus-2 | Jun 2026 | Official leaderboard |
| 16 | | 31.3% | terminus-2 | Mar 2026 | Official leaderboard |
| 17 | | 30.7% | terminus-2 | Apr 2026 | Official leaderboard |
| 18 | | 29.6% | terminus-2 | May 2026 | Official leaderboard |
| 19 | | 28.6% | terminus-2 | Jun 2026 | Official leaderboard |
| 20 | | 27.9% | terminus-2 | Feb 2026 | Official leaderboard |
| 21 | GPT-5.4 | 27.2% | terminus-2 | Mar 2026 | Official leaderboard |
| 22 | GLM-5.1 | 26.7% | terminus-2 | Apr 2026 | Official leaderboard |
| 23 | Kimi K2.6 | 25.5% | terminus-2 | Apr 2026 | Official leaderboard |
| 24 | GPT-5.3 Codex | 21.5% | terminus-2 | Feb 2026 | Official leaderboard |
| 25 | Grok 4.20 | 10.2% | terminus-2 | Feb 2026 | Official leaderboard |
4 models have held number one since its release in Jul 2026
Lab claims count from the day the card came out, independent runs from the model’s release.
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
No lab model card reports it yet
We read the headline results of 479 launch posts from 51 labs, and none of them list this benchmark.
Versions
We switch the top row to each new version when it comes out. Open it for one row per version. An old version stays in play while people still test it, so whoever first takes it past 85% gets credit for closing it out.
More in Terminal agents
- Terminal-Bench 4.0 In use Agents complete 66 hard tasks in containerized terminals across software, ML, science, security, and operations. Test scripts verify each result, scored as resolution rate. Claude Opus 5.5 64.8%
- 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 67.3%
- Terminal-Bench Hard In use 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%
- 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%
- CompileBench Not in model cards Agents build real open-source projects through dependency problems, legacy toolchains and complex build systems, for example compiling 22-year-old code. Claude Opus 4.1 100%
- ITBench Not in model cards Agents handle IT automation tasks in Kubernetes environments: site reliability incidents, compliance and security checks, and cloud cost work.
Gemini 3 Pro 58.3%