Softwr

Cloud · head to head

Amazon Comprehend vs Azure Functions

Amazon Comprehend logo

Amazon Comprehend

Cloud

Text analysis API for entities, sentiment, key phrases, PII and custom classifiers

From
$0.0001/unit
Free plan
No
Azure Functions logo

Azure Functions

Cloud

Event-driven serverless compute on Azure

From
Free
Free plan
Yes

The short version

  • Azure Functions is free; Amazon Comprehend starts at $0.0001/mo.
  • Where Amazon Comprehend falls short: custom endpoints bill per second while provisioned, so an idle endpoint carries a continuous cost.
  • Where Azure Functions falls short: the newer Flex Consumption plan's free grant is smaller still, at 250,000 executions and 100,000 GB-seconds per month.

How do Amazon Comprehend and Azure Functions differ?

Amazon Comprehend and Azure Functions differ on starting price ($0.0001/unit against Free), pricing model and free tier (No against Yes). Only the attributes on which Amazon Comprehend and Azure Functions actually diverge.

Attributes where Amazon Comprehend and Azure Functions differ
AttributeAmazon ComprehendAzure Functions
Starting price$0.0001/unitFree
Pricing modelPer 100-character unit, per training hour and per inference unit secondUsage-based
Free tierNoYes

Identical on both: platforms (Web).

Not yet recorded: category for Amazon Comprehend.

Which features does each one have?

They share no listed features; 6 appear only for Amazon Comprehend. 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 Comprehend

  • Entity and key phrase extraction
  • Sentiment and targeted sentiment
  • PII detection and redaction
  • Custom classification and entities
  • Topic modelling
  • Batch and real-time

Only in Azure Functions

Nothing recorded that Amazon Comprehend does not also cover.

What is each one used for?

Amazon Comprehend is most often brought in for redacting PII from call transcripts and support tickets before storage; Azure Functions for event-driven computing. The jobs each tool is most often brought in to do.

Amazon Comprehend

  • Redacting PII from call transcripts and support tickets before storagenot Azure Functions
  • Scoring customer feedback sentiment at scalenot Azure Functions
  • Classifying inbound documents into custom categoriesnot Azure Functions
  • Extracting entities from contracts as a step before indexing in searchnot Azure Functions

Azure Functions

  • Event-driven computingnot Amazon Comprehend
  • Serverless application backendnot Amazon Comprehend
  • Scalable API endpointsnot Amazon Comprehend

Where do Amazon Comprehend and Azure Functions fall short?

Amazon Comprehend's most cited limit: custom endpoints bill per second while provisioned, so an idle endpoint carries a continuous cost. Azure Functions's: the newer Flex Consumption plan's free grant is smaller still, at 250,000 executions and 100,000 GB-seconds per month. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon Comprehend

  • Billing is per 100 characters with a three-unit minimum, so very short messages cost more than their length suggests and long documents add up quickly
  • Custom endpoints bill per second while provisioned, so an idle endpoint carries a continuous cost
  • The pre-trained models are fixed; domain-specific vocabulary needs Custom Comprehend, which has no free tier and needs labelled data
  • Language coverage varies by feature, and several features support only a handful of languages
  • Large language models can now handle many extraction tasks with prompts, so the service is less distinctive than when launched

Azure Functions

  • Consumption plan free grant is capped at 1 million executions and 400,000 GB-seconds of resource consumption per month per subscription, billed per GB-second beyond that
  • The newer Flex Consumption plan's free grant is smaller still, at 250,000 executions and 100,000 GB-seconds per month
  • Premium plan avoids per-execution charges but bills continuously for allocated core seconds and memory regardless of invocation volume
  • Memory is rounded up to the nearest 128 MB and execution time to the nearest 1 ms for billing, so small overages round upward

How much do Amazon Comprehend and Azure Functions cost?

Amazon Comprehend starts at $0.0001/mo; Azure Functions is free to use. Plan by plan below, from each vendor's own pricing page.

Amazon Comprehend

$0.0001/unit
  • Standard APIs$0.0001/unit
    • $0.0001 per 100-character unit for entities, sentiment, key phrases and language in the first tier
    • Falls to $0.00005 and $0.000025 at higher volumes
    • Free tier of 50,000 units per API per month for 12 months
  • Custom Comprehend$3/hour
    • $3 per hour of model training
    • Endpoints $0.0005 per inference unit per second
    • No free tier

Azure Functions

Free
  • Consumption PlanOn request
    • 1 million requests free monthly
    • 400,000 GB-seconds free monthly
    • Billed per second and executions
  • Flex Consumption PlanOn request
    • 250,000 executions free monthly
    • 100,000 GB-seconds free monthly
    • Event-driven scaling
  • Premium PlanOn request
    • No execution charges
    • At least one instance required
    • Includes automatic scaling and VNET access

Which should you pick?

Choose Amazon Comprehend if

  • You need entity and key phrase extraction.
  • You also want sentiment and targeted sentiment.

Choose Azure Functions if

  • You want to start without paying.

Questions people ask

Is Amazon Comprehend or Azure Functions better?
It depends on the job. Amazon Comprehend fits redacting PII from call transcripts and support tickets before storage; Azure Functions fits event-driven computing. Amazon Comprehend starts at $0.0001/unit and Azure Functions at Free.
Which is cheaper, Amazon Comprehend or Azure Functions?
Azure Functions has a free tier; the other does not. Paid plans start at $0.0001/unit for Amazon Comprehend and Free for Azure Functions.
Does Amazon Comprehend or Azure Functions run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Azure Functions for free?
Yes. Azure Functions has a free tier, so you can try it without paying. Amazon Comprehend starts at $0.0001/unit.
What is Amazon Comprehend best used for?
Amazon Comprehend is most often used for redacting pii from call transcripts and support tickets before storage, scoring customer feedback sentiment at scale, classifying inbound documents into custom categories, extracting entities from contracts as a step before indexing in search. Of those, redacting pii from call transcripts and support tickets before storage and scoring customer feedback sentiment at scale are not what Azure Functions is typically brought in for.
What can Amazon Comprehend do that Azure Functions cannot?
Amazon Comprehend covers Entity and key phrase extraction, Sentiment and targeted sentiment, PII detection and redaction, Custom classification and entities.

Answered from the vendors’ own pages

Amazon Comprehend: How much does Amazon Comprehend cost?

$0.0001 per 100-character unit for core APIs in the first tier, per the AWS pricing page, with 50,000 free units per API per month for 12 months.

Azure Functions: Does Azure Functions have a free tier?

Yes, Azure Functions includes a monthly free grant of 1 million requests and 400,000 GB-seconds on the Consumption Plan, or 250,000 executions and 100,000 GB-seconds on Flex Consumption.

Source
Amazon Comprehend: Does Comprehend detect PII?

Yes. It detects and can redact personally identifiable information, priced at $0.0001 per unit in the first tier.

Azure Functions: What is Azure Functions' pricing model?

Azure Functions uses usage-based pricing. Consumption plans charge per second of resource consumption and per execution, measured in gigabyte-seconds and rounded to the nearest 128 MB.

Source
Amazon Comprehend: What does custom training cost?

Model training is $3 per hour and custom endpoints are $0.0005 per inference unit per second.

Azure Functions: What is the minimum execution time for Azure Functions?

The minimum execution time is 100 milliseconds on Consumption plans. Premium plans charge based on core seconds and allocated memory.

Source
Share

Related pages

Other head to heads