Softwr

Cloud · head to head

Amazon Rekognition vs AWS Lambda

Amazon Rekognition logo

Amazon Rekognition

Cloud

Image and video analysis API for labels, faces, text and content moderation

From
$0.001/image
Free plan
No
AWS Lambda logo

AWS Lambda

Cloud

Run code without thinking about servers

From
Free
Free plan
Yes

The short version

  • AWS Lambda is a serverless compute service.
  • AWS Lambda is free; Amazon Rekognition starts at $0.001/mo.
  • Only Amazon Rekognition lists label detection; only AWS Lambda lists event-driven execution.
  • Where Amazon Rekognition falls short: each API call on an image is billed as a separate image, so running labels, text and moderation together triples the per-image cost.
  • Where AWS Lambda falls short: provisioned concurrency, used to avoid cold starts, is charged separately at $0.0000041667 per GB-second whether or not the function runs.

How do Amazon Rekognition and AWS Lambda differ?

Amazon Rekognition and AWS Lambda differ on starting price ($0.001/image against Free), pricing model and free tier (No against Yes). Only the attributes on which Amazon Rekognition and AWS Lambda actually diverge.

Attributes where Amazon Rekognition and AWS Lambda differ
AttributeAmazon RekognitionAWS Lambda
Starting price$0.001/imageFree
Pricing modelPer image or per video minute, tiered by volumeUsage-based
Free tierNoYes
PlatformsWebWeb, API

Not yet recorded: category for Amazon Rekognition, founded for Amazon Rekognition.

Which features does each one have?

They share no listed features; 6 appear only for Amazon Rekognition and 20 only for AWS Lambda. 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 Rekognition

  • Label detection
  • Face analysis and search
  • Content moderation
  • Text detection
  • Face Liveness
  • Custom Labels

Only in AWS Lambda

  • Function-as-a-Service
  • Event-driven execution
  • Auto-scaling
  • Pay-per-use
  • Multiple languages
  • Concurrency limits
  • Dead Letter Queues
  • Environment variables

What is each one used for?

Amazon Rekognition is most often brought in for moderating user-uploaded photos before they appear on a community site; AWS Lambda for event-driven functions without managing servers. The jobs each tool is most often brought in to do.

Amazon Rekognition

  • Moderating user-uploaded photos before they appear on a community sitenot AWS Lambda
  • Identity verification flows that compare a selfie to an ID photo with liveness checksnot AWS Lambda
  • Auto-tagging a photo library with labels for searchnot AWS Lambda
  • Detecting protective equipment or text in site photosnot AWS Lambda

AWS Lambda

  • Event-driven functions without managing serversnot Amazon Rekognition
  • API backends behind API Gatewaynot Amazon Rekognition
  • Processing S3, DynamoDB, SQS and Kinesis eventsnot Amazon Rekognition
  • Scheduled jobs without a always-on instancenot Amazon Rekognition
  • Edge compute through Lambda@Edgenot Amazon Rekognition

Where do Amazon Rekognition and AWS Lambda fall short?

Amazon Rekognition's most cited limit: pricing is per request, so high-volume video or frame-by-frame analysis becomes expensive fast. AWS Lambda's: ephemeral storage beyond the included 512 MB is metered. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon Rekognition

  • Each API call on an image is billed as a separate image, so running labels, text and moderation together triples the per-image cost
  • The general models cannot be tuned for specialised domains without training Custom Labels, which adds training and inference hours
  • Face recognition raises privacy and legal obligations such as consent and biometric regulations, and AWS restricts some uses
  • Pricing is per request, so high-volume video or frame-by-frame analysis becomes expensive fast
  • Accuracy varies by image quality, lighting and demographics, so results used for decisions need human review

AWS Lambda

  • Billed on two axes at once, $0.20 per million requests plus $0.0000166667 per GB-second of duration, so memory settings change the bill as much as traffic does
  • Provisioned concurrency, used to avoid cold starts, is charged separately at $0.0000041667 per GB-second whether or not the function runs
  • Ephemeral storage beyond the included 512 MB is metered
  • Lambda@Edge costs $0.60 per million requests, three times the standard request rate
  • VPC use and cross-region data transfer carry EC2 charges on top

How much do Amazon Rekognition and AWS Lambda cost?

Amazon Rekognition starts at $0.001/mo; AWS Lambda is free to use. Plan by plan below, from each vendor's own pricing page.

Amazon Rekognition

$0.001/image
  • Image analysis$0.001/image
    • $0.0010 per image for the first million images per month, $0.0008 for the next tier, lower at volume
    • Several API calls on one image count as several images
    • Free tier of 1,000 images per month for 12 months
  • Image Properties$0.00075/image
    • $0.00075 per image for the first million
    • No free tier
  • Face metadata storage$0.00001/mo
    • $0.00001 per face vector or user vector per month

AWS Lambda

Free
  • Free TierFree
    • 1M free requests/month
    • 400,000 GB-seconds/month
    • Always free

Which should you pick?

Choose Amazon Rekognition if

  • You need label detection.
  • You also want face analysis and search.

Choose AWS Lambda if

  • You need function-as-a-service.
  • You want to start without paying.
  • You work on Web, API.
  • You also want event-driven execution.

Questions people ask

Is Amazon Rekognition or AWS Lambda better?
It depends on the job. Amazon Rekognition fits moderating user-uploaded photos before they appear on a community site; AWS Lambda fits event-driven functions without managing servers. Amazon Rekognition starts at $0.001/image and AWS Lambda at Free.
Which is cheaper, Amazon Rekognition or AWS Lambda?
AWS Lambda has a free tier; the other does not. Paid plans start at $0.001/image for Amazon Rekognition and Free for AWS Lambda.
Does Amazon Rekognition or AWS Lambda run on more platforms?
Amazon Rekognition runs on Web. AWS Lambda runs on Web, API.
Can I use AWS Lambda for free?
Yes. AWS Lambda has a free tier, so you can try it without paying. Amazon Rekognition starts at $0.001/image.
What is Amazon Rekognition best used for?
Amazon Rekognition is most often used for moderating user-uploaded photos before they appear on a community site, identity verification flows that compare a selfie to an id photo with liveness checks, auto-tagging a photo library with labels for search, detecting protective equipment or text in site photos. Of those, moderating user-uploaded photos before they appear on a community site and identity verification flows that compare a selfie to an id photo with liveness checks are not what AWS Lambda is typically brought in for.
What can Amazon Rekognition do that AWS Lambda cannot?
Amazon Rekognition covers Label detection, Face analysis and search, Content moderation, Text detection. AWS Lambda covers Function-as-a-Service, Event-driven execution, Auto-scaling, Pay-per-use.

Answered from the vendors’ own pages

Amazon Rekognition: How much does Amazon Rekognition cost?

Image analysis starts at $0.0010 per image for the first million images a month, with lower tiers at volume, per the AWS pricing page.

AWS Lambda: Is there a free tier for AWS Lambda?

Yes. AWS Lambda offers a free tier including 1 million requests per month, 400,000 GB-seconds per month, and 100 GB monthly response streaming.

Source
Amazon Rekognition: Is there a free tier?

Yes. 1,000 images per month for each of Group 1 and Group 2 APIs during the 12 month free tier period.

AWS Lambda: How is AWS Lambda charged?

Lambda charges $0.20 per million requests. Duration charges are $0.0000166667 per GB-second for x86 (up to 6 billion GB-seconds/month in US East Ohio with tiered pricing). Ephemeral storage over the included 512 MB costs $0.0000000309 per GB-second. Provisioned Concurrency costs $0.0000041667 per GB-second with a 5-minute minimum.

Source
Amazon Rekognition: Can it detect faces in video?

Yes. Rekognition Video analyses stored and streaming video and is billed per minute.

AWS Lambda: What are Lambda Durable Functions pricing?

Lambda Durable Functions include operations at $8.00 per million (start execution, steps, waits). Data written costs $0.25 per GB. Data retention is $0.15 per GB-month with configurable 1-90 day retention (default 14 days).

Source
Share

Related pages

Other head to heads