Softwr

Machine Learning · head to head

Amazon Comprehend vs LightGBM

Amazon Comprehend logo

Amazon Comprehend

Machine Learning

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

From
$0.0001/unit
Free plan
No
LightGBM logo

LightGBM

Machine Learning

Open-source gradient boosting framework for fast tree-based learning on large datasets

From
Free
Free plan
Yes

The short version

  • LightGBM is an MIT-licensed gradient boosting framework.
  • LightGBM is free; Amazon Comprehend starts at $0.0001/mo.
  • Only Amazon Comprehend lists entity and key phrase extraction; only LightGBM lists parallel and distributed learning.
  • Where Amazon Comprehend falls short: custom endpoints bill per second while provisioned, so an idle endpoint carries a continuous cost.
  • Where LightGBM falls short: A code library with no hosted service or user interface.

How do Amazon Comprehend and LightGBM differ?

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

Attributes where Amazon Comprehend and LightGBM differ
AttributeAmazon ComprehendLightGBM
Starting price$0.0001/unitFree
Pricing modelPer 100-character unit, per training hour and per inference unit secondOpen-source
Free tierNoYes
PlatformsWebWindows, macOS, Linux

Not yet recorded: category for Amazon Comprehend.

Which features does each one have?

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

  • Gradient boosting with tree-based learners
  • Parallel and distributed learning
  • GPU learning
  • Low memory use
  • Ranking and classification
  • Parameter tuning guides
  • Python, R and C interfaces
  • MIT licence

What is each one used for?

Amazon Comprehend is most often brought in for redacting PII from call transcripts and support tickets before storage; LightGBM for predictive models on large tabular datasets. The jobs each tool is most often brought in to do.

Amazon Comprehend

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

LightGBM

  • Predictive models on large tabular datasetsnot Amazon Comprehend
  • Learning-to-rank for search and recommendationsnot Amazon Comprehend
  • Fast prototyping where memory is limitednot Amazon Comprehend
  • Competition and benchmark modellingnot Amazon Comprehend

Where do Amazon Comprehend and LightGBM fall short?

Amazon Comprehend's most cited limit: custom endpoints bill per second while provisioned, so an idle endpoint carries a continuous cost. LightGBM's: A code library with no hosted service or user interface. 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

LightGBM

  • A code library with no hosted service or user interface
  • No vendor support plan, help comes from the community
  • Aimed at tabular data rather than images or text
  • Results depend on careful parameter tuning

How much do Amazon Comprehend and LightGBM cost?

Amazon Comprehend starts at $0.0001/mo; LightGBM 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

LightGBM

Free

No published plan breakdown. See the LightGBM review.

Which should you pick?

Choose Amazon Comprehend if

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

Choose LightGBM if

  • You need gradient boosting with tree-based learners.
  • You want to start without paying.
  • You work on Windows, macOS, Linux.
  • You also want parallel and distributed learning.

Questions people ask

Is Amazon Comprehend or LightGBM better?
It depends on the job. Amazon Comprehend fits redacting PII from call transcripts and support tickets before storage; LightGBM fits predictive models on large tabular datasets. Amazon Comprehend starts at $0.0001/unit and LightGBM at Free.
Which is cheaper, Amazon Comprehend or LightGBM?
LightGBM has a free tier; the other does not. Paid plans start at $0.0001/unit for Amazon Comprehend and Free for LightGBM.
Does Amazon Comprehend or LightGBM run on more platforms?
Amazon Comprehend runs on Web. LightGBM runs on Windows, macOS, Linux.
Can I use LightGBM for free?
Yes. LightGBM 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 LightGBM is typically brought in for.
What can Amazon Comprehend do that LightGBM cannot?
Amazon Comprehend covers Entity and key phrase extraction, Sentiment and targeted sentiment, PII detection and redaction, Custom classification and entities. LightGBM covers Gradient boosting with tree-based learners, Parallel and distributed learning, GPU learning, Low memory use.

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.

LightGBM: Who created LightGBM?

Guolin Ke and Qiwei Ye at Microsoft Research, with a first release in 2016.

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.

LightGBM: Is LightGBM free?

Yes, it is free and open source under the MIT licence.

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.

LightGBM: Does LightGBM support GPUs and distributed training?

Yes, the documentation lists parallel, distributed and GPU learning with dedicated guides.

Source
Share

Related pages

Other head to heads