Softwr

APIs · head to head

Amazon Comprehend vs PubNub

Amazon Comprehend logo

Amazon Comprehend

APIs

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

From
$0.0001/unit
Free plan
No
PubNub logo

PubNub

APIs

Realtime communication platform for chat, IoT, and live data apps

From
Free
Free plan
Yes

The short version

  • PubNub has a free plan, then $98/mo; Amazon Comprehend starts at $0.0001/mo.
  • Only Amazon Comprehend lists entity and key phrase extraction; only PubNub lists pub/sub messaging.
  • Where Amazon Comprehend falls short: custom endpoints bill per second while provisioned, so an idle endpoint carries a continuous cost.
  • Where PubNub falls short: free plan storage history is limited to 7 days, which is short for apps needing longer message retention.

How do Amazon Comprehend and PubNub differ?

Amazon Comprehend and PubNub 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 PubNub actually diverge.

Attributes where Amazon Comprehend and PubNub differ
AttributeAmazon ComprehendPubNub
Starting price$0.0001/unitFree
Pricing modelPer 100-character unit, per training hour and per inference unit secondFreemium
Free tierNoYes
PlatformsWebWeb, iOS, Android, API

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

Which features does each one have?

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

  • Pub/sub messaging
  • Presence tracking
  • Message persistence
  • Serverless Functions
  • File sharing
  • Encryption and access controls

What is each one used for?

Amazon Comprehend is most often brought in for redacting PII from call transcripts and support tickets before storage; PubNub for building realtime chat applications. The jobs each tool is most often brought in to do.

Amazon Comprehend

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

PubNub

  • Building realtime chat applicationsnot Amazon Comprehend
  • Streaming live IoT sensor datanot Amazon Comprehend
  • Adding presence indicators to collaborative appsnot Amazon Comprehend
  • Running edge logic with serverless Functions on realtime eventsnot Amazon Comprehend

Where do Amazon Comprehend and PubNub fall short?

Amazon Comprehend's most cited limit: custom endpoints bill per second while provisioned, so an idle endpoint carries a continuous cost. PubNub's: free plan storage history is limited to 7 days, which is short for apps needing longer message retention. 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

PubNub

  • Free plan storage history is limited to 7 days, which is short for apps needing longer message retention
  • MAU-based pricing means costs scale directly with user growth, which can be less predictable than flat message-based pricing
  • Pro-tier custom pricing above 50,000 MAU requires contacting sales rather than self-serve checkout

How much do Amazon Comprehend and PubNub cost?

Amazon Comprehend starts at $0.0001/mo; PubNub has a free plan, with paid plans from $98/mo. 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

PubNub

Free
  • FreeFree
    • Up to 200 MAU or 1M transactions
    • 1GB data storage (7 days)
    • 5 test Serverless Functions
  • Starter$98/mo
    • 1,000 MAU included
    • User management
    • Insights
  • ProOn request
    • Custom MAU packages
    • Volume discounts
    • Enterprise-scale configurations

Which should you pick?

Choose Amazon Comprehend if

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

Choose PubNub if

  • You need pub/sub messaging.
  • You want to start without paying.
  • You work on Web, iOS, Android, API.
  • You also want presence tracking.

Questions people ask

Is Amazon Comprehend or PubNub better?
It depends on the job. Amazon Comprehend fits redacting PII from call transcripts and support tickets before storage; PubNub fits building realtime chat applications. Amazon Comprehend starts at $0.0001/unit and PubNub at Free.
Which is cheaper, Amazon Comprehend or PubNub?
PubNub has a free tier; the other does not. Paid plans start at $0.0001/unit for Amazon Comprehend and Free for PubNub.
Does Amazon Comprehend or PubNub run on more platforms?
Amazon Comprehend runs on Web. PubNub runs on Web, iOS, Android, API.
Can I use PubNub for free?
Yes. PubNub 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 PubNub is typically brought in for.
What can Amazon Comprehend do that PubNub cannot?
Amazon Comprehend covers Entity and key phrase extraction, Sentiment and targeted sentiment, PII detection and redaction, Custom classification and entities. PubNub covers Pub/sub messaging, Presence tracking, Message persistence, Serverless Functions.

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.

PubNub: What does PubNub cost?

PubNub offers a free plan for up to 200 MAU or 1 million transactions, a Starter plan at $98/month for 1,000 MAU, and custom Pro pricing for larger volumes, e.g. around $550/month for 10,000 MAU.

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.

PubNub: Is there a free plan, and what are its limits?

Yes, the free plan supports up to 200 monthly active users or 1 million transactions, includes 1GB of data storage retained for 7 days, and requires no credit card.

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.

PubNub: How is usage metered?

PubNub bills primarily by Monthly Active Users, defined as a unique user who connects at least once in a billing cycle; messages are bundled into MAU pricing with no separate per-message fees, and overage is billed proportionally.

Source
Share

Related pages

Other head to heads