AI context length accuracy statistics from the RULER benchmark By Thread Recover, Thread Recover. Sources checked 2026-11-11. Compare long-context model accuracy at 4K to 128K tokens and turn the gap into a checkout evidence test. ## Quick answer In the 2024 RULER benchmark, three named model configurations scored 96.6% to 96.9% across 13 synthetic tasks at 4K tokens. At 128K tokens, Gemini 1.5 Pro scored 94.4%, GPT-4 scored 81.2% and Qwen2 72B scored 53.7%. Those historical benchmark results show why teams should measure usable accuracy at realistic context lengths before relying on a model’s advertised capacity. Hsieh et al., RULER: What’s the Real Context Size of Your Long-Context Language Models? (https://arxiv.org/html/2404.06654) ## Key findings and sources ### Short context and long context results for three configurations In Hsieh et al.’s 2024 RULER comparison of 13 synthetic tasks per length, Gemini 1.5 Pro, GPT-4 and Qwen2 72B scored 96.7%, 96.6% and 96.9% at 4K tokens. At 128K they scored 94.4%, 81.2% and 53.7%, respectively. Hsieh et al., RULER: What’s the Real Context Size of Your Long-Context Language Models? (https://arxiv.org/html/2404.06654) ### GPT-4 relative to the authors’ effective context threshold In RULER’s 2024 Table 3, GPT-4 averaged 87.0% at 64K tokens and 81.2% at 128K over 13 synthetic tasks. The authors used 85.6% as their comparison threshold, so the reported effective length for that tested configuration was 64K. Hsieh et al., RULER: What’s the Real Context Size of Your Long-Context Language Models? (https://arxiv.org/html/2404.06654) ### One configuration’s change from 32K to 64K In Hsieh et al.’s 2024 RULER Table 3, Qwen2 72B averaged 94.1% at 32K tokens and 79.8% at 64K across 13 synthetic tasks, a 14.3 percentage-point decline in the benchmark average. Hsieh et al., RULER: What’s the Real Context Size of Your Long-Context Language Models? (https://arxiv.org/html/2404.06654) ### The model ordering reversed at another length In RULER’s 2024 comparison, Llama 3.1 70B scored 88.4% versus 84.7% for 8B at 64K tokens. At 128K it scored 66.6% versus 77.0% for 8B. The comparison concerns the tested configurations and 13-task average. Hsieh et al., RULER: What’s the Real Context Size of Your Long-Context Language Models? (https://arxiv.org/html/2404.06654) ### Meaning of the effective length RULER’s 2024 authors defined effective context length as the largest tested length exceeding the 85.6% Llama2-7B score at 4K on their 13-task benchmark. The threshold and the tested lengths are part of the definition. Hsieh et al., RULER: What’s the Real Context Size of Your Long-Context Language Models? (https://arxiv.org/html/2404.06654) ### How much of the 4K score remained at 128K In RULER Table 1, Gemini 1.5 Pro retained 97.62% of its own 4K aggregate score at 128K tokens, GPT-4 retained 84.06%, and Qwen2 72B retained 55.42%. These ratios describe the tested historical configurations and synthetic tasks. Hsieh et al., RULER: What’s the Real Context Size of Your Long-Context Language Models? (https://arxiv.org/html/2404.06654) ### The last context-length step produced very different score losses In the RULER Table 3 benchmark, moving from 64K to 128K reduced scores by 1.5 points for Gemini 1.5 Pro, 5.8 points for GPT-4 and 26.1 points for Qwen2 72B. These are synthetic benchmark accuracy differences. Hsieh et al., RULER: What’s the Real Context Size of Your Long-Context Language Models? (https://arxiv.org/html/2404.06654) ### Single-needle and broader RULER results differed at 128K At 128K in RULER, GPT-4 scored 100.0% on vanilla single-needle retrieval and 81.2% on the 13-task mean, an 18.8-point difference between the two task measures. Hsieh et al., RULER: What’s the Real Context Size of Your Long-Context Language Models? (https://arxiv.org/html/2404.06654) RULER selected GPT-4 benchmark configuration at 128K tokens. Subtract the Table 3 mean from the same-length Table 11 single-needle score. ### A single-needle tie concealed a 10.4-point suite gap at 128K Llama 3.1 70B and 8B both scored 99.6% on RULER’s 128K vanilla needle test. Their reported 13-task means at that length were 66.6% and 77.0%, respectively. Hsieh et al., RULER: What’s the Real Context Size of Your Long-Context Language Models? (https://arxiv.org/html/2404.06654) RULER selected Llama 3.1 configurations at 128K tokens. Compare the two models in Table 11, then compare their Table 3 means for the same length. ## Compare the results Figure description: Accuracy at 128K tokens in RULER. Exact values are also in the study data. Accuracy at 128K tokens in RULER. ## A short-context tie can conceal a very different long-context result At 4K tokens, Gemini 1.5 Pro, GPT-4 and Qwen2 72B were within 0.3 percentage points of one another in RULER. At 128K the scores were 94.4%, 81.2% and 53.7%. The smallest change between those lengths was 2.3 points and the largest was 43.2. All three could receive inputs much longer than 4K, yet the average accuracy at those lengths varied widely in the configurations the researchers tested. A shop sees a similar planning problem when a small demo becomes a long checkout conversation. A demo may contain one variant, one destination and one clean shipping rule. In production, a shopper can add a second item, clarify a different postal code and ask whether a code changes the payable total. An average success rate from the short demo gives little evidence about behavior after those additional details enter the record. ## Test the length at which a chosen threshold stops holding The authors defined effective context length using an 85.6% comparison threshold, the score of Llama2-7B at 4K in their experiment. GPT-4 scored 87.0% at 64K and 81.2% at 128K. Qwen2 72B went from 94.1% at 32K to 79.8% at 64K. This makes the result operational. If you choose an acceptable score before testing, the longest usable input in a particular evaluation is the last tested length at which it still clears that bar. Choose a threshold for the checkout decision you actually need. A shipping estimator can be graded on whether it uses the correct destination, current basket and confirmed promise. An order modification can be graded on whether it uses the right order, verifies the action and preserves product eligibility. Use a stricter standard for changes to money or order state than for a harmless explanation. Report the threshold, the tested lengths and which errors would require a human handoff. ## Use an example where the decisive fact is easy to bury Prepare a case where a shopper first asks whether a medium fits, then confirms a different variant several turns later. Compare a short evidence packet that includes the latest variant, current dimensions and a scoped return rule with a full transcript that also contains the superseded version. At each length ask for the same answer, hold the confirmed facts constant, and score whether the reply uses the latest item and acknowledges the missing measurement if the purchase still depends on it. Then place the decisive fact early, in the middle and near the end of the evidence packet. Hold the number of conflicting records and the expected answer constant within each comparison. The RULER authors’ synthetic setup varies the amount and placement of relevant and distracting information. Your own placement checks can reveal whether a specific mistake comes from record selection, context length or the way the assistant answers after it retrieves the right fact. ## Keep short-context performance and long-context consistency separate In the same paper, Llama 3.1 70B scored 88.4% at 64K versus 84.7% for the 8B configuration. At 128K the measured order reversed, with 66.6% and 77.0% respectively. This is a counterexample to choosing a configuration from an earlier length and assuming the same order later. It does not predict a general advantage for smaller models. A merchant can test selective context before paying for a larger window. Retrieve the current cart, the applicable policy and the most recent confirmed shopper constraint. Keep older material available for audit, but pass it into the answer only when it resolves an open question. Compare that approach with the full-record option on the same cases. Evaluate whether the answer is correct, whether it cites the applicable evidence and whether it asks or routes the case when it cannot confirm a material condition. Keep the routing decision in the scorecard. A model that states it cannot verify which cart is current has behaved differently from one that confidently modifies the old cart. If a larger prompt raises the number of wrong-order actions, shorter context with a human fallback may be the more useful system even when it answers fewer cases on its own. ## Normalize long-context scores against each model’s short-context result The three selected RULER configurations all started between 96.6% and 96.9% at 4K tokens. Their 128K scores retained different fractions of those starting levels: approximately 97.62% for Gemini 1.5 Pro, 84.06% for GPT-4, and 55.42% for Qwen2 72B. These are ratios of benchmark scores, not accuracy rates in their own right. A score of 53.7% at 128K is still 53.7% task accuracy in the reported aggregate. Normalization is useful when a team wants to see how much of a configuration’s own short-context performance it holds as the input grows. Keep the underlying scores visible. A model that begins weakly and barely changes may look stable on a relative chart but still fail the store’s accuracy requirement. Here, the three starting scores were close enough that the large differences at 128K are easy to see both ways. For a merchant’s context budget, test the same answerable question at several lengths with realistic extra material. Keep the source SKU and eligible offer unchanged. Measure exact answers, wrong confident answers and unresolved cases separately. Repeat with the critical detail early and late in the input. If retrieving a short, current record keeps accuracy high, adding more history may be unnecessary. If truncation removes a needed condition, the fix is a better retrieval rule, not simply a shorter prompt. ## Measure the failure boundary before making longer histories routine Gemini 1.5 Pro dropped 1.5 points between the 64K and 128K columns in RULER. GPT-4 dropped 5.8 points and Qwen2 72B dropped 26.1 points on the same interval. These differences are much larger for some models than others even though all three ran the same reported benchmark lengths. That makes the next step in history size a test condition rather than a setting you can select from the model’s advertised limit. A checkout assistant may carry a product catalog, brand policy, current cart and prior messages into one answer. Most requests need only a small part of that material. For a gift-return question, load the current item, purchase date and applicable exception first. Then compare a short context with the full eligible conversation, scoring the exact policy and item match. Include two conversations of the same length where one has relevant information near the start and the other near the end. Use the result to set a retrieval and escalation rule. If shortening history repairs accuracy without removing required facts, prefer the shorter input. If short input misses a correction or an order identifier, fix how the system selects current state. Test the threshold on high-cost outcomes separately. A small average change in a benchmark can hide an unacceptable error when it changes what a customer is asked to pay. ## A perfect lookup leaves most of the checkout job untested At 128K tokens in RULER, GPT-4 scored 100.0% on the vanilla single-needle test and 81.2% on the suite’s 13-task mean. The Llama 3.1 70B and 8B rows tie at 99.6% on the single-needle test and diverge to 66.6% and 77.0% on the suite mean. A demonstration that retrieves one exact string could call those models equivalent even though the broader task set separated them by 10.4 points at that length. The contrast compares different task bundles at the same input length. It does not isolate the effect of an individual extra requirement or imply that the smaller Llama configuration is better for every retrieval task. The stronger inference is that an isolated lookup can underrepresent the work required to interpret several related facts correctly. The single-needle task remains useful as a diagnostic. It can reveal whether a record is visible at all. A suite that only checks a perfect literal lookup gives weak evidence about a workflow that joins product attributes, dates and customer permissions. Use the simple and composed cases together so their difference has a clear interpretation. ## Test several facts that must agree before an action For a return question, a simple fixture can require the policy deadline alone. A harder fixture should require the item variant, date, exception and latest order status from different parts of the conversation. Insert a plausible but stale record as a distractor. Then test which evidence the assistant used and whether all conditions support the action it suggests. Score the ability to locate a record separately from the ability to combine the facts and reach the right answer. If the one-fact check passes while the composite case fails, fix selection of the relevant state or add a targeted check before trusting longer input. A large context remains useful when it includes evidence needed for a complex issue. Confirm the advantage on the case that needs it, and keep an escalation path for ambiguous order state. Compare inputs of the same length as well as different lengths. If moving the decisive order correction from the middle to the end improves the result, the problem may be where the information is placed. If errors persist when every needed fact is near the end, examine how the assistant uses the facts once it finds them. ## Study data Table: Hsieh et al., RULER: What’s the Real Context Size of Your Long-Context Language Models? Measure | Value | Context Gemini 1.5 Pro accuracy at 4K | 96.7% | Average benchmark accuracy at 4K tokens Gemini 1.5 Pro accuracy at 8K | 95.8% | Average benchmark accuracy at 8K tokens Gemini 1.5 Pro accuracy at 16K | 96.0% | Average benchmark accuracy at 16K tokens Gemini 1.5 Pro accuracy at 32K | 95.9% | Average benchmark accuracy at 32K tokens Gemini 1.5 Pro accuracy at 64K | 95.9% | Average benchmark accuracy at 64K tokens Gemini 1.5 Pro accuracy at 128K | 94.4% | Average benchmark accuracy at 128K tokens GPT-4 accuracy at 4K | 96.6% | Average benchmark accuracy at 4K tokens GPT-4 accuracy at 8K | 96.3% | Average benchmark accuracy at 8K tokens GPT-4 accuracy at 16K | 95.2% | Average benchmark accuracy at 16K tokens GPT-4 accuracy at 32K | 93.2% | Average benchmark accuracy at 32K tokens GPT-4 accuracy at 64K | 87.0% | Average benchmark accuracy at 64K tokens GPT-4 accuracy at 128K | 81.2% | Average benchmark accuracy at 128K tokens Qwen2 72B accuracy at 4K | 96.9% | Average benchmark accuracy at 4K tokens Qwen2 72B accuracy at 8K | 96.1% | Average benchmark accuracy at 8K tokens Qwen2 72B accuracy at 16K | 94.9% | Average benchmark accuracy at 16K tokens Qwen2 72B accuracy at 32K | 94.1% | Average benchmark accuracy at 32K tokens Qwen2 72B accuracy at 64K | 79.8% | Average benchmark accuracy at 64K tokens Qwen2 72B accuracy at 128K | 53.7% | Average benchmark accuracy at 128K tokens Llama 3.1 70B accuracy at 64K | 88.4% | Average benchmark accuracy at 64K tokens Llama 3.1 70B accuracy at 128K | 66.6% | Average benchmark accuracy at 128K tokens Llama 3.1 8B accuracy at 64K | 84.7% | Average benchmark accuracy at 64K tokens Llama 3.1 8B accuracy at 128K | 77.0% | Average benchmark accuracy at 128K tokens GPT-4 single vanilla needle result at 128K | 100% | Reported exact benchmark score under the specified task set. Llama 3.1 70B single vanilla needle result at 128K | 99.6% | Reported exact benchmark score under the specified task set. Llama 3.1 8B single vanilla needle result at 128K | 99.6% | Reported exact benchmark score under the specified task set. ## What changes when you compare the figures Table: Calculations from the published values above. Comparison | Result | Calculation Gemini 1.5 Pro decline from 4K to 128K | 2.3 percentage points | = 96.7 - 94.4 GPT-4 decline from 4K to 128K | 15.4 percentage points | = 96.6 - 81.2 Qwen2 72B decline from 4K to 128K | 43.2 percentage points | = 96.9 - 53.7 Qwen2 72B decline from 32K to 64K | 14.3 percentage points | = 94.1 - 79.8 Llama 3.1 70B minus 8B at 64K | 3.7 percentage points | = 88.4 - 84.7 Llama 3.1 8B minus 70B at 128K | 10.4 percentage points | = 77.0 - 66.6 Gemini 1.5 Pro 128K score as a share of its 4K score | 97.62 % of 4K score | = 94.4 / 96.7 * 100 GPT-4 128K score as a share of its 4K score | 84.06 % of 4K score | = 81.2 / 96.6 * 100 Qwen2 72B 128K score as a share of its 4K score | 55.42 % of 4K score | = 53.7 / 96.9 * 100 Gemini 1.5 Pro score drop between 64K and 128K | 1.5 percentage points | = 95.9 - 94.4 GPT-4 score drop between 64K and 128K | 5.8 percentage points | = 87.0 - 81.2 Qwen2 72B score drop between 64K and 128K | 26.1 percentage points | = 79.8 - 53.7 GPT-4 single-needle score minus full RULER mean at 128K | 18.8 percentage points | = 100 - 81.2 Llama 3.1 70B single-needle score minus full RULER mean at 128K | 33.0 percentage points | = 99.6 - 66.6 Llama 3.1 8B single-needle score minus full RULER mean at 128K | 22.6 percentage points | = 99.6 - 77.0 Difference between the two Llama single-needle scores | 0.0 percentage points | = 99.6 - 99.6 ## Methodology and sources We transcribed named rows and length columns in Hsieh et al.’s RULER Table 3. Accuracy is an average of 13 benchmark tasks at each length. The reported effective length uses the authors’ reference threshold of 85.6%, based on Llama2-7B at 4K. We compare within a model across lengths, then contrast specified configurations at the same length. All differences use published rounded scores. Model versions, task content and deployment conditions constrain transfer to a store. [Download the source data (CSV)](decision-table.csv) [Download the calculations (CSV)](calculations.csv) [Download the citation notes (CSV)](citation-notes.csv) [Download the evidence behind the new findings (CSV)](finding-evidence.csv) ## Related reading AI multi-turn conversation reliability statistics (https://threadrecover.com/guides/ai-multi-turn-conversation-statistics/) Clarifying question accuracy statistics for AI checkout (https://threadrecover.com/guides/clarifying-question-accuracy-statistics/) Multilingual AI checkout statistics for locale-specific instruction following (https://threadrecover.com/guides/multilingual-ai-checkout-instruction-following-statistics/) Keep yesterday’s offer out of today’s checkout texts (https://threadrecover.com/guides/expire-delivery-or-offer-in-checkout-reply/) Browse checkout recovery research (https://threadrecover.com/research/) ## Sources and definitions Hsieh et al., RULER: What’s the Real Context Size of Your Long-Context Language Models? (https://arxiv.org/html/2404.06654) The source data includes the population, period, denominator and limitations for every figure. Thread Recover · threadrecover.com