BABILong
Models answer bAbI reasoning questions whose supporting facts are scattered through very long distractor text, at lengths up to millions of tokens.
NeurIPS 2024 Datasets and Benchmarks. 52 upvotes on Hugging Face papers.
- Made by
- AIRI and collaborators (Kuratov et al.)
- Released
- June 2024
- Kind
- Reasoning over long documents
- Level
- Everyday
- Scored
- Checked automatically
- Answers
- Short answer
- Tasks
- All public
- Measures
- Capability
- Language
- English
- Interaction
- Single turn
- Items from
- Another benchmark
- Refresh
- One fixed set
- Run by
- Anyone
- Based on
- bAbI QA Tasks
- Last model added
- May 2024
- Updated automatically
- Yes, daily
- Scores refreshed
- November 24th, 2026
In the authors’ words
In recent years, the input context sizes of large language models (LLMs) have increased dramatically. However, existing evaluation methods have not kept pace, failing to comprehensively assess the efficiency of models in handling long contexts. To bridge this gap, we introduce the BABILong benchmark, designed to test language models' ability to reason across facts distributed in extremely long documents. BABILong includes a diverse set of 20 reasoning tasks, including fact chaining, simple induction, deduction, counting, and handling lists/sets. These tasks are challenging on their own, and even more demanding when the required facts are scattered across long natural text. Our evaluations show that popular LLMs effectively utilize only 10-20% of the context and their performance declines sharply with increased reasoning complexity. Among alternatives to in-context reasoning, Retrieval-Augmented Generation methods achieve a modest 60% accuracy on single-fact question answering, independent of context length. Among context extension methods, the highest performance is demonstrated by recurrent memory transformers after fine-tuning, enabling the processing of lengths up to 50 million tokens. The BABILong benchmark is extendable to any length to support the evaluation of new upcoming models with increased capabilities, and we provide splits up to 10 million token lengths.
~ Mamba (130M) fine-tune tops the leaderboard with 98.5% GPT-4 Turbo (Jan 2024) leads with 72.4% among models released by May 2024
Best score per entry from the benchmark's own leaderboard, read on November 24th, 2026. Where a model ran with several settings or harnesses, we keep its best. Names in gray aren't in our model list: fine-tunes, agent systems, products and older models. They don't count toward leaders. The best model we track is GPT-4 Turbo (Jan 2024), at 72.4%. This view shows only models we track, each at its best.
The newest model with a score here came out in May 2024, and nobody has tested a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:
- Claude Fable 5.2
- GPT-6.2 Astra
-
Gemini 4 Carbon
- GPT-6 Astra
- and 16 more
- 98.5 ~ Mamba (130M) fine-tune
- 97.9 ~ ARMT (137M) fine-tune
- 91.0 ~ RMT (137M) fine-tune
- 73.1 Meta-Llama-3.1-70B-Instruct
- 72.4 GPT-4 Turbo (Jan 2024)
- 63.6 Meta-Llama-3.1-8B-Instruct
- 63.0
Phi-3-medium-128k-instruct
- 62.1 Mixtral-8x22B-Instruct-v0.1
- 59.1
Command R (03-2024)
- 55.2 Meta-Llama-3-8B-Instruct
- 54.9 01-ai/Yi-34B-200k
- 54.1 Mixtral-8x7B-Instruct-v0.1
- 52.1
Phi-3-mini-128k-instruct
- 49.7 ai21labs/Jamba-v0.1
- 48.7
Mistral-7B-Instruct-v0.2
- 47.6 chatglm3-6b-128k
- 47.1 activation-beacon-mistral-7b
- 46.1 Llama3-ChatQA-1.5-8B
- 45.6 01-ai/Yi-9B-200k
- 41.4 v5-Eagle-7B-HF
- 40.2 rwkv-6-world-7b
- 39.6
Yi-34B
- 39.0 Llama-2-7B-32K-Instruct
- 38.9 activation-beacon-llama2-7b-chat
- 38.6 Yarn-Mistral-7b-128k
- 37.7 LongAlpaca-13B
- 36.4 longchat-7b-v1.5-32k
- 36.1 LLaMA-2-7B-32K
- 33.2 mamba-2.8b-hf
- 21.0 GPT-2 (137M)
- 1 ~ Mamba (130M) fine-tune 98.5%
- 2 ~ ARMT (137M) fine-tune 97.9%
- 3 ~ RMT (137M) fine-tune 91%
- 4 Meta-Llama-3.1-70B-Instruct 73.1%
- 5 GPT-4 Turbo (Jan 2024) 72.4%
- 6 Meta-Llama-3.1-8B-Instruct 63.6%
- 7
Phi-3-medium-128k-instruct 63%
- 8 Mixtral-8x22B-Instruct-v0.1 62.1%
- 9
Command R (03-2024) 59.1%
- 10 Meta-Llama-3-8B-Instruct 55.2%
- 11 01-ai/Yi-34B-200k 54.9%
- 12 Mixtral-8x7B-Instruct-v0.1 54.1%
- 13
Phi-3-mini-128k-instruct 52.1%
- 14 ai21labs/Jamba-v0.1 49.7%
- 15
Mistral-7B-Instruct-v0.2 48.7%
- 16 chatglm3-6b-128k 47.6%
- 17 activation-beacon-mistral-7b 47.1%
- 18 Llama3-ChatQA-1.5-8B 46.1%
- 19 01-ai/Yi-9B-200k 45.6%
- 20 v5-Eagle-7B-HF 41.4%
- 21 rwkv-6-world-7b 40.2%
- 22
Yi-34B 39.6%
- 23 Llama-2-7B-32K-Instruct 39%
- 24 activation-beacon-llama2-7b-chat 38.9%
- 25 Yarn-Mistral-7b-128k 38.6%
- 26 LongAlpaca-13B 37.7%
- 27 longchat-7b-v1.5-32k 36.4%
- 28 LLaMA-2-7B-32K 36.1%
- 29 mamba-2.8b-hf 33.2%
- 30 GPT-2 (137M) 21%
Source: Official BABILong leaderboard
- 1 GPT-4 Turbo (Jan 2024) 72.4%
- 2
Phi-3-medium-128k-instruct 63%
- 3
Command R (03-2024) 59.1%
- 4
Phi-3-mini-128k-instruct 52.1%
- 5
Mistral-7B-Instruct-v0.2 48.7%
- 6
Yi-34B 39.6%
Source: Official BABILong leaderboard
| # | Entry | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | ~ Mamba (130M) fine-tune | 98.5% | Official leaderboard | ||
| 2 | ~ ARMT (137M) fine-tune | 97.9% | Official leaderboard | ||
| 3 | ~ RMT (137M) fine-tune | 91% | Official leaderboard | ||
| 4 | Meta-Llama-3.1-70B-Instruct | 73.1% | Official leaderboard | ||
| 5 | GPT-4 Turbo (Jan 2024) | 72.4% | Jan 2024 | Official leaderboard | |
| 6 | Meta-Llama-3.1-8B-Instruct | 63.6% | Official leaderboard | ||
| 7 | | 63% | May 2024 | Official leaderboard | |
| 8 | Mixtral-8x22B-Instruct-v0.1 | 62.1% | Official leaderboard | ||
| 9 | | 59.1% | Mar 2024 | Official leaderboard | |
| 10 | Meta-Llama-3-8B-Instruct | 55.2% | Official leaderboard | ||
| 11 | 01-ai/Yi-34B-200k | 54.9% | Official leaderboard | ||
| 12 | Mixtral-8x7B-Instruct-v0.1 | 54.1% | Official leaderboard | ||
| 13 | | 52.1% | Apr 2024 | Official leaderboard | |
| 14 | ai21labs/Jamba-v0.1 | 49.7% | Official leaderboard | ||
| 15 | | 48.7% | Dec 2023 | Official leaderboard | |
| 16 | chatglm3-6b-128k | 47.6% | Official leaderboard | ||
| 17 | activation-beacon-mistral-7b | 47.1% | Official leaderboard | ||
| 18 | Llama3-ChatQA-1.5-8B | 46.1% | RAG | Official leaderboard | |
| 19 | 01-ai/Yi-9B-200k | 45.6% | Official leaderboard | ||
| 20 | v5-Eagle-7B-HF | 41.4% | Official leaderboard | ||
| 21 | rwkv-6-world-7b | 40.2% | Official leaderboard | ||
| 22 | | 39.6% | Nov 2023 | Official leaderboard | |
| 23 | Llama-2-7B-32K-Instruct | 39% | Official leaderboard | ||
| 24 | activation-beacon-llama2-7b-chat | 38.9% | Official leaderboard | ||
| 25 | Yarn-Mistral-7b-128k | 38.6% | Official leaderboard | ||
| 26 | LongAlpaca-13B | 37.7% | Official leaderboard | ||
| 27 | longchat-7b-v1.5-32k | 36.4% | Official leaderboard | ||
| 28 | LLaMA-2-7B-32K | 36.1% | Official leaderboard | ||
| 29 | mamba-2.8b-hf | 33.2% | Official leaderboard | ||
| 30 | GPT-2 (137M) | 21% | Official leaderboard |
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | GPT-4 Turbo (Jan 2024) | 72.4% | Jan 2024 | Official leaderboard | |
| 2 | | 63% | May 2024 | Official leaderboard | |
| 3 | | 59.1% | Mar 2024 | Official leaderboard | |
| 4 | | 52.1% | Apr 2024 | Official leaderboard | |
| 5 | | 48.7% | Dec 2023 | Official leaderboard | |
| 6 | | 39.6% | Nov 2023 | Official leaderboard |
Rankings by part
We read 9 parts from the benchmark’s own leaderboard, each ranking models on one part of the test, such as 0k context, 1k context and 2k context. GPT-4 Turbo (Jan 2024) leads 7 of them, and Command R (03-2024) leads the other 2. Arrows show how far a model moved from its overall rank among the models we track.
0k context
6 models we track have a score here.
- 1 GPT-4 Turbo (Jan 2024) 87%
- 2
Yi-34B ↑4 72%
- 3
Phi-3-medium-128k-instruct ↓1 72%
- 4
Command R (03-2024) ↓1 64%
- 5
Phi-3-mini-128k-instruct ↓1 64%
- 6
Mistral-7B-Instruct-v0.2 ↓1 60%
1k context
6 models we track have a score here.
- 1 GPT-4 Turbo (Jan 2024) 81%
- 2
Phi-3-medium-128k-instruct 70%
- 3
Command R (03-2024) 64%
- 4
Phi-3-mini-128k-instruct 57%
- 5
Mistral-7B-Instruct-v0.2 56%
- 6
Yi-34B 52%
2k context
6 models we track have a score here.
- 1 GPT-4 Turbo (Jan 2024) 77%
- 2
Phi-3-medium-128k-instruct 67%
- 3
Command R (03-2024) 63%
- 4
Phi-3-mini-128k-instruct 55%
- 5
Mistral-7B-Instruct-v0.2 52%
- 6
Yi-34B 43%
4k context
6 models we track have a score here.
- 1 GPT-4 Turbo (Jan 2024) 74%
- 2
Phi-3-medium-128k-instruct 62%
- 3
Command R (03-2024) 61%
- 4
Phi-3-mini-128k-instruct 51%
- 5
Mistral-7B-Instruct-v0.2 49%
- 6
Yi-34B 37%
8k context
6 models we track have a score here.
- 1 GPT-4 Turbo (Jan 2024) 71%
- 2
Phi-3-medium-128k-instruct 60%
- 3
Command R (03-2024) 59%
- 4
Phi-3-mini-128k-instruct 50%
- 5
Mistral-7B-Instruct-v0.2 45%
- 6
Yi-34B 38%
16k context
6 models we track have a score here.
- 1 GPT-4 Turbo (Jan 2024) 64%
- 2
Phi-3-medium-128k-instruct 57%
- 3
Command R (03-2024) 52%
- 4
Phi-3-mini-128k-instruct 46%
- 5
Mistral-7B-Instruct-v0.2 42%
- 6
Yi-34B 31%
32k context
6 models we track have a score here.
- 1 GPT-4 Turbo (Jan 2024) 53%
- 2
Phi-3-medium-128k-instruct 53%
- 3
Command R (03-2024) 51%
- 4
Phi-3-mini-128k-instruct 42%
- 5
Mistral-7B-Instruct-v0.2 37%
- 6
Yi-34B 4.00%
64k context
4 models we track have a score here.
- 1
Command R (03-2024) ↑2 46%
- 2
Phi-3-medium-128k-instruct 45%
- 3 GPT-4 Turbo (Jan 2024) ↓2 43%
- 4
Phi-3-mini-128k-instruct 37%
128k context
4 models we track have a score here.
- 1
Command R (03-2024) ↑2 38%
- 2 GPT-4 Turbo (Jan 2024) ↓1 36%
- 3
Phi-3-medium-128k-instruct ↓1 30%
- 4
Phi-3-mini-128k-instruct 7.00%
Everything the board measures
The benchmark’s own leaderboard publishes 13 numbers for each entry: the headline score and 12 parts of the test. Rank entries by any one, compare them all in the table, or plot any two. Each row is the entry’s best run on the headline score.
- Headline
- Headline score
- Parts
- 0k context
- 1k context
- 2k context
- 4k context
- 8k context
- 16k context
- 32k context
- 64k context
- 128k context
- 512k context
- 1M context
- 10M context
Nothing matches.
- Headline
- Headline score
- Parts
- 0k context
- 1k context
- 2k context
- 4k context
- 8k context
- 16k context
- 32k context
- 64k context
- 128k context
- 512k context
- 1M context
- 10M context
Nothing matches.
- Headline
- Headline score
- Parts
- 0k context
- 1k context
- 2k context
- 4k context
- 8k context
- 16k context
- 32k context
- 64k context
- 128k context
- 512k context
- 1M context
- 10M context
Nothing matches.
- 01.AI
- Mistral AI
- OpenAI
- Cohere
- Microsoft
- not in our model list
Number one over time
Lab claims count from the day the card came out, independent runs from the model’s release.
Source: Official BABILong leaderboard
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Source: Official BABILong leaderboard
No lab model card reports it yet
We read the headline results of 546 launch posts from 59 labs, and none of them list this benchmark.
More in Long context
- MRCR v2 In use Multi-round coreference: retrieve the n-th of several similar requests hidden in a long synthetic conversation, up to 1M tokens.
Muse Spark 1.3 98.5%
- LongBench v2 In use 503 multiple-choice questions over 8K-2M-word contexts (QA, dialogue, code repos, structured data). Accuracy.
Inkling 2 Small 70.6%
- GraphWalks In use A graph is given as an edge list in long context. The model answers BFS or parent queries, scored by F1. Claude Fable 5 99.96%
- OpenAI MRCR v2 In use Models read a long synthetic chat that hides 2, 4 or 8 identical writing requests and must reproduce the response to the i-th one. Scored by mean string match ratio per context bin.
Gemini 3.7 Flash 89%
- CL-bench In use Model must learn new knowledge from a supplied long context (rules, procedures, data) and solve tasks. Strict LLM-verified rubrics. GPT-5.4 27.9%
- AA-LCR 1.1 In use Models answer 100 questions that need reasoning across sets of real documents of about 100K tokens. An LLM equality checker with a fixed system prompt compares each answer with the key.
Step 5 Preview 88.3%
Data audit
8 of 10 checks pass, 2 warnings. Look first at the Confidence check. Likely. Some facts rest on secondary sources. Every benchmark
Catalog record 1 warning 1 pass
- Pass Task access All tasks are public.
- Warning Confidence Likely. Some facts rest on secondary sources.
Scores 1 warning 3 pass 1 note
- Pass Independent runs Scores from the official leaderboard (30 entries).
- Pass Models scored 6 models we track, plus 24 other entries on its leaderboard.
- Warning Newest score The newest came 2 years ago, in May 2024, for Phi-3-medium-128k-instruct.
- Note Frontier models None of its models are on the capabilities index.
- Pass Headroom The best is 72.4%, under 85%, so it still separates models.
Leaderboard import 3 pass
- Pass Importer We read the board on huggingface.co: 6 rows for models we track and 24 other entries at the last read.
- Pass Last read November 24th, 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.