monthly cost
cost / query
search-API share of cost
LLM synthesis share of cost

Static RAG-equivalent cost vs. actual answer-engine cost

Same LLM inputs and outputs, minus the live web-search API fee — this is what the exact same query would cost as a pre-indexed, no-live-search static RAG system. The gap is the live-search premium.

Cost basisCost / queryMonthly cost
Static RAG-equivalent (LLM synthesis only, no live search fee)
Actual answer-engine cost (LLM synthesis + live search API)

Cost by snippets retrieved (top-K)

Everything else held at the values above, swept across how many search results get stuffed into the LLM's context per query. More snippets can mean better-grounded answers, but every extra snippet is extra input tokens billed on every single query.

Snippets (top-K)Input tokens/queryCost / queryMonthly cost

How this connects to other tools

This page prices a live-search answer engine — a Perplexity / You.com / Bing Copilot-style pipeline where every query hits a third-party web search API before the LLM ever sees the question. That's a different architecture from a system built around a corpus you already own: if your retrieval step is a vector lookup against documents you indexed yourself, with no live search-API fee on any query, price it on the RAG Cost Calculator instead, or the RAG Chatbot Cost Calculator for a conversational interface with history on top of that same static corpus. If you're specifically weighing a knowledge-graph architecture instead of plain vector retrieval, the GraphRAG Indexing Cost Calculator prices the one-time extraction pass that builds it. And because every query here pays full input-token price for the same system prompt and overhead tokens on repeat, check whether prompt caching can cut that recurring cost on the Prompt Caching Savings Calculator. Note this is also unrelated to adding a search box to your own website or app — if that's what you need, that's typo-tolerant instant search over your own content via Algolia, Typesense or Meilisearch, priced on the Site Search API Cost Calculator.

Host your project:DigitalOcean — $200 free ↗Hostinger VPS