Capital & Compute
Benchmark· Long context & retrieval· Checked 2026-06-29

RULER

RULER measures the effective context length of a model, as opposed to the advertised one. It runs a battery of synthetic tasks at increasing sequence lengths and reports where performance actually falls off. The consistent finding is that claimed context windows are considerably longer than usable ones, which makes RULER the corrective to a headline specification.

Key facts about the RULER benchmark
What it measuresThe real effective context length of a model by testing retrieval, multi-hop tracing, aggregation and QA at increasing sequence lengths.
Built byNVIDIA (Hsieh, Sun et al.), 2024
Format13 synthetic tasks across 4 categories (retrieval, multi-hop tracing, aggregation, QA), evaluated from 4K to 128K+ tokens
Scoring metricWeighted-average accuracy across tasks and lengths; effective length is the longest length still above threshold
StatusActive
Representative top scoreNot independently confirmed; see the leaderboard
Official leaderboardgithub.com/NVIDIA/RULER

How RULER works

The benchmark contains 13 synthetic tasks in four categories: retrieval, multi-hop tracing, aggregation and question answering. Each is evaluated from 4,000 tokens up past 128,000. The reported figure is a weighted average across tasks and lengths, and the effective length is defined as the longest sequence length at which the model stays above a threshold. Because the tasks are synthetic and regenerable, contamination is close to impossible.

History and current status

NVIDIA researchers introduced RULER in 2024, when models were advertising rapidly growing context windows and needle-in-a-haystack tests were showing near-perfect results that did not match user experience. RULER demonstrated that the popular test was too easy, and the same critique was developed further by HELMET and BABILong.

What the score does not tell you

Synthetic tasks are the source of both its strength and its limitation. Being regenerable makes the benchmark ungameable, but the tasks are artificial: real long-context work involves messy documents and ambiguous questions, not constructed retrieval and aggregation problems. An effective-length number is therefore an upper bound on a specific kind of competence rather than a general guarantee.

This is the general case, not a quirk of one benchmark. For the four failure modes that decide whether any benchmark number means anything, read are AI benchmarks reliable, and for this row in particular, how benchmark contamination inflates scores.

Who reports RULER, and how to read it

RULER is used widely in academic long-context work and by some model developers, though rarely in launch marketing, where the advertised window is the more attractive number. If a model claims a very large context window with no RULER-style evidence, the effective length is the open question.

2024
First released
NVIDIA (Hsieh, Sun et al.)
Active
Status today
As of July 27, 2026
See board
Representative top score
Not independently confirmed

Benchmarks to read alongside this one

RULER: frequently asked questions

What is RULER?
RULER is a 2024 NVIDIA benchmark that measures effective context length using 13 synthetic tasks across retrieval, multi-hop tracing, aggregation and question answering, evaluated from 4,000 tokens to beyond 128,000. It reports the longest length at which a model stays above a performance threshold.
What is effective context length?
It is the longest input a model can actually use reliably, as opposed to the longest it will accept. A model may advertise a million-token window while degrading badly well before that, and RULER exists to locate the point where usable performance ends.
Why is needle-in-a-haystack not enough?
Because finding one distinctive fact in a long document is much easier than reasoning over several scattered facts. Models can score near-perfectly on needle tests and still fail multi-hop tracing or aggregation at the same length, which is what RULER, HELMET and BABILong measure.

Get each breakdown before it makes the rounds

You get one email when a new source-backed analysis goes live: what AI agents actually cost, which models are worth running, and what the benchmarks really mean. No hype.

No spam. Unsubscribe anytime.

← All 116 benchmarks in the directory