DEV Community

Nino Filiu
Nino Filiu

Posted on

8 1

I did the math: Resend is actually cheaper than AWS SES in most cases

While chosing an email provider to go above the free rate limit from Supabase I stumbled upon this article basically saying that Resend is a wrapper around Amazon SES, thus recommending to use SES directly

https://matteosonoio.it/resend/

Resend presents itself as being a dev-friendly email provider that "just works" while AWS SES (simple email service) is the complex but performant alternative.

After a whole day of configurations in the AWS console I still couldn't send one single email, let alone setup logging and the likes.

When going back to Resend, I managed to send my first email in literally 1mn. The whole Supabase integration took 15mn.

You do the math.


No actually I'm gonna do it:

This is the cost per email for both of these services:

  • SES: $0.0001
  • Resend: $0.0004

It really depends on what you're gonna use mails for, but if you only use transactional emails (signup, invites, order confirmations), you might send 10 of them per users per day, so 300 emails per months per user, which gives an email cost per user of:

  • SES: $0.03 / user / month
  • Resend: $0.12 / user / month

However keep in mind that you have to pay your engineer to setup the whole thing and Resend makes you save a lot in that regard, at least in my personal experience:

  • SES: 15 hours = $1500
  • Resend: 15mn = $25

You can plug in your own numbers, but over one year, SES only gets cheaper when you have:

cost_ses = 1500 + 12 * 0.03 * nb_users
cost_resend = 25 + 12 * 0.12 * nb_users
cost_ses < cost_resend
1500 - 25 < 12 * (0.12 - 0.03) * nb_users
1365 < nb_users
Enter fullscreen mode Exit fullscreen mode

at least 1365 users. And that's if you intensively use emails. So while SES is cheaper than Resend, I'd recommend to always start with a dev-friendly provider like Resend to start your project, then optimize by directly using the underlying cloud provider directly.

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (3)

Collapse
 
poziminski profile image
Pawel Oz

You made an interesting point. I am facing migration from Gmail API to something more scalable. I was thinking SES + SNS, but when reading through documentation I think: maybe something more friendly like Resend might be a better fit? Thanks for the article.

Collapse
 
nissi2005 profile image
nord.tech

To ensure sensitive data isn't stored on Resend you need Pro subscription plan.

resend.com/docs/knowledge-base/how...

Collapse
 
ryanleecode profile image
Ryan Lee

Lol

Billboard image

Deploy and scale your apps on AWS and GCP with a world class developer experience

Coherence makes it easy to set up and maintain cloud infrastructure. Harness the extensibility, compliance and cost efficiency of the cloud.

Learn more

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay