Skip to content
sinc-LLMBook a 15-minute call
Page signal: 16 sections as samples, joined by sinc reconstruction; computed from this page's text.

Effective Context Length: How to Test Whether a Long-Context LLM Uses Its Whole Window

A practical guide to measuring how much of a long context window a model can really use, with a test you can build from your own documents.

Quick Answer & Verified Key Facts

Direct Answer: Effective context length is the longest input length at which a model maintains task accuracy above a set bar across all fact positions, often much shorter than the advertised window. Needle tests prove basic lookup but miss reasoning and multi-fact tasks, so only task-specific tests reveal true effective length.

On this page

The context length on a model card is the most text the model will accept, not the most it can use well. Effective context length is the longest input at which the model still does your task at an accuracy you can live with. You find it by testing your own tasks across a grid of lengths and fact positions, not by trusting a needle test.

By Mario AlexandreLLM Performance & Reliability

A model card might say 128K tokens, or 1M. That number tells you how much text the model will take in. It does not tell you how much of that text the model will use well. This guide shows how to find the real number for your own task.

We will look at what the main research found, why the classic needle test can fool you, and how to build a test from your own files. You will end with a grid, a curve, and a clear rule for when to stuff the context and when to retrieve.

This page is about measurement. If you need a policy for what to keep in the window and what to drop, read our guide to LLM context window management. If you are still picking an architecture, start with RAG vs fine-tuning vs long context.

Advertised Context Length Versus Effective Context Length

Advertised context length is the most tokens a model accepts. Effective context length is the longest input at which the model still does your task well enough. The two can be far apart, and only a test on your own task can tell you the gap.

Think of the advertised number as the size of a desk. A big desk lets you spread out many pages. It does not mean you will read each page with care. The model can hold the text in view and still skim past the one line that matters.

Why the two numbers differ

Models are trained mostly on shorter text. Long inputs are rare in training data, and long training runs are costly. Many methods stretch a window after the main training. LongRoPE, for example, reports a method that extends the context window of pre-trained models to 2048k tokens. It does so with up to only 1k fine-tuning steps within 256k training lengths.

That is a real gain in what the model accepts. But a stretched window and a well-used window are not the same thing. The model may see positions it rarely saw in training. It may also need to spread its attention over far more tokens. Both can blunt recall and reasoning at the far end of the range.

The same caution holds for newer native long models. The Qwen2.5-1M report describes a series of models that extend the context length to 1 million tokens. It reports that they were greatly improved in long-context tasks without hurting short-context scenarios. That is strong work. It still does not tell you how your contract review or log audit will score at 600K tokens.

A working definition

Here is the definition we use in the rest of this page. Effective context length is the longest input length at which accuracy on your task stays at or above a bar you set, across all fact positions you care about.

Three parts of that definition matter. It is task specific, since lookup and reasoning fail at different lengths. It has a bar, since "works" means nothing without a number. And it covers all positions, since a model that only finds facts at the end is not using its whole window.

What Needle-in-a-Haystack Tests Show and What They Miss

A needle test plants one fact in a long filler text and asks the model to find it. It shows whether simple lookup works at each length and depth. It misses reasoning, combining facts, and cases where the question and the fact use different words.

The best known harness is Greg Kamradt's Needle In A Haystack repo. Its README says it runs a sweep of context length by needle depth cells against a model. It scores each response and writes one result row per cell to a JSONL file. Its quick demo runs 2 context lengths by 3 depths, for 6 cells.

The output is a heatmap. Length runs on one axis and depth on the other. Green cells mean the model found the needle. Many model launches show an all green chart to prove long-context skill.

What the heatmap proves

A green heatmap proves a few useful things. The model does not crash or truncate at that length. Its attention can reach every depth you tested. And it can copy a short fact back when asked.

Those are real checks. If a model fails a basic needle test at some length, it will fail harder tasks there too. So the needle test is a good floor. Treat a failure as a firm stop sign.

The harness has also grown past one fact. Its README lists built-in tasks for single-fact lookup, multi-fact recall, single-UUID retrieval, and UUID-chain hops for multi-step reasoning. Those extra tasks are worth running. They start to probe what the basic test leaves out.

What the heatmap hides

The basic needle is easy to spot. It is often a sentence that has nothing to do with the filler around it. And the question usually repeats the needle's words. The model can match words and never really read.

The RULER authors put it plainly. They say this simple retrieval test shows only a superficial form of long-context understanding. Their results back this up. Models that scored nearly perfect on the vanilla needle test still showed large drops as length grew on harder tasks.

So a green heatmap is a pass on lookup. It is not a pass on your task. Most real tasks ask for more: find three facts, link them, count things, or spot a fact phrased in new words. The rest of this guide is about testing those skills.

Position Effects From the Lost in the Middle Study

Where a fact sits in the prompt changes whether the model finds it. Facts near the start or end tend to be found more often than facts in the middle. Your test must place facts at many depths to catch this.

The key paper here is Lost in the Middle by Liu and coauthors. They tested two tasks: multi-document question answering and key-value retrieval. In the first, the model gets many documents and one holds the answer. In the second, the model gets a long list of keys and values and must return the value for one key.

They moved the relevant item to different spots in the input. They found that performance can degrade a lot when the position of relevant information changes. In their words, performance was often highest when the key fact sat at the beginning or end of the input. It dropped when the model had to use facts in the middle of long contexts.

Why this matters for builders

The finding held even for models built for long inputs. The paper says the drop showed up even for explicitly long-context models. So a large window does not protect you from the middle dip.

Think about how real prompts are built. A system prompt sits at the top. The user question sits at the end. Retrieved documents or chat history fill the middle. That middle is exactly where the paper saw the weakest recall.

The U-shaped curve

If you plot accuracy against fact depth, you may see a U shape. The left end is high, the middle sags, and the right end rises again. The depth of the sag tends to grow as the input gets longer.

Not every model shows the same shape. Some newer models have a flatter curve. Some sag only at the far end. That is why you test your own model on your own task, and you never assume the shape from a paper.

RULER Task Categories Beyond Retrieval

RULER is a synthetic benchmark that tests more than lookup. It varies the kind and number of needles, and it adds multi-hop tracing and aggregation tasks. It showed that many models fall well short of their advertised length once tasks get harder.

The RULER paper asks a sharp question in its title: what is the real context size of your model? It offers flexible settings for sequence length and task complexity. That lets you push one dial at a time and see what breaks.

The four task groups

RULER expands the vanilla needle test with diverse types and quantities of needles. It also adds new task categories, multi-hop tracing and aggregation, to test behaviors beyond searching. A fourth group asks questions over long text. Here is how we read each group for practical use.

Task group What the model must do What it reveals
Retrieval variants Find one or more needles, sometimes among similar fake needles Whether lookup holds up with many keys and close look-alikes
Multi-hop tracing Follow a chain, such as a variable passed from one name to the next Whether the model can link facts that sit far apart
Aggregation Count or list the most common items across the whole input Whether the model reads the full window, not just one spot
Question answering Answer a question when the answer document is buried among distractors Whether lookup works on natural text with real noise

What RULER found

The authors tested 17 long-context models on 13 representative tasks. Almost all models were nearly perfect on the vanilla needle test. Yet almost all showed large drops as context length grew on the full task set.

The headline result is about claimed length. All the models claimed context sizes of 32K tokens or more. According to the paper, only half of them kept satisfactory performance at 32K. That is a short distance into windows that were often advertised as far larger.

The lesson is not that one benchmark is the truth. The lesson is that a harder task gives a shorter effective length. Your own effective length will depend on how hard your real task is.

NoLiMa and Why Lexical Overlap Inflates Scores

NoLiMa shows that many long-context scores depend on word matching. When the question and the needle share few words, scores fall sharply with length. If your users ask questions in words that differ from your documents, this is the test that predicts your results.

The NoLiMa paper starts from a simple point. In many benchmarks, models can exploit literal matches between the needle and the haystack. If the question says "key code" and the needle says "the key code is 4471," the model just finds the matching words.

How NoLiMa removes the shortcut

NoLiMa uses a carefully designed set of needles. The questions and needles have minimal lexical overlap. To find the needle, the model must infer a hidden link between the words in the question and the words in the text.

Here is an illustrative case in the spirit of the paper, not one of its items. The needle says a character lives next to a famous opera house in a named city. The question asks which character has been to a certain country. The model must know the opera house is in that country. No shared word points the way.

What NoLiMa found

The authors tested 13 popular models that claim at least 128K tokens. The models did well on short inputs under 1K tokens. As length grew, performance fell a lot.

The numbers are stark. According to the paper, 11 models dropped below 50% of their strong short-length baselines at 32K tokens. Even GPT-4o, one of the top performers, went from an almost perfect 99.3% to 69.7% according to the authors.

The paper links the drop to attention. It says attention has a harder time in longer contexts when literal matches are absent. It also reports that models with reasoning skills or chain of thought prompts still struggle to keep their scores in long contexts.

What this means for your test

Look at how your users ask questions. A support agent might ask "Can the client cancel early?" while the contract says "termination for convenience." That is a low overlap case. A needle test with matching words would overstate how well the model handles it.

So when you build your own test, write half your questions with different words than the source text. Then compare the two halves. If the low overlap half falls off much sooner, your effective length is the shorter one.

Other Long-Context Benchmarks Worth Knowing

BABILong tests reasoning over facts spread through very long natural text. Papers on window extension, such as LongRoPE and Qwen2.5-1M, show how fast the advertised numbers grow. Together they remind you that accepting text and reasoning over it are separate skills.

BABILong

The BABILong benchmark was built to test reasoning across facts spread through very long documents. It includes a set of 20 reasoning tasks. These cover fact chaining, simple induction, deduction, counting, and handling lists and sets.

The authors report that popular models effectively use only 10 to 20 percent of the context, per their results. Performance also falls sharply as reasoning gets more complex. That matches the RULER finding: harder tasks shrink the usable window.

BABILong also tested retrieval as an option. According to the paper, retrieval augmented methods reached a modest 60% accuracy on single-fact question answering, and that score did not depend on context length. That is a useful data point. Retrieval does not fade with length, but it has its own ceiling.

The benchmark can be extended to any length. The authors provide splits up to 10 million tokens. That makes it a good choice if you want to see where a model's curve bends at very long inputs.

LongRoPE and Qwen2.5-1M

These are not test suites. They are methods and models that make windows larger. We include them because they show the gap from the other side.

LongRoPE reports stretching the window of pre-trained models to 2048k tokens while keeping performance at the original short window. Qwen2.5-1M reports models with a 1 million token window. Both are real advances. Neither paper claims your task will hold up across the full window, and you should not assume it.

How the benchmarks compare

Benchmark Main skill tested Word overlap shortcut Best use for you
Needle In A Haystack Single and multi fact lookup at set depths Often present Smoke test and floor check
Lost in the Middle Position effects in QA and key-value lookup Present Checking the middle dip
RULER Lookup, multi-hop tracing, aggregation, QA Varies by task Seeing how task difficulty shrinks length
NoLiMa Lookup with minimal word overlap Removed by design Predicting results for paraphrased questions
BABILong Reasoning over spread out facts Varies by task Testing chains and counting at extreme length

Public benchmarks are a guide. They tell you which kinds of tasks to include. They do not replace a test on your own documents, which is the next section.

Building an In-House Test From Your Own Documents

The best test uses your own files, your own question style, and your own scoring rule. Build a grid of input lengths by fact depths. Fill each cell with questions of several types, add distractors, and score with a fixed rule. The result is a curve you can trust for your task.

Public benchmarks use filler text such as essays or made up stories. Your real inputs look different. Contracts repeat clauses. Logs repeat lines. Support tickets share the same phrases. Those patterns change how hard it is to find the right fact, so your test should use them.

Step 1: Pick the task and the bar

Write down the one task you care about most. "Answer policy questions from a 300 page handbook" is a task. "Long context works" is not. Then set the bar, such as 90 percent correct, that the task must meet in production.

Pick the bar before you see any results. If you pick it after, you will be tempted to move it to fit the curve. A fixed bar keeps the test honest.

Step 2: Build the haystack from real documents

Collect a pool of real documents of the kind the model will see. Use enough text to fill your longest test length. Cut them into chunks at natural breaks, such as sections or files.

To build an input of a set length, stack chunks until you reach the target token count. Use the model's own tokenizer to count. Different tokenizers can disagree a lot on the same text, so a count from the wrong one will put your grid in the wrong place.

Step 3: Write the needles

A needle is a fact you plant, or a fact that already sits in the text, whose answer you know. Real facts from your documents are best. If you plant new facts, make them fit the style of the text around them, so they do not stand out.

Write each question two ways. One uses the same words as the needle. The other uses different words, in the spirit of NoLiMa. Score the two kinds apart. The gap between them tells you how much your scores lean on word matching.

Step 4: Set the length and depth grid

The grid is the core of the test. Pick lengths that span from short to the full window. Pick depths from 0 percent, the very top, to 100 percent, the very end. The open source needle harness uses the same length by depth layout, so its tools can help you run and plot it.

A good starter grid is shown below. It has five lengths and five depths, for 25 cells. Adjust the lengths to your model's window.

Lengths (tokens) Depths (share of input before the needle)
8K, 32K, 64K, 128K, and the full window 0%, 25%, 50%, 75%, 100%

Add more depths if you see a sharp dip, since the dip can hide between two coarse points. Add more lengths near the point where the curve bends.

Step 5: Add distractors

A distractor is a passage that looks like the answer but is wrong. Real documents are full of them. An old version of a policy, a draft clause, or a log line from a different server all count.

Plant at least one close distractor in some cells. For example, if the needle says the refund window is 30 days, add an older section that says 14 days and is marked as replaced. Then check whether the model picks the right one. RULER's retrieval variants use look-alike needles for the same reason.

Step 6: Add multi-hop and aggregation questions

Lookup alone is not enough. Add questions that need two or more facts linked together. For example: "Which team owns the service that failed on the 3rd?" The model must find the failure, then find the owner, which may sit far away.

Then add aggregation questions. These ask the model to count, list, or sum across the whole input. "How many tickets mention a refund?" is one. These are the hardest, and they show whether the model reads the full window or only the parts near the question. RULER and BABILong both found that harder reasoning shrinks the usable window, so expect these curves to fall first.

Step 7: Score with a fixed rule

Decide how to score before you run. For short facts, use exact match after simple clean up, such as lower case and no extra spaces. For counts, require the exact number. For longer answers, use a rubric with clear pass and fail points.

If you use a model as a grader, test the grader first. Give it 50 answers you scored by hand and check how often it agrees. A grader that is wrong one time in ten will blur your curve. If you want to tune the prompts the model sees during the test, our guide to prompt compilation with DSPy covers how to do that without fitting to your test set.

Step 8: Run, log, and keep every input

Run every cell with the same settings. Fix temperature, max output tokens, and the system prompt. Log the full input, the output, the score, the token count, and the latency for each call.

Keep the inputs. When a cell fails, you will want to see exactly what the model saw. The needle harness has a command to rebuild the exact context any cell saw from its result file. Copy that idea in your own tool.

Step 9: Plot the curves

Make one plot per question type. Put length on the x axis and accuracy on the y axis. Draw one line per depth, or average across depths and shade the spread. Draw your bar as a flat line.

The effective length for each question type is the longest length where every depth stays above the bar. Report the lowest of those across the types you need. That is the number to put in your design doc.

Worked Example: Reading a Degradation Curve

The numbers in this section are illustrative arithmetic, not measured results. They show how to turn a grid into one decision. Suppose a team tests a model with a 128K window for a policy question task, with a bar of 90 percent.

The setup

Suppose the team uses 5 lengths and 5 depths, so 25 cells. Each cell holds 20 questions: 10 lookup questions with the same words, 5 lookup questions with different words, and 5 two-hop questions. That makes 500 graded answers in total.

Suppose the run uses an average input of about 60K tokens across the grid. Then the test reads about 500 times 60K, or 30 million input tokens. That is the cost to budget for one full run in this example.

The results

Suppose the average results across depths look like this.

Length Same words lookup Different words lookup Two-hop
8K 99% 97% 94%
32K 98% 91% 86%
64K 97% 83% 74%
128K 95% 70% 58%

In this example, same-words lookup stays above 90 percent at every length. A needle test would call the model good to 128K. But the different-words line falls below the bar after 32K. The two-hop line is already below the bar at 32K.

Reading the curve

Now look at depth. Suppose the 50 percent depth cell at 32K scores 80 percent on different-words lookup, while the ends score near 96 percent. The average of 91 percent hides a weak middle. Under our definition, all depths must clear the bar, so 32K fails for that question type.

So what is the effective length? In this illustrative case, it is about 8K for two-hop questions and under 32K for paraphrased lookup. If the real task needs both, the honest answer is 8K to 16K, not 128K. The team should test 16K next to pin it down.

What the team does next

The team has three paths. It can keep inputs under the measured length by retrieving a shortlist first. It can move key facts to the ends of the prompt. Or it can change models and rerun the same grid. The grid makes all three easy to compare, because the test stays fixed while one thing changes.

Prompt Placement Advice for Long Inputs

Put long documents at the top of the prompt and the question at the end. Wrap each document in tags with its source. Ask the model to quote the relevant parts before it answers. Then confirm each change with your own grid.

These tips come from Anthropic's long context prompting guide. The guide targets large documents or data-rich inputs of 20k+ tokens. It says to place long documents and inputs near the top of the prompt, above the query, instructions, and examples.

According to the guide, queries at the end can improve response quality by up to 30 percent in their tests, especially with complex inputs that hold many documents. That fits the Lost in the Middle pattern. The question sits at the end, where recall is strong, and the model reads the data with the question fresh in view.

Structure with tags

The guide also says to wrap each document in document tags, with content and source subtags and other metadata. This helps the model keep documents apart. It also lets the model cite which document a fact came from, which makes your scoring easier.

Quote first, then answer

For long document tasks, the guide suggests asking the model to quote the relevant parts of the documents first. Then it carries out the task. This helps the model focus on what matters and ignore the rest.

Quotes also help you test. If the answer is wrong, you can see whether the model found the wrong passage or found the right one and reasoned badly. Those are two different fixes, and quotes tell you which one you need.

Test placement as a variable

Do not take any tip on faith. Add placement as a dial in your grid. Run the same cells with the question at the top and at the end. If the end placement wins on your task, keep it. If it does not, you have learned something about your model.

When to Retrieve Instead of Stuffing the Context

Retrieve when your corpus is bigger than your measured effective length, when you need only a few facts, or when cost and speed matter. Use the full context when the task needs many facts combined and your test shows the model holds up at that size.

Stuffing the whole corpus into the window is simple. There is no index to build and no chunks to tune. But each call pays for every token, and long inputs also take more memory to serve. Our guide to KV cache memory for long-context serving explains why long prompts cost more to run.

Retrieval has limits too. BABILong reported that retrieval methods reached about 60 percent on single-fact questions in its tests, a level that did not change with length. A bad retriever caps your accuracy no matter how good the model is. If you choose retrieval, test it the same way you test the model.

Situation Better choice Why
Corpus far larger than your effective length Retrieve The model cannot use it all anyway
Answer needs one or two facts Retrieve Short inputs are cheaper and recall is higher
Answer needs counts or summaries over a whole document Long context Retrieval may drop items the count needs
Facts link across distant sections Long context, if your two-hop curve holds Chunking can break the chain
Strict latency or cost per call Retrieve Fewer input tokens per call
Questions use different words than the source Test each option Lexical retrieval and long context can both miss these

A hybrid often wins. Retrieve a generous shortlist that fits well under your effective length, then let the model read it in full. That keeps the input in the range where your curve is strong. For a deeper look at the trade-offs, see RAG vs fine-tuning vs long context and, for linked facts, GraphRAG vs vector RAG.

Failure Modes and How to Detect Them

Most long-context tests fail in quiet ways. The model looks fine, but the test was too easy, or the scoring was off, or the input was not what you thought. Here are the common traps and how to catch each one.

Word matching passes for reading. Your questions repeat the needle's words, so scores look high. Detect it by splitting scores into same-words and different-words groups. A large gap means your headline number is inflated.

The needle stands out. A planted fact on a new topic is easy to spot. Detect it by checking whether the model finds needles faster than real facts from the same text. Fix it by using real facts or needles written in the local style.

The middle dip hides in an average. A single accuracy number per length can mask a weak middle. Detect it by plotting each depth on its own line. Fix it by using the worst depth, not the mean, to set the effective length.

Silent truncation. Some APIs or wrappers cut input that is too long without an error. Detect it by logging the token count the API reports back, and by placing a needle in the last line. If the end needle always fails, check for cutting.

Wrong tokenizer. You count tokens with one tokenizer and the model uses another. Your 128K cell may really be 110K or 150K. Detect it by comparing your count with the usage the API reports.

Grader drift. A model grader marks wrong answers as right, or the reverse. Detect it by grading a hand-scored sample every run. If agreement drops, fix the grader before trusting the curve.

Too few questions per cell. With 5 questions, one miss moves a cell by 20 points. Detect it by checking how much results move between two runs. If they jump around, add questions.

Testing only lookup. The model passes lookup but your task needs counting or linking. Detect it by mapping each real user request to a question type. If a type has no test cell, add one.

Stale results. Model versions change behind the same name. Detect it by rerunning a small fixed set of cells each week. A change in those cells means the full grid needs a rerun.

Long-Context Testing Checklist

Use this list before you trust any context length claim, including your own.

  • Write down the task and the accuracy bar before testing.
  • Build inputs from your real documents, counted with the model's own tokenizer.
  • Use a length by depth grid with at least five depths, including 0 and 100 percent.
  • Write each lookup question in same words and different words forms.
  • Add close distractors, such as old versions of the same fact.
  • Add two-hop and aggregation questions if your task needs them.
  • Put at least 20 questions in each cell.
  • Fix temperature, output limit, and system prompt for every run.
  • Log the full input, output, score, token count, and latency.
  • Check your grader against a hand-scored sample.
  • Plot each depth and each question type on its own line.
  • Set effective length by the worst depth for the hardest needed type.
  • Test prompt placement and retrieval as variables on the same grid.
  • Rerun a small fixed set of cells when the model version changes.

Long windows keep growing, and that is good news. But the window size is a ceiling, not a promise. A small grid built from your own documents tells you where your model really stops reading well. sinc-LLM helps teams design and test these systems so the number in the design doc matches what users see.

Frequently asked questions

What is effective context length?

Effective context length is the longest input at which a model still does your task at an accuracy you accept. It is set by testing, not by the spec sheet. A model may accept a very long input and still miss facts, mix up details, or fail to combine facts well before the limit. You find the real number by sweeping length and fact position on your own task and reading where the accuracy curve falls below your bar.

Why do needle-in-a-haystack tests overstate long-context ability?

A basic needle test asks the model to find one planted sentence that shares words with the question. The model can match those words and skip real reading. The RULER paper calls this test a superficial form of long-context understanding, and NoLiMa shows scores drop a lot once the question and needle share few words. A perfect needle heatmap tells you lookup works, not that reasoning over the whole window works.

What does lost in the middle mean?

Lost in the middle names a position effect found by Liu and coauthors. They report that models often do best when the key fact sits at the start or end of the input, and worse when it sits in the middle. The effect showed up even in models built for long inputs. In practice, it means you must test many fact depths, not only the end of the document.

How many test cases do I need for a useful long-context test?

Start with a grid of about five lengths and five depths, which gives 25 cells. Put at least 20 questions in each cell, so the grid holds 500 graded answers. That is enough to see a clear trend. If two settings differ by only a few points, add more questions per cell before you trust the gap, since small cells give noisy rates.

Where should I put the question in a long prompt?

Anthropic's long-context tips say to put long documents near the top of the prompt, above the query, instructions, and examples. They report that queries at the end can improve response quality by up to 30 percent in their tests, mainly with complex inputs that hold many documents. Wrap each document in tags with its source, and ask the model to quote the relevant parts first.

When should I use retrieval instead of a long context?

Use retrieval when your corpus is larger than your measured effective length, when the facts you need are few and easy to find, or when cost and latency per call matter. Use the long context when the task needs many facts combined across a document, and your test shows the model holds up at that length. Many teams use both: retrieve a shortlist, then read it in full.

Does a model with a 1 million token window remove the need for testing?

No. Larger windows are real progress, and reports such as the Qwen2.5-1M technical report show strong gains on long tasks. But a large window says how much text the model accepts. It does not say how well your task holds up at that size. Your documents, question style, and need for multi-step reasoning all change the answer, so you still need your own curve.

Sources

  1. Lost in the Middle: How Language Models Use Long Contexts (Liu et al.): Position effects in multi-document QA and key-value retrieval.
  2. RULER: What's the Real Context Size of Your Long-Context Language Models?: Synthetic benchmark with retrieval, multi-hop tracing and aggregation tasks.
  3. NoLiMa: Long-Context Evaluation Beyond Literal Matching: Needle test with minimal word overlap between question and needle.
  4. Needle In A Haystack test harness (Greg Kamradt): Open source sweep of context length by needle depth.
  5. Anthropic: Long context prompting tips: Document placement, XML structure and quote-first prompting.
  6. BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystack: Twenty reasoning tasks spread across very long natural text.
  7. LongRoPE: Extending LLM Context Window Beyond 2 Million Tokens: Context extension method, a reminder that window size and use differ.
  8. Qwen2.5-1M Technical Report: Open models with a 1 million token window.
Original source record

Skip to content

sinc-LLMAboutBlogServices