Long-horizon tasks
In short
Long-horizon tasks are pieces of work that take a skilled person a long time to finish. For an AI model, the hard part is completing that longer work reliably, not answering one short question.
- Also called
- Long-horizon task, Long-running AI task, Extended task
- Topic
- AI agents
- Level
- Some background helps
- First described
- Thomas Kwa, Ben West and colleagues posted Measuring AI Ability to Complete Long Tasks on 18 March 2025, introducing the 50%-task-completion time horizon2.
Kwa, West and colleagues at METR measure this with a 50%-task-completion time horizon: the time humans typically take to complete tasks that a model completes with a 50% success rate1. Humans with domain expertise were timed on RE-Bench, HCAST and 66 shorter tasks1. On those tasks, the 10 July 2026 revision says a frontier model such as o3 has a 50% time horizon of about 110 minutes1. Success on a task is negatively correlated with how long a human baseliner takes1. The version submitted on 18 March 2025 reported about 50 minutes for Claude 3.7 Sonnet2. The abstract still shown on the July 2026 arXiv record repeats that older 50-minute sentence, while the July 2026 HTML states the 110-minute figure13.
The July 2026 text says the frontier time horizon has doubled about every seven months since 2019, though the trend may have accelerated since 20241. The fitted 50% horizon doubled every 207 days, with a 95% interval of 166 to 240 days1. Horizons at an 80% success rate are 4 to 6 times shorter1. The tasks are not a perfect sample of real software work1. The forecast that, within five years, many software tasks which now take a person a month could be automated is only if these results generalise1.
Anthropic, on 29 September 2025, uses long-horizon tasks for a different measure: keeping coherence, context and goal-directed behaviour across actions whose tokens exceed the model's context window4. Its examples last from tens of minutes to multiple hours, such as a large codebase migration or a broad research project4. The techniques it names are compaction, which summarises a near-full conversation and starts again from the summary; notes stored outside the window; and sub-agents that return a short summary, often 1,000 to 2,000 tokens4. In Claude Code, compaction keeps architectural decisions, unresolved bugs and implementation details, drops redundant tool outputs, and continues with the summary plus the five most recently accessed files4.
Example
Anthropic's 29 September 2025 note treats a large codebase migration, running for tens of minutes to hours, as a long-horizon task because the tokens no longer fit in one context window4.
Why it matters
A score on a short question does not say how long a piece of software work a model can finish1. METR's own figure moved from about 50 minutes in March 2025 to about 110 minutes in the July 2026 HTML12.
Questions people ask
What makes a task long-horizon?
METR measures length by how long a human with domain expertise takes, and finds success falls as that time rises1. Anthropic's September 2025 note instead means a sequence of actions whose tokens exceed the context window4.
Are the March 2025 and July 2026 figures the same?
No. The March 2025 paper says Claude 3.7 Sonnet has a 50% time horizon of about 50 minutes2. The 10 July 2026 HTML says o3 is at about 110 minutes, while the July 2026 abstract page still shows the older 50-minute wording13.
Does a longer horizon mean the model is reliable?
Not on its own. In the July 2026 paper, 80% time horizons are 4 to 6 times shorter than 50% horizons, and the authors limit how far the tasks represent real software work1.
Related terms
Tools that use it
Sources
- Kwa, West et al. (10 July 2026), Measuring AI Ability to Complete Long Software Tasks, arXiv:2503.14499v4
- Kwa, West et al. (18 March 2025), Measuring AI Ability to Complete Long Tasks, arXiv:2503.14499v1
- Kwa, West et al., arXiv abstract page for 2503.14499v4 (10 July 2026)
- Anthropic (29 September 2025), Effective context engineering for AI agents