← Back to Payloads
Opinion2026-06-23

RAG Is Dead. Long Context Killed It. Stop Building Vector Databases.

Pinecone raised $138M to own the vector database category. Two years later, every frontier model ships with 200K-1M context windows and uses them correctly. The vector database industry is a bubble, RAG is dying, and your retrieval pipeline is about to be replaced by a prompt.
Quick Access
Install command
$ mrt install opinion
Browse related skills
RAG Is Dead. Long Context Killed It. Stop Building Vector Databases.

RAG Is Dead. Long Context Killed It. Stop Building Vector Databases.

Pinecone raised $138M to own the vector database category. Chroma, Weaviate, and Qdrant raised hundreds of millions more. Every AI architecture diagram in 2024 had a "Vector Store" box in it.

Two years later, every frontier model ships with 200K-1M context windows. Claude 4 has 500K. Gemini 2.5 Pro has 1M. Needle-in-a-haystack benchmarks that were 60% reliable in 2024 are 98%+ in 2026. The retrieval problem is being solved at the inference layer.

The vector database industry is a bubble. RAG as a primary pattern is dying.

Hey guys, Mr. Technology here, and your RAG pipeline is about to be replaced by a prompt.

RAG Was a Hack For a Constraint That No Longer Exists

RAG existed because context windows were tiny. GPT-3.5 had 4K tokens. GPT-4 launched with 8K. You could not fit a 200-page document in the prompt, so the architecture became: chunk, embed, store, retrieve, inject. Brilliant engineering for 2023 — and the only viable pattern.

The problem: RAG was always a workaround. Chunking destroys sentences at boundaries. Retrieval returns fragments. Retrieval misses are inevitable: "2024 EMEA revenue" vs "European operations generated $X in fiscal year 2024" ranks below other matches, so the LLM hallucinates. Embedding model drift silently degrades your system every upgrade. Every query makes a vector DB round trip; every retriever is a service that can fail.

None of these problems existed when you could fit the document in the context window.

Long Context Fixed the Actual Problem

The 2026 generation of long-context models solved "lost in the middle." Claude 4, Gemini 2.5, and GPT-4.1 show 95%+ needle-in-a-haystack accuracy at full context length. They reason over the entire context and cite correctly. The retrieval problem is being solved by the model itself.

For a 200-page compliance document, the answer is now: put it in the prompt. Cost is manageable, latency is the same, accuracy is at least as good as RAG. For most "chat with your docs" use cases, this is the correct and simplest architecture.

What RAG Is Still Good For

Real wins: massive corpora you cannot fit in any context window, real-time feeds that change faster than you can re-embed, cost-sensitive high-volume queries where 5K retrieved tokens beats 200K stuffed tokens, and latency-critical agent loops.

That is 10-20% of production RAG deployments. The other 80-90% — "chat with your PDF," "summarize these documents," "answer questions about our knowledge base" — long context is now correct. RAG is a band-aid for a constraint that no longer exists.

The Industry Is Pivoting Because They Know

Pinecone rebranded from "vector database" to "infrastructure for AI agents." Chroma pivoted to "AI-native memory and context layer." Weaviate repositioned as an "AI-native database." Qdrant ships "vector search for production AI." Every one is repositioning because the standalone category is collapsing. Long context is the vector database. The model is the retriever. The chunking step is gone.

The Take

If your architecture diagram has a "Vector Store" in it, ask one question: do I actually need retrieval, or am I using retrieval because every 2024 tutorial taught me to? If your knowledge base is under 500K tokens — and for most applications it is — the answer is no. Stuff it in the prompt. The model will use it. The accuracy will be at least as good. The infrastructure will be one fewer service.

Exception: tens of millions of documents, real-time feeds, strict cost constraints. Retrieval is necessary. Build it. But do not call it RAG. Call it search. Search predates LLMs and will outlive them.

The vector database industry raised over a billion dollars on the premise that RAG would be the dominant pattern forever. Two years later, long-context models made RAG a transitional hack instead of a permanent architecture. If you are a founder, you do not need a vector database — you need a long-context model and a good prompt. If you are an investor looking at the next vector DB, you are looking at a category in structural decline.

Long context won. The faster you acknowledge that, the less money you will spend on infrastructure you do not need.

Mr. Technology

Related Dispatches