Best for: RAG (Retrieval-Augmented Generation)
Best LLM for RAG (Retrieval-Augmented Generation)
Ranked on long-context accuracy, groundedness, and input-token price — RAG is input-token-heavy by design.
Best for: RAG (Retrieval-Augmented Generation)
Ranked on long-context accuracy, groundedness, and input-token price — RAG is input-token-heavy by design.
Podium
No models currently match this task's filter. The admin team adds more models regularly — check back soon.
How we rank
RAG workloads push enormous amounts of retrieved context through a model. The three things that matter: does it faithfully use what you retrieved (groundedness), does it degrade when the context is long (needle-in-a-haystack), and how much will a million input tokens cost you. Because RAG is input-heavy, the input price pillar gets a heavier weight than it does for agentic or generative workloads.
Our full methodology is published on the methodology page.
Pillars and weights:
Full ranking
No models currently match this task's filter. The admin team adds more models regularly — check back soon.
Field notes
A 1M+ token context window is usually overkill. Optimize retrieval quality first.
Prompt caching matters: pin the system prompt and retrieved context into the cache tier if available.
Use batch pricing for bulk backfills over your corpus.
FAQ
The questions teams ask before picking a model for rag (retrieval-augmented generation).
Get instant answers from our AI agent