Bigger Context Windows Didn't Make Our RAG Smarter — Stable…
    Neura MarketNeura Market/Stable Diffusion
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityStable DiffusionStable Diffusion
    DeepSeekDeepSeekCoPilotCoPilotMidjourneyMidjourney
    View All Directories
    OverviewPromptsBlogVideosGuidesCoursesCommunityModelsLoRAsComfyUI WorkflowsTrending
    Stable DiffusionBlogBigger Context Windows Didn't Make Our RAG Smarter
    Back to Blog
    Bigger Context Windows Didn't Make Our RAG Smarter
    ai

    Bigger Context Windows Didn't Make Our RAG Smarter

    ValeryKot July 8, 2026
    0 views

    We stopped measuring retrieval quality by how many tokens we could fit into the prompt. When...

    We stopped measuring retrieval quality by how many tokens we could fit into the prompt.

    When long-context models became available, many of us made the same assumption.

    If an LLM can read 128K tokens, retrieval suddenly feels less important. Why spend time carefully selecting documents if the model can simply read everything?

    It sounds reasonable.

    In practice, it wasn't.

    More context, worse answers

    Imagine asking your internal assistant:

    Why did we abandon microservices?

    Retrieval returns thirty documents.

    • an architecture decision record
    • a few Jira tickets
    • Slack discussions
    • meeting notes
    • a glossary page

    Everything is related.

    Almost nothing answers the question.

    The actual decision lives in a single ADR written months earlier. It explains the trade-offs: team size, latency, deployment complexity, operational cost.

    But that document isn't especially similar to the query. It doesn't repeat the same vocabulary. It doesn't even mention "microservices" very often.

    So it gets buried.

    The model now receives thirty relevant documents and does what language models are very good at: it produces a coherent explanation.

    The problem is that coherence is not the same thing as faithfulness.

    Instead of recovering the original decision, it often synthesizes one from recurring themes across the retrieved documents.

    The answer sounds plausible.

    It just isn't the answer that was originally made.

    Bigger windows don't fix retrieval

    Research has already shown that models struggle with information buried inside very long contexts. The Lost in the Middle paper is probably the best-known example.

    Our experience suggested something slightly different.

    Sometimes the answer isn't lost because the context is long.

    It's lost because the retrieval stage couldn't distinguish the document that contains the decision from documents that merely discuss the same topic.

    Adding more context doesn't necessarily solve that problem.

    Sometimes it simply gives the model more material to average together.

    We were optimizing the wrong thing

    For a while we treated retrieval as a packing exercise.

    How many useful chunks can we fit into the prompt?

    Over time the question changed.

    Why is this document here?

    Should it be here at all?

    Does it explain the decision, or does it merely mention the same technology?

    Those questions turned out to matter much more than the size of the context window.

    Retrieval is a selection problem

    The biggest shift wasn't moving from 8K to 128K tokens.

    It was realizing that retrieval isn't about fitting more information into a prompt.

    It's about selecting the few pieces of information that actually explain the answer.

    Large context windows are incredibly useful.

    They just don't compensate for weak retrieval.

    If anything, they make weak retrieval look convincing.


    Next time I'll look at another assumption I no longer believe: that documents should be treated as bags of chunks.

    Tags

    aillmmachinelearningrag

    Comments

    More Blog

    View all
    Context bankruptcy: The case for strategic forgetting for AI Agentsai

    Context bankruptcy: The case for strategic forgetting for AI Agents

    Most of us have seen a coding agent fail to complete a task we know it can do. We just don't...

    J
    James O'Reilly
    Parallel Compliance Engine: Drive-to-Sheets Multi-Agent Orchestrationgooglecloud

    Parallel Compliance Engine: Drive-to-Sheets Multi-Agent Orchestration

    When building Generative AI applications, developers often encounter a massive bottleneck: sequential...

    A
    Aryan Irani
    Is It Ethical to Post and Ask About Circuits on Dev.to?discuss

    Is It Ethical to Post and Ask About Circuits on Dev.to?

    I’ve been thinking about sharing some electronic circuit posts on Dev.to — small circuits, DIY...

    C
    codebunny20
    The One-Click Exporter: AI Studio Antigravity, Probed to Its Limitsagents

    The One-Click Exporter: AI Studio Antigravity, Probed to Its Limits

    What nobody tells you about exporting your multi-agent prototype to a local workspace. Every...

    L
    leslysandra
    Guarding the till while autonomous data agents do the diggingagenticarchitect

    Guarding the till while autonomous data agents do the digging

    Autonomous agents are genuinely good at answering messy business questions. Give one an LLM and a set...

    S
    Sireesha Pulipati
    Return on Attention: Why AI Code Reviews Are Wearing Us Outai

    Return on Attention: Why AI Code Reviews Are Wearing Us Out

    PR volume went up, ticket quality didn't, and the gap got filled with LLMs on both sides of the review: bots reviewing, bots replying, bots occasionally arguing with bots about priorities that only existed in a teammate's head. Our CEO named the actual problem, and it's bigger than code review.

    C
    christine

    Stay up to date

    Get the latest Stable Diffusion prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Stable Diffusion and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Stable Diffusion resource

    • Efficient Calendar Slot Retrieval for Project Managementmake · $19.24 · Uses make
    • Automate Data Retrieval and Messaging with Anthropic Claude to Google Sheetsmake · Free · Uses make
    • Automate Task Retrieval and Advanced Editing in ClickUpmake · Free · Uses make
    • Automate Google Ads Metrics Retrieval to Google Sheetsmake · Free · Uses make
    Browse all workflows