RAG chat with a semantic cache: GPU requirements
RAG chat with a semantic cache right after the user: a request it answers skips the guardrail, retrieval and the LLM.
Serving each module separately would take 7 GPUs — 1.2× more.
About this design
what is drawn and what is assumedRAG chat with a semantic cache right after the user: a request it answers skips the guardrail, retrieval and the LLM. Its hit rate is 30 % — our example, not a measured figure; set it and the lookup time (0 ms here) from your own traffic; What if → Cache hit rate shows what each rate is worth.
Pipeline
one row per module| Module | Category | Model or component | GPUs on its own | Time per call | Grade |
|---|---|---|---|---|---|
| Semantic cache | Cache | Semantic cache | no GPU | 0 ms | |
| Input guardrail | Guardrails | LLaMA 3.1 8B | 1 | 143 ms0.7 calls per request | calibrated |
| Embed query | Embedding | Llama Nemotron Embed 1B v2 (NeMo Retriever) | 1 | 9 ms0.7 calls per request | measured |
| Vector search | Vector search | Vector search on CPU | no GPU | 20 ms0.7 calls per request | |
| Rerank top 20 | Reranking | Llama Nemotron Rerank 1B v2 (NeMo Retriever) | 1 | 88 ms0.7 calls per request | estimate |
| Answer LLM | LLM | LLaMA 3.3 70B | 4 | 12.7 s0.7 calls per request | calibrated |
| Served separately: 7 · served together: 6 | |||||
More users
same pipeline, same GPU| Users | GPUs | $ / hour | First token |
|---|---|---|---|
| 500×0.5 | 6× H100 SXM5 | $20.72 | 1.39 s |
| 1,000×1 | 6× H100 SXM5 | $20.72 | 1.81 s |
| 2,000×2 | 10× H100 SXM5 | $34.53 | 1.98 s |
| 4,000×4 | 19× H100 SXM5 | $65.60 | 1.98 s |
On other GPUs
same pipeline, same load| GPU | GPUs | $ / hour | First token |
|---|---|---|---|
| H100 SXM5 this design | 6× H100 SXM5 | $20.72 | 1.81 s |
| B200 SXM | 4× B200 SXM | $34.20 | 881 ms |
| B300 SXM | 4× B300 SXM | $38.00 | 903 ms |
| H200 NVL | 6× H200 NVL | $22.02 | 1.57 s |
| H200 SXM | 6× H200 SXM | $26.28 | 1.55 s |
| RTX PRO 6000 Blackwell Server Edition | 22× RTX PRO 6000 Blackwell Server Edition | $48.18 | 1.07 s |
Related designs
RAG and document searchFrequently asked questions
How many GPUs does RAG chat with a semantic cache need?
6× H100 SXM5 for 1,000 users, 10 % active, with the modules sharing GPUs where they can. Serving each module separately would take 7 GPUs.
What does RAG chat with a semantic cache cost per hour?
$20.86 an hour ($15,226 a month) at market prices for 6× H100 SXM5. Estimates, not quotes.
What happens to RAG chat with a semantic cache with twice the users?
It needs 10× H100 SXM5 at $34.53 an hour, against 6× H100 SXM5 at the default load.
Sized by the same planner as the Builder, at the design's default load, GPU and models, with today's market GPU prices. How the Builder sizes a pipeline. Estimates, not quotes.
Prices are collected daily from each provider's public price list or API. Estimates, not quotes — always confirm on the provider's own page before committing.