ToolsRecipesCompareCategoriesHardwareDGX SparkModelsMCPLocal vs cloudCost calculatorPeopleQuestionsSubmitAboutSponsorNewsletter

Local vs cloud RAG cost calculator

Plug in your documents and how much you ask, then compare hosted file search from OpenAI, Gemini, Claude and Grok with running it on your own hardware. Cloud prices come from official pricing pages (checked 2026-10-27). Hardware prices are editable estimates; put in what you'd really pay.

1. Your documents and usage

2. Cloud models

3. Local hardware

Monthly cost

OptionMonthlyBreakdownFirst index (one-time)Break-even vs local

Break-even = hardware upfront รท (cloud monthly โˆ’ local electricity). "Never" means the cloud option costs less than your power bill. Storage size assumes about 4 bytes of text per token (an estimate). Excludes taxes, free tiers (except OpenAI's 1 GB), batch discounts and caching.

Next steps

Price sources

The RAGShelf weekly

New local RAG tools, releases, and tested setups. One email a week, no spam.

Updates on X: @mkjerman