Listen to this article

Across enterprises building RAG applications, a clear pattern is emerging. GenAI adoption is scaling faster than the budgets that support it.

The numbers explain the pressure. Flexera’s 2026 State of the Cloud Report found that estimated wasted cloud spend climbed to 29% this year, the first increase in five years, driven largely by the added cost complexity of AI workloads. At the same time, Gartner forecasts that spending on generative AI models will grow 117% year-over-year in 2026.

Amazon Kendra is a fully managed intelligent search service that many teams use as the retrieval layer in Retrieval-Augmented Generation (RAG) architectures. Its Retrieve API pulls relevant passages from enterprise content and gives large language models (LLMs) the context they need for grounded responses.

Kendra delivers this through memory-resident, always-on components and a provisioned capacity model. That design gives reliable sub-second responses. It also means you pay for capacity whether queries arrive or not.

Three issues drive most of the overspend.

  • Capacity does not match demand: Applications that run only in business hours or see spiky traffic, still pay for capacity around the clock.
  • Scaling is slow to adjust: Kendra allows five capacity changes per day and each one takes several minutes to take effect.
  • Queries are wasteful: Repeated, low-value and poorly shaped requests consume capacity without adding new information.

This is why Kendra cost optimization cannot be treated as a pricing exercise. It is a design discipline.

Idle Capacity is the Real Cost Driver in RAG

Kendra charges hourly for query capacity units, regardless of actual usage. Query and Retrieve API calls share the same units, with no separate billing for either.

  • GenAI Enterprise: $0.32 per hour for the base index and $0.07 per hour for each extra query unit.
  • Basic Enterprise: $1.40 per hour for the base index and $0.70 per hour for each extra query unit.

Both editions support roughly 8,000 queries a day per unit. That makes GenAI Enterprise about 10 times cheaper per unit: $50.40 a month versus $504.

The gap between capacity and usage shows up quickly.

  • Business-hours-only applications: An application used from 9 AM to 6 PM runs 45 of 168 weekly hours. That is about 27% utilization and 73% idle capacity.
  • Spiky workloads: A workload that serves about 1,080 queries a month while paying for 240,000 runs at 0.45% utilization.

Cost inefficiency is driven by capacity mismatch, not excessive usage.

Scaling does not close the gap quickly. Unlike Lambda or DynamoDB, Kendra needs upfront planning. Provisioning for average load risks throttling during spikes. Provisioning for peak load leaves capacity idle off-peak. Bursting can absorb short spikes, but it is not guaranteed during sustained demand, so treat it as resilience and not a cost strategy.

Our Perspective: A Layered Approach to Kendra Cost Control

At Persistent, we believe the most effective way to control Kendra cost is to work from the top of the funnel down. Stop unnecessary queries first. Make every remaining call efficient. Then size capacity to the workload that is left.

Then size capacity to the workload that is left. Three layers make Kendra efficient. One decision changes the model: migrating to Amazon Bedrock Managed Knowledge Base (BMKB), which we cover after the layers.

  • Layer one: Reduce queries at the application layer.
  • Layer two: Tune each Retrieve call.
  • Layer three: Align edition and capacity with demand.

We bring this approach to enterprises building RAG platforms on AWS, so cost is a design principle from day one and not a clean-up exercise.

Layer One: Stop Queries Before They Reach Kendra

The greatest savings come from keeping unnecessary queries away from Kendra. Filtering and reusing requests at the application layer lowers query volume without affecting performance.

  • Exact-match cache: Hash the normalized query text, attribute filters and user context into a cache key. Return cached results with a TTL aligned to data sync frequency. This typically delivers a 20%-40% cache hit rate.
  • Semantic cache: Users phrase the same intent differently, such as PTO, vacation or time off. A semantic cache returns a stored response when embedding similarity exceeds a threshold, typically achieving 40%-60% hit rates. Back it with a managed vector store such as ElastiCache with vector search.
  • Session-level deduplication: In multi-turn conversations, the same context is often retrieved on every turn. Track retrieved results per session and add only newly relevant passages.
  • Query classification gate: Greetings, acknowledgments, confirmations or follow-ups can use existing context. A lightweight rule-based or ML-based classifier can skip retrieval for these. In typical RAG applications, 15%-30% of user messages fall into this category.
  • Request coalescing: When multiple clients send the same query at nearly the same time, let the first proceed and have the others reuse its response.

Layer Two: Make Every Retrieve Call Count

Once a query reaches Kendra, small design choices decide how much capacity it consumes.

  • Shorten the query: Kendra processes only the first 30 tokens or so, so long prompts or full conversation history produce truncated queries and poor results. Extract a short, focused query first.
  • Narrow the search space: Each Retrieve call evaluates the entire index. An AttributeFilter, such as department, category or date range, improves response time and reduces wasted capacity. Limit RequestedDocumentAttributes to keep payloads lean.
  • Right-size PageSize: The default is 10 and the maximum is 100 passages. LLMs with limited context windows can typically use only 15 to 20. Match PageSize to the downstream context window to avoid larger responses, timeouts and retries.
  • Avoid pagination: Each page request is a separate Retrieve call that uses more capacity. When you know how many passages you need, fetch them in one request.
  • Get relevance right the first time: Stale or irrelevant results make users retry. Use DocumentRelevanceOverrideConfigurations to prioritize fresher or high-value content.
  • Isolate workloads: The Query API and Retrieve API share the same provisioned capacity, so a spike in one can throttle the other. Use separate indexes and client-side rate limiting to protect priority workloads.

Layer Three: Align Edition and Capacity with Demand

  • Choose the right edition: GenAI Enterprise is built for RAG and GenAI back-end retrieval and typically offers the lowest query unit, base index and connector costs. Basic Enterprise suits end-user search. Unless specific features or regional requirements mandate it, choose GenAI Enterprise for RAG workloads.
  • Schedule capacity around traffic: For predictable patterns, use EventBridge and Lambda to scale query units on a schedule. A simple two-adjustment schedule, scaling up at 7 AM and down at 7 PM, cuts query unit costs by roughly 50% compared to 24/7 provisioning.
  • Keep the index lean: Index only relevant content, remove stale documents and preprocess before ingestion. Pricing is based on extracted text, so stripping boilerplate, images, headers, footers and logs cuts cost and improves relevance.
  • Control connector costs: In Basic Enterprise, syncs are billed per hour and per document scanned. GenAI Enterprise charges a flat monthly rate per connector. Favor incremental syncs over full re-crawls and schedule syncs during off-peak hours.

The Destination: Migrate to Amazon Bedrock Managed Knowledge Base

The three layers make Kendra efficient, but they still run on provisioned capacity. Kendra is now in maintenance mode, with no new features. AWS recommends Amazon Bedrock Managed Knowledge Base (BMKB) for migrations and new RAG applications.

BMKB turns enterprise search into reasoning that GenAI and agents can use.

What that means in practice:

  • Fully managed RAG pipeline: Ingestion, parsing, vector storage, embeddings and re-ranking are handled for you.
  • Agentic retrieval and answer generation: Multi-step questions are planned and resolved across data sources in a single API call, and RetrieveAndGenerate returns grounded answers with citations.
  • Built for agents: It integrates with Amazon Bedrock AgentCore, supports MCP, and works with LangChain, CrewAI, LlamaIndex and Strands Agents.
  • Usage-based cost: You pay for the data you store, the queries you run and any LLM usage, not for provisioned capacity ($5.00 per GB per month and $1.00 per 1,000 Retrieve calls, per AWS pricing).

Plan for the differences. BMKB has seven connectors versus Kendra’s 32+, and facets and query suggestions need workarounds. Pilot one Retrieve-only workload, compare it with Kendra, then shift traffic in stages. Keep the layers running until cutover, since caching and deduplication also cut BMKB retrieval cost.

Cost Per Answer: The Metric That Keeps RAG Honest

Track five signals as you apply these changes.

  • Retrieve calls per user or session (should decrease)
  • Query capacity utilization versus provisioned capacity (should increase)
  • Cache hit rate (should increase)
  • User retries or rephrased queries (should decrease)
  • Cost per answered query (should decrease)

Amazon Kendra’s provisioned capacity model delivers the best value when utilization is high and predictable. It becomes inefficient for variable or bursty RAG workloads. In most deployments, unnecessary cost comes from the gap between provisioned capacity and actual usage, not total query volume.

The path forward has two options, and one is the destination. Migrate to Amazon Bedrock Managed Knowledge Base (BMKB) for native agentic retrieval and cost that follows demand.

Optimize Kendra in the meantime. Until you cut over, move to GenAI Enterprise, reduce query volume with caching and deduplication, then schedule capacity and tune API parameters to remove what is left idle. Applied in that order, these changes keep today’s bill in check, and the caching and deduplication carry over to BMKB, where every retrieval is billed.

Ready to bring your Kendra costs in line with real usage and plan your move to BMKB? Whether you are scaling a knowledge assistant or a customer support chatbot, the first step is to see where provisioned capacity and actual demand diverge.

Connect with Persistent for a Kendra cost and migration assessment that benchmarks your capacity against usage, identifies quick wins across caching, query design and edition selection, and builds a phased plan to migrate to BMKB.

Author’s Profile

Pramod Amdoskar

Dr. Pramod Amdoskar

Solution Architect, Amazon

Solutions Architect at Persistent specializing in cloud migration, Generative AI, and enterprise transformation across Azure, AWS, and hybrid environments. Experienced in building secure, scalable GenAI and agentic AI solutions that enable intelligent search, enterprise knowledge integration and AI-driven automation.