# The Needle In a Haystack Test > The Needle In a Haystack Test, introduced by Greg Kamradt The Needle In a Haystack [Test](https://wiki.g15e.com/pages/LLM%20benchmarks.txt), introduced by Designed to measure an [LLM](https://wiki.g15e.com/pages/Large%20language%20model.txt)'s ability to retrieve a specific piece of information (the "needle") embedded within a large and often irrelevant block of text (the "haystack"). The test systematically varies the depth at which the "needle" is placed within the context window and the overall size of the "haystack" to assess the model's performance under different conditions. https://www.youtube.com/watch?v=KwRRuiCCdmc ## See also - [AbsenceBench](https://wiki.g15e.com/pages/AbsenceBench.txt): The opposit of NIAH test.