OpenRouter实测MCP工具与RAG
OpenRouter使用相同的产品目录、40个问题和两个模型,对比向量RAG、混合RAG与配备两个MCP工具的智能体。在3,000件产品的目录中,MCP智能体在两个模型上均答对40题,混合RAG均答对16题;在较小目录中,MCP工具均答对37题,向量RAG分别答对26题和27题。该第一方测试还发现,MCP使用的输入Token约为RAG的两至三倍,但在所测配置下成本相当或更低。
测试为智能体架构选型提供了具体参考:OpenRouter建议结构化数据和精确查询使用MCP,非结构化文本的语义问题使用RAG,需要反复检索时可结合两者。
RAG vs MCP: Which One Should Your Agent Use?
OpenRouter ·12/3/2026


When you connect an agent to company data, the RAG vs MCP choice comes down to who does the fetching. With retrieval-augmented generation (RAG), your application pulls matching text from an index once, before the model sees the question. With the Model Context Protocol (MCP), the model calls tools during its turn and asks for exactly the records it needs, as many times as it needs.
To see how that difference plays out, we gave vector RAG, hybrid RAG, and an agent with two MCP tools the same product catalog and the same 40 questions, and ran each setup on two models. This article covers how each approach works, what the test showed, and the tool-design bug that broke one of the models, so you can decide when to use RAG, MCP tools, or both.
#OpenRouter#Model Context Protocol#GPT-6 Luna#DeepSeek V4.1 Flash#BM25