Benchmark Almanac

NoLiMa

GPT-4.1 89.1% leads since April 2025
Not in model cards

Models find a needle in a long haystack when the question and the needle share almost no words, so they must infer a latent link. Accuracy is compared across context lengths.

At 32K tokens, 10 of 12 tested models fell below half their short-context score. Data uses an Adobe Research License for non-commercial use. About 210 GitHub stars.

Released
February 2025
Kind
Finding facts in long inputs
Level
Everyday
Scored
Checked automatically
Answers
Short answer
Tasks
All public
Measures
Capability
Language
English
In and out
Text → Text
Interaction
Single turn
Refresh
One fixed set
Run by
Anyone
Strongest model tested
Gemini 2.5 Flash May 2025 #116 on the capability index
Last model added
May 2025
Updated automatically
Yes, daily
Scores refreshed
November 24th, 2026

In the authors’ words

Recent large language models (LLMs) support long contexts ranging from 128K to 1M tokens. A popular method for evaluating these capabilities is the needle-in-a-haystack (NIAH) test, which involves retrieving a "needle" (relevant information) from a "haystack" (long irrelevant context). Extensions of this approach include increasing distractors, fact chaining, and in-context reasoning. However, in these benchmarks, models can exploit existing literal matches between the needle and haystack to simplify the task. To address this, we introduce NoLiMa, a benchmark extending NIAH with a carefully designed needle set, where questions and needles have minimal lexical overlap, requiring models to infer latent associations to locate the needle within the haystack. We evaluate 13 popular LLMs that claim to support contexts of at least 128K tokens. While they perform well in short contexts (<1K), performance degrades significantly as context length increases. At 32K, for instance, 11 models drop below 50% of their strong short-length baselines. Even GPT-4o, one of the top-performing exceptions, experiences a reduction from an almost-perfect baseline of 99.3% to 69.7%. Our analysis suggests these declines stem from the increased difficulty the attention mechanism faces in longer contexts when literal matches are absent, making it harder to retrieve relevant information. Even models enhanced with reasoning capabilities or CoT prompting struggle to maintain performance in long contexts. We publicly release the dataset and evaluation code at https://github.com/adobe-research/NoLiMa.

Abstract of NoLiMa: Long-Context Evaluation Beyond Literal Matching (arXiv:2502.05167, CC0)
22
Models scored on its own leaderboard

GPT-4.1 leads with 89.1% among models released by May 2025

Best score per model from the benchmark's own leaderboard, read on November 24th, 2026. Where a model ran with several settings or harnesses, we keep its best.

The newest model with a score here came out in May 2025, 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.1 89.1%
  2. 2 GPT-4o Nov 2024 88.7%
  3. 3 Llama 3.3 70B Instruct 72.9%
  4. 4 Gemini 2.5 Flash May 2025, Thinking disabled 71.7%
  5. 5 Gemini 1.5 Pro Sep 2024 68.7%
  6. 6 Gemini 2.0 Flash Feb 2025 67.8%
  7. 7 Llama 3.1-70B 67%
  8. 8 Llama 3.1-405B 65.8%
  9. 9 Claude 3.5 Sonnet (October 2024) 64%
  10. 10 Jamba 1.5 Mini 63.3%
  11. 11 Mistral Large 2 Nov 2024 58%
  12. 12 Llama 4 Maverick 56.1%
  13. 13 GPT-4.1 mini 54.2%
  14. 14 Gemini 1.5 Flash Sep 2024 48.3%
  15. 15 Command R+ 47.5%
  16. 16 Llama 4 Scout 44.8%
  17. 17 Gemma 3 27B 41.6%
  18. 18 GPT-4o mini 39.5%
  19. 19 Llama 3.1-8B 38.8%
  20. 20 Gemma 3 12B 38%
  21. 21 GPT-4.1 nano 33.9%
  22. 22 Gemma 3 4B 18.8%

Source: Official NoLiMa leaderboard

#ModelScoreSettingDateSource
1 GPT-4.1 89.1% Apr 2025 Official leaderboard
2 GPT-4o Nov 2024 88.7% Nov 2024 Official leaderboard
3 Llama 3.3 70B Instruct 72.9% Dec 2024 Official leaderboard
4 Gemini 2.5 Flash May 2025 71.7% Thinking disabled May 2025 Official leaderboard
5 Gemini 1.5 Pro Sep 2024 68.7% Sep 2024 Official leaderboard
6 Gemini 2.0 Flash Feb 2025 67.8% Feb 2025 Official leaderboard
7 Llama 3.1-70B 67% Jul 2024 Official leaderboard
8 Llama 3.1-405B 65.8% Jul 2024 Official leaderboard
9 Claude 3.5 Sonnet (October 2024) 64% Oct 2024 Official leaderboard
10 Jamba 1.5 Mini 63.3% Aug 2024 Official leaderboard
11 Mistral Large 2 Nov 2024 58% Nov 2024 Official leaderboard
12 Llama 4 Maverick 56.1% Apr 2025 Official leaderboard
13 GPT-4.1 mini 54.2% Apr 2025 Official leaderboard
14 Gemini 1.5 Flash Sep 2024 48.3% Aug 2024 Official leaderboard
15 Command R+ 47.5% Aug 2024 Official leaderboard
16 Llama 4 Scout 44.8% Apr 2025 Official leaderboard
17 Gemma 3 27B 41.6% Mar 2025 Official leaderboard
18 GPT-4o mini 39.5% Jul 2024 Official leaderboard
19 Llama 3.1-8B 38.8% Jul 2024 Official leaderboard
20 Gemma 3 12B 38% Mar 2025 Official leaderboard
21 GPT-4.1 nano 33.9% Apr 2025 Official leaderboard
22 Gemma 3 4B 18.8% Mar 2025 Official leaderboard

Rankings by part

We read 8 parts from the benchmark’s own leaderboard in 2 groups: standard lengths and extended lengths. Each ranks models on one part of the test. GPT-4o leads 4 of them, and GPT-4.1 leads the other 4. Arrows show how far a model moved from its overall rank among the models we track.

1K

22 models we track have a score here.

  1. 1 GPT-4o Nov 2024 ↑1 98.1%
  2. 2 GPT-4.1 ↓1 95.6%
  3. 3 Llama 3.3 70B Instruct 94.2%
  4. 4 Llama 3.1-70B ↑3 91%
  5. 5 Gemini 2.5 Flash May 2025 ↓1 90.1%
  6. 6 Llama 3.1-405B ↑2 89%
  7. 7 Gemini 2.0 Flash Feb 2025 ↓1 87.7%
  8. 8 Gemini 1.5 Pro Sep 2024 ↓3 86.4%
  9. 9 Mistral Large 2 Nov 2024 ↑2 86.1%
  10. 10 Claude 3.5 Sonnet (October 2024) ↓1 85.4%

Everything the board measures

The benchmark’s own leaderboard publishes 14 numbers for each entry: the headline score, 8 parts of the test and 5 other measures. 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.

Measure

    2 models have held number one on the official leaderboard since its release in February 2025

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

    OpenAI
    Own leaderboard Passed 85% in Feb 2025, by GPT-4o
    GPT-4.1 89.1%

    Source: Official NoLiMa leaderboard

    GPT-4o on the official leaderboard passed 85% in November 2024

    Models released before it came out already scored that high. 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% 2025 Near the ceiling (85%) GPT-4.1 GPT-4o Gemini 1.5 Pro GPT-4o mini 0% 20% 40% 60% 80% 100% 2025 Near the ceiling (85%) GPT-4.1 Gemini 1.5 Pro

    Source: Official NoLiMa 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

    All 115 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

    All 8 checks pass. Every benchmark

    Catalog record 2 pass
    • Pass Task access All tasks are public.
    • Pass Confidence Checked against a primary source.
    Scores 2 pass 3 notes
    • Pass Independent runs Scores from the official leaderboard (22 entries).
    • Pass Models scored 22 models we track.
    • Note Newest score The newest came 18 months ago, in May 2025, for Gemini 2.5 Flash. That’s expected for a saturated test.
    • Note Frontier models None of the top 10 has a score, which is fine for a retired test. The strongest tested is Gemini 2.5 Flash (#116).
    • Note Headroom Saturated. The best is 89.1%, past 85% since November 2024.
    Leaderboard import 3 pass
    • Pass Importer We read the board on github.com: 22 rows for models we track 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.

    How we check