Softwr

Developer Tools · head to head

Amazon Kendra vs AWS Serverless Application Model (AWS SAM)

Amazon Kendra logo

Amazon Kendra

Developer Tools

Managed enterprise search with connectors and a GenAI retrieval index for RAG

From
$0.32/hour
Free plan
No
AWS Serverless Application Model (AWS SAM) logo

AWS Serverless Application Model (AWS SAM)

Developer Tools

Open-source framework and CLI for building serverless apps on AWS

From
Free
Free plan
Yes

The short version

  • AWS Serverless Application Model (AWS SAM) is free; Amazon Kendra starts at $0.32/mo.
  • Only Amazon Kendra lists GenAI Enterprise index; only AWS Serverless Application Model (AWS SAM) lists terraform project debugging support.
  • Where Amazon Kendra falls short: the index bills by the hour whether or not anyone searches, so even the smallest GenAI index is about $230 a month.
  • Where AWS Serverless Application Model (AWS SAM) falls short: targets AWS only, so templates are not portable to other cloud providers.

How do Amazon Kendra and AWS Serverless Application Model (AWS SAM) differ?

Amazon Kendra and AWS Serverless Application Model (AWS SAM) differ on starting price ($0.32/hour against Free), pricing model and free tier (No against Yes). Only the attributes on which Amazon Kendra and AWS Serverless Application Model (AWS SAM) actually diverge.

Attributes where Amazon Kendra and AWS Serverless Application Model (AWS SAM) differ
AttributeAmazon KendraAWS Serverless Application Model (AWS SAM)
Starting price$0.32/hourFree
Pricing modelPer index hour by editionOpen-source
Free tierNoYes
PlatformsWebWindows, macOS, Linux

Not yet recorded: category for Amazon Kendra.

Which features does each one have?

They share no listed features; 6 appear only for Amazon Kendra and 7 only for AWS Serverless Application Model (AWS SAM). Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Amazon Kendra

  • GenAI Enterprise index
  • Data source connectors
  • Access control
  • Basic Enterprise index
  • Incremental sync
  • Bedrock integration

Only in AWS Serverless Application Model (AWS SAM)

  • SAM template shorthand for CloudFormation
  • SAM CLI project scaffolding with sam init
  • Local testing of Lambda functions and API endpoints
  • sam sync for syncing local changes to the cloud
  • SAM connectors for IAM permissions
  • Terraform project debugging support
  • CI/CD pipeline support

What is each one used for?

Amazon Kendra is most often brought in for retrieval for an Amazon Bedrock assistant that answers from company documents; AWS Serverless Application Model (AWS SAM) for defining Lambda and API Gateway applications as code. The jobs each tool is most often brought in to do.

Amazon Kendra

  • An internal knowledge search across SharePoint, Confluence and file shares with permission trimmingnot AWS Serverless Application Model (AWS SAM)
  • Retrieval for an Amazon Bedrock assistant that answers from company documentsnot AWS Serverless Application Model (AWS SAM)
  • Customer support portals that search a large document basenot AWS Serverless Application Model (AWS SAM)
  • Compliance teams searching policies spread across many repositoriesnot AWS Serverless Application Model (AWS SAM)

AWS Serverless Application Model (AWS SAM)

  • Defining Lambda and API Gateway applications as codenot Amazon Kendra
  • Testing Lambda functions locally before deploymentnot Amazon Kendra
  • Building CI/CD pipelines for serverless appsnot Amazon Kendra
  • Converting console-created resources into templatesnot Amazon Kendra

Where do Amazon Kendra and AWS Serverless Application Model (AWS SAM) fall short?

Amazon Kendra's most cited limit: the index bills by the hour whether or not anyone searches, so even the smallest GenAI index is about $230 a month. AWS Serverless Application Model (AWS SAM)'s: targets AWS only, so templates are not portable to other cloud providers. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon Kendra

  • The index bills by the hour whether or not anyone searches, so even the smallest GenAI index is about $230 a month
  • Cost jumps quickly with scale: the AWS worked example with nine extra storage units reaches $1,981 a month
  • Basic Enterprise Edition starts at $1.40 per hour, over four times the GenAI base index, which makes classic indexes costly for small corpora
  • Connector coverage and sync behaviour vary by source, and large initial syncs bill per document scanned on the older edition
  • It is tied to AWS and its connector model, so teams on other clouds find open search stacks such as OpenSearch more flexible

AWS Serverless Application Model (AWS SAM)

  • Targets AWS only, so templates are not portable to other cloud providers
  • Local testing of functions depends on Docker being installed and running
  • Requires an AWS account, the AWS CLI and configured credentials before first use
  • Declarative templates, so complex logic needs CloudFormation or the AWS CDK instead
  • Does not cover non-serverless infrastructure on its own, which falls back to CloudFormation

How much do Amazon Kendra and AWS Serverless Application Model (AWS SAM) cost?

Amazon Kendra starts at $0.32/mo; AWS Serverless Application Model (AWS SAM) is free to use. Plan by plan below, from each vendor's own pricing page.

Amazon Kendra

$0.32/hour
  • GenAI Enterprise Edition$0.32/hour
    • Base index $0.32 per hour with 20,000 documents or 200 MB and about 8,000 queries a day
    • Extra storage unit $0.25 per hour, extra query unit $0.07 per hour
    • Connectors $30 per index per month
  • Basic Enterprise Edition$1.4/hour
    • Base index $1.40 per hour with 100,000 documents and about 8,000 queries a day
    • Storage $0.70 per hour, query capacity $0.70 per hour
    • Connectors $0.35 per hour while syncing plus $1 per million documents scanned

AWS Serverless Application Model (AWS SAM)

Free

No published plan breakdown. See the AWS Serverless Application Model (AWS SAM) review.

Which should you pick?

Choose Amazon Kendra if

  • You need genai enterprise index.
  • You also want data source connectors.

Choose AWS Serverless Application Model (AWS SAM) if

  • You need sam template shorthand for cloudformation.
  • You want to start without paying.
  • You work on Windows, macOS, Linux.
  • You also want sam cli project scaffolding with sam init.

Questions people ask

Is Amazon Kendra or AWS Serverless Application Model (AWS SAM) better?
It depends on the job. Amazon Kendra fits an internal knowledge search across SharePoint, Confluence and file shares with permission trimming; AWS Serverless Application Model (AWS SAM) fits defining Lambda and API Gateway applications as code. Amazon Kendra starts at $0.32/hour and AWS Serverless Application Model (AWS SAM) at Free.
Which is cheaper, Amazon Kendra or AWS Serverless Application Model (AWS SAM)?
AWS Serverless Application Model (AWS SAM) has a free tier; the other does not. Paid plans start at $0.32/hour for Amazon Kendra and Free for AWS Serverless Application Model (AWS SAM).
Does Amazon Kendra or AWS Serverless Application Model (AWS SAM) run on more platforms?
Amazon Kendra runs on Web. AWS Serverless Application Model (AWS SAM) runs on Windows, macOS, Linux.
Can I use AWS Serverless Application Model (AWS SAM) for free?
Yes. AWS Serverless Application Model (AWS SAM) has a free tier, so you can try it without paying. Amazon Kendra starts at $0.32/hour.
What is Amazon Kendra best used for?
Amazon Kendra is most often used for an internal knowledge search across sharepoint, confluence and file shares with permission trimming, retrieval for an amazon bedrock assistant that answers from company documents, customer support portals that search a large document base, compliance teams searching policies spread across many repositories. Of those, an internal knowledge search across sharepoint, confluence and file shares with permission trimming and retrieval for an amazon bedrock assistant that answers from company documents are not what AWS Serverless Application Model (AWS SAM) is typically brought in for.
What can Amazon Kendra do that AWS Serverless Application Model (AWS SAM) cannot?
Amazon Kendra covers GenAI Enterprise index, Data source connectors, Access control, Basic Enterprise index. AWS Serverless Application Model (AWS SAM) covers SAM template shorthand for CloudFormation, SAM CLI project scaffolding with sam init, Local testing of Lambda functions and API endpoints, sam sync for syncing local changes to the cloud.

Answered from the vendors’ own pages

Amazon Kendra: How much does Amazon Kendra cost?

The GenAI Enterprise Edition base index is $0.32 per hour, roughly $230 a month, per the AWS pricing page. The Basic Enterprise Edition starts at $1.40 per hour.

AWS Serverless Application Model (AWS SAM): What is AWS SAM?

AWS SAM is an open-source framework for building serverless applications with infrastructure as code. It consists of a template syntax that extends CloudFormation and a command-line tool.

Source
Amazon Kendra: Is there a free tier?

AWS lists 750 hours free for the first 30 days on the Basic Developer or GenAI Enterprise editions; connector usage does not qualify.

AWS Serverless Application Model (AWS SAM): Which operating systems does the SAM CLI support?

AWS publishes installers for Linux on x86_64 and arm64, macOS on Intel and Apple silicon, and a 64-bit Windows MSI. macOS versions older than 13.x are not supported.

Source
Amazon Kendra: Does Kendra work with Bedrock?

Yes. It can serve as a retriever for Amazon Bedrock Knowledge Bases.

AWS Serverless Application Model (AWS SAM): What licence does AWS SAM use?

The serverless-application-model repository on GitHub is licensed under Apache-2.0.

Source
AWS Serverless Application Model (AWS SAM): How does SAM differ from the AWS CDK?

The documentation says to use SAM instead of the CDK if you prefer a declarative approach to describing infrastructure rather than a programmatic one. The two can also be combined, using the SAM CLI's local testing with CDK applications.

Source
Share

Related pages

Other head to heads