Dark theme
WELCOME TO QQUANTUM

Let Qubi show you around.

Choose how you’d like to explore.

Don’t agreeGo to yourOS instead ↗

Both choices allow Google Analytics, so we can see which pages help.

Sound is your choice. Essential cookies keep the site working. Continuing either way also allows Google Analytics (visits and pages viewed).

Read our Terms, Privacy and Cookies.

Change your choices anytime from the footer.

Getting Qubi ready.
Comparison

RAG or long context?

Context windows large enough to hold a book made a lot of retrieval engineering unnecessary, and that is a real simplification rather than a marketing one. It is also not the same as making retrieval unnecessary, and the reasons are mostly not about model capability.

  • Reviewed September 2026
All Comparisons →
Pixel illustration for RAG vs Long Context: a balanced comparison of an open source book connected to a magnifying lens and an answer card and document strips fitted into a bounded context frame.

The case for just putting it all in

We build retrieval systems, so start with the argument against ourselves. If your corpus fits in the window, putting it in the window is simpler, and simpler is worth a great deal. There is no chunking strategy to tune, no embedding model to choose, no vector store to operate and back up, no reranker, no relevance floor, and — the big one — no class of failure where the correct answer was in your data and the system never saw it.

For a genuinely large set of real problems that is now the right answer. A contract of eighty pages, a quarter's board papers, one long support conversation, a single codebase module, a policy handbook: these fit, and a retrieval layer in front of them is engineering that earns nothing. We have talked clients out of building one on exactly this basis, and the honest version of a comparison page says so before it says anything else.

The question is what happens when the corpus is bigger than the window, or grows, or is not the same corpus for every user. That is where the two approaches stop being alternatives with different ergonomics and start having genuinely different properties.

What each one actually is

01

Retrieval-augmented generation

A search layer runs first. For a given question it selects the passages most likely to contain the answer — usually hybrid dense and keyword search, often reranked — and only those go into the prompt. The model reasons over a small, targeted slice, and the system knows exactly which documents it was given, which is what makes an answer traceable.
02

Long-context prompting

The relevant material, or all of it, goes into the window on every request, and selection is left to the model's attention. No search step, no store, no selection code. The model sees everything, which removes retrieval failure entirely and replaces it with a different question: does it use what it was given?

Side by side

Compare your options
Structural properties of the two approaches, reviewed September 2026. Window sizes and per-token prices move every quarter; the permissions, citation and failure-detection rows have not moved at all, which is why they tend to decide real deployments.
Criterion Retrieval Long context
Corpus larger than the window Unbounded by design Not possible
Corpus that keeps growing Index the new documents Eventually forces retrieval anyway
Tokens billed per query Only the selected passages Everything you send, every time
Latency A search step, then a short prompt No search, but a long prompt to process
Freshness and updates Re-index the changed document Reassemble the context
Honouring a deletion request Delete the record and re-index Rebuild what you send
Citation and attribution The retrieved passage is the source Possible, and harder to verify
Per-user permissions Filtered at query time Whatever you assembled is visible
Characteristic failure The right passage was not retrieved It was there and went unused
Detecting that failure Recall@k, measurable directly Needs an answer-level eval to see at all
Caching Little to cache — context varies per query Strong, where the prefix is stable and shared
Engineering to a first working answer Days to weeks An afternoon
Moving parts to operate Index, embeddings, reranker, store A prompt

The two failures are different shapes

Retrieval fails by omission. The answer existed and the search did not surface it — the query used different vocabulary from the document, the chunk boundary split the relevant sentence, the reranker demoted it, the relevance floor cut it. This is frustrating and it has one large compensating property: it is directly measurable. Recall@k on a labelled query set tells you the rate, component evaluation separates it from generation quality, and every fix has an observable effect on a number. A failure you can put a metric on is a failure that gets fixed.

Long context fails by inattention. The material was in the window and the answer did not reflect it. Published work has repeatedly found that information placed in the middle of a long context is used less reliably than material at either end, and that performance degrades as the window fills — the effect varies substantially by model, which is itself the problem, since it means the behaviour is a property of the model version rather than of your system. Nothing is missing when this happens. There is no recall number to look at. You find it only through answer-level evaluation, and only if your evaluation set happens to contain a case that depends on something buried in the middle.

That asymmetry is underrated in the comparison. The long-context approach removes a failure mode that is easy to see and introduces one that is hard to see, and the second is worse to own in production even where it occurs less often. If you go long-context, the mitigation is deliberate ordering — put what matters at the start or the end rather than wherever concatenation happened to place it — and testing at the length you actually intend to run at, not at a convenient shorter one.

Permissions are usually what decides it

This is the row that ends the discussion in most enterprises, and it rarely appears in the benchmark comparisons because it is not a capability question.

In any organisation of size, two people asking the same question are entitled to different answers, because they are entitled to see different documents. A retrieval layer handles this natively: the search is filtered by the requesting user's entitlements before anything reaches the model, so the board papers are not in the context of a query from the graduate scheme. The filter is ordinary access-control code, it is testable, and it fails closed.

Long context has no equivalent mechanism. Whatever you assembled is visible to the model and therefore potentially reflected in the answer. You can of course assemble a per-user context — but building the set of documents this user may see, for this request, is retrieval. You have reimplemented the selection layer without the index, and usually without the query-time filtering that made it safe.

The same argument applies to deletion and residency. When a person exercises a right to erasure, deleting a record from an index and re-indexing is a defined operation. Knowing every place a document has been pasted into a context is not.

Cost, caching and the arithmetic

The cost shape is the part teams model last and regret first. A retrieval system sends a few thousand tokens of selected passages per query, roughly independent of how large the corpus is. A long-context system sends the whole assembled context on every request, so the per-query cost scales with the size of the material rather than with the difficulty of the question. At one query a day the difference is a rounding error. At tens of thousands, it is the line item somebody in finance asks about, and the ratio between the two is roughly the ratio between the assembled context and the selected passages.

Prompt caching changes this, conditionally. Where a large prefix is stable and reused — the same handbook, the same codebase, the same policy set, for many queries — caching substantially reduces both the cost and the time to first token on a hit, and it makes long context far more defensible than the raw arithmetic suggests. The conditions are the whole story: the prefix must be stable, so a context reassembled per user or per query gets few hits; caches expire, so low-traffic paths pay full price most of the time; and the cacheable material must sit at the front, which constrains how you order context at exactly the moment the previous section told you to order it by importance. Confirm the current cache lifetimes and pricing against the provider's current terms rather than a figure from a blog post, including ours.

Latency runs the same way in both directions and is worth measuring rather than assuming. Retrieval adds a search round trip, typically tens of milliseconds against a well-built index. Long context removes that and adds prefill time over a much larger prompt. Which is faster depends on your corpus size, your index and whether you are getting cache hits — so it belongs in a benchmark on your own data, not in an argument.

The honest conclusion

They are complementary, and the strongest systems we build use both: retrieval to select, and a large window to reason over what was selected. Long context did not remove the retrieval step; it made it much more forgiving. When a window was small, retrieval had to return the exactly right paragraph, which is a hard search problem. When the window is large, retrieval can return forty candidate passages and whole documents rather than fragments, and let the model sort it out — which means simpler chunking, less aggressive reranking, and a much lower penalty for a mediocre relevance score.

So the working rule is not “which one”, it is “how much selection”. Corpus that fits, one permission set, low volume: no retrieval layer, and do not let anyone sell you one. Corpus larger than the window, or growing, or per-user, or needing citations, or running at volume: retrieval, with a generous context budget behind it. Most real systems start at the first and arrive at the second, and the migration is much easier if the evaluation set was built at the start — because it is what tells you the day the simple version stopped being good enough.

Questions

Questions about RAG vs Long Context.

How large does a corpus have to be before retrieval is worth it?

Size is the wrong first test. Ask instead whether the material fits in the window with room for the conversation, whether every user may see all of it, whether it changes often, and whether the query volume makes per-request tokens material. A small corpus that fails the permissions test needs retrieval; a large one read by a single team at ten queries a day may not. Where you do need a rough threshold: if the assembled context is a substantial fraction of the window on a typical request, you are already engineering selection, and doing it explicitly is better than doing it by truncation.

Does a bigger window make chunking obsolete?

It makes it much less delicate, which is the genuine win. With a large window you can retrieve whole sections or entire documents rather than tuned fragments, so chunk boundaries stop being a source of silent recall failures. Chunking still exists in the embedding step, because embedding a whole document dilutes it, but the fragile part — retrieving a fragment that is too small to be self-contained — largely goes away.

Can we cite sources without retrieval?

Partly. A model asked to quote from a long context will produce citations, and they are less verifiable: the span may be paraphrased, attributed to the wrong document, or reconstructed from memory rather than the text. With retrieval you know exactly which passages were supplied, so a citation can be checked mechanically against the passage it names. In either case citations are checked rather than trusted — that check is the control, and it is much cheaper to build on the retrieval side.

Which one hallucinates less?

Neither approach removes model error, and any comparison framed that way is the wrong frame. What differs is what you can do about an error. Retrieval makes a wrong answer attributable — it was a retrieval miss or a generation failure, and the logs say which. Long context leaves you with a wrong answer over material that was present, which is harder to diagnose and harder to prevent recurring. Evaluation is what makes the rate measurable in both cases, and monitoring is what makes it visible.

Should we start simple and migrate later?

Usually yes, and it is what we would advise on most first builds. Start with the window if the corpus fits, ship, and learn what people actually ask. The one thing to do on day one regardless is build the evaluation set, because it converts the migration decision from an argument into a measurement, and because it transfers unchanged when you add retrieval. The migration is not expensive; the expensive version is discovering the need for it from a customer.

Does your corpus
actually fit?

Bring the corpus, the permission model and the query volume. Those three answer it in half an hour, and sometimes the answer is that you need no retrieval layer at all.

30-minute technical call · no deck

Shipped & in build

Real work. Check it yourself.

What we built, what stage it is at, and a link to the live thing wherever there is one.

The updated yourOS homepage: Roxy’s open ring surrounded by bento cards for calls, voice, translation, building, design, apps and more.
The yourOS homepage on a phone, with its compact navigation, welcome film button and bento cards.
youros.tech — the homepage bento hero
Our own · coming soon

yourOS

yourOS is an operating system with an AI at its heart. You talk to it like a person, out loud or typed. It makes your calls, plans your days and works on your projects with a crew of agents, on your own private server. Our own product, built from the first commit; the waitlist is open.

What we built
  • Operating system
  • Roxy
  • Agent crew
  • Voice calls
  • App store
  • Website
Meet yourOS →
The Sonora homepage on desktop: a full-bleed dune landscape behind the headline “Transform Your Life with Sound”, with App Store and Google Play download buttons.
The Sonora homepage on a mobile viewport, showing the same hero reflowed to a single column.
sonora.com — homepage, 1440×900
Live · iOS · Android

Sonora

Website, backend and app assets for Sonora, a free AI sound-therapy app on iOS and Android published by Cognitive AI.

What we built
  • Website
  • Backend
  • App assets
Read the case study →
The updated Podswap homepage on desktop: “Grow on Instagram and TikTok for free, with real engagement from creators your size”, beside a tilted wall of exchange, tool and guide cards on a violet gradient.
The updated Podswap homepage on a phone, with its floating navigation, Instagram and TikTok engagement headline and tilted tool cards.
podswap.app — homepage, 1440×900
Five platforms

Podswap

Brand, website, prototype, apps on five platforms, the AI backend and the algorithm-intelligence pipeline for Podswap, a social growth engine that runs without a human in the loop.

What we built
  • Brand
  • Website
  • Prototype
  • Apps on five platforms
  • AI backend
  • Algorithm pipeline
Read the case study →
The unOpen.AI homepage introducing Roxy, a private AI assistant that remembers who you are.
The unOpen.AI homepage on a mobile viewport.
unopen.ai — homepage, 1440×900
Prototype · closed beta

unOpen.AI

In closed beta: Roxy, a private AI assistant with permanent memory running on infrastructure the user owns. Brand, site, product, backend and conversational design.

What we built
  • Brand
  • Site
  • Product
  • Backend
  • Conversational design
Read the case study →
coherence.com on desktop, headed "Intelligence that moves in phase with people".
coherence.com on a mobile viewport, reflowed to a single column.
coherence.com — homepage, 1440×900
Live

Coherence

Live at coherence.com: brand identity generated with AI agents we directed, the motion system and website for the group behind Sonora, AboutAI, WakeUp and MudShadows. Agent work remains in build.

What we built
  • Brand identity
  • Motion system
  • Live website
  • Agent work — in build
Read the case study →
The new Domain Booth homepage on desktop: the headline “Premium Domains. Serious Buyers. Proven Results.” beside the animated DB monogram.
The new Domain Booth homepage on a phone, reflowed to a single column.
Our build of the Domain Booth homepage — 1440×900
Live

Domain Booth

Live at domainbooth.com for DomainBooth, a premium domain brokerage: a new animated mark, every page redesigned and rebuilt with designed mobile layouts, and a custom CMS for its sales record, featured names, press and enquiries.

What we built
  • Animated mark
  • Every page redesigned
  • Designed mobile layouts
  • Custom CMS
Read the case study →
Who we have built for

Twenty-one years. Names you know.

Apps, platforms and campaigns for these teams, long before the AI work. Every one is written up on the work page — what we did, and where our part ended.

See all of our work →
  • BBC Good Food logo
  • Charities Aid Foundation logo
  • GAME logo
  • NatWest logo
  • Next logo
  • NSPCC logo
  • Tesco logo
  • Worldpay logo
  • Samsung logo
  • Sony logo
  • Land Rover logo
  • UAP Limited logo
  • Netflix logo
  • Amazon Prime Video logo
  • Mercedes-Benz dealerships logo
  • San Miguel logo
  • Biovene Barcelona logo
  • Seventy7 logo
  • Littlewoods logo
  • Smile logo
  • The Co-operative Bank logo