Softwr

APIs · head to head

Mailgun vs Valkey

Mailgun logo

Mailgun

APIs

Email delivery built for developers

From
Free
Free plan
Yes
Valkey logo

Valkey

Databases

Open-source in-memory data store forked from Redis

From
Free
Free plan
Yes

The short version

  • Valkey is free; Mailgun starts at $15/mo.
  • Where Mailgun falls short: free tier limited to 100 emails per day, restricting high-volume use cases.
  • Where Valkey falls short: younger project, so its track record is short even though the codebase is not.

How do Mailgun and Valkey differ?

Mailgun and Valkey differ on pricing model, platforms and category (APIs against Databases). Only the attributes on which Mailgun and Valkey actually diverge.

Attributes where Mailgun and Valkey differ
AttributeMailgunValkey
Pricing modelSubscriptionOpen source, no licence fee; managed cloud billed separately
PlatformsWebLinux, macOS, Self-hosted
CategoryAPIsDatabases
Founded20102024

Identical on both: starting price (Free), free tier (Yes).

Which features does each one have?

They share no listed features; 4 only for Valkey. 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 Mailgun

Nothing recorded that Valkey does not also cover.

Only in Valkey

  • Redis-compatible
  • BSD licensed
  • Rich data structures
  • Replication and persistence

What is each one used for?

Mailgun is most often brought in for transactional email delivery and SMTP relay; Valkey for migrating from Redis without rewriting application code. The jobs each tool is most often brought in to do.

Mailgun

  • Transactional email delivery and SMTP relaynot Valkey
  • Email marketing at scale for developers and enterprisesnot Valkey

Valkey

  • Continuing on a permissively licensed in-memory store after the Redis licence changenot Mailgun
  • Caching and session storage where a foundation-governed project is a procurement requirementnot Mailgun
  • Migrating from Redis without rewriting application codenot Mailgun

Where do Mailgun and Valkey fall short?

Mailgun's most cited limit: free tier limited to 100 emails per day, restricting high-volume use cases. Valkey's: younger project, so its track record is short even though the codebase is not. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Mailgun

  • Free tier limited to 100 emails per day, restricting high-volume use cases
  • Log retention minimal on lower tiers (1 day on Free and Basic plans)
  • Add-on pricing for email validations and extra emails can accumulate quickly for high-traffic users

Valkey

  • Younger project, so its track record is short even though the codebase is not
  • Divergence from Redis grows over time, so compatibility is strongest near the fork point and weakens as both evolve
  • Ecosystem tooling and documentation still frequently assume Redis, leaving translation work

How much do Mailgun and Valkey cost?

Mailgun has a free plan, with paid plans from $15/mo; Valkey is free to use. Plan by plan below, from each vendor's own pricing page.

Mailgun

Free
  • FreeFree
    • 100 emails per day
    • Basic APIs
    • SMTP relay
  • Basic$15/mo
    • 10,000 emails per month
    • No daily limits
    • Monthly overage options
  • Foundation$35/mo
    • 50,000 emails per month
    • 1,000 custom domains
    • Email template builder
  • Scale$90/mo
    • 100,000 emails per month
    • SAML SSO
    • 5,000 email validations

Valkey

Free
  • ValkeyFree
    • Full functionality
    • Self-hosted
    • No usage limits

Which should you pick?

Choose Mailgun if

  • You want to start without paying.

Choose Valkey if

  • You need redis-compatible.
  • You want to start without paying.
  • You work on Linux, macOS, Self-hosted.
  • You also want bsd licensed.

Questions people ask

Is Mailgun or Valkey better?
It depends on the job. Mailgun fits transactional email delivery and SMTP relay; Valkey fits continuing on a permissively licensed in-memory store after the Redis licence change. Mailgun starts at Free and Valkey at Free.
Which is cheaper, Mailgun or Valkey?
Mailgun starts at Free and Valkey at Free.
Does Mailgun or Valkey run on more platforms?
Mailgun runs on Web. Valkey runs on Linux, macOS, Self-hosted.
Can I use Mailgun for free?
Both have a free tier, so you can try either at no cost before committing.
What is Mailgun best used for?
Mailgun is most often used for transactional email delivery and smtp relay, email marketing at scale for developers and enterprises. Of those, transactional email delivery and smtp relay and email marketing at scale for developers and enterprises are not what Valkey is typically brought in for.
What can Mailgun do that Valkey cannot?
Valkey covers Redis-compatible, BSD licensed, Rich data structures, Replication and persistence.

Answered from the vendors’ own pages

Mailgun: What happens when I exceed my monthly email quota?

Mailgun allows monthly overage options on paid plans. Extra emails are charged from $1.30 to $1.10 per 1,000 emails depending on plan tier. Enterprise customers negotiate custom rates.

Source
Valkey: Is Valkey free?

Yes, BSD-licensed open source under the Linux Foundation.

Mailgun: Can I upgrade from Free to a paid plan and when does billing begin?

Yes, you can upgrade to paid plans anytime. The first month is free on Foundation ($35/month) and Scale ($90/month) plans, with billing starting on month two.

Source
Valkey: Why does Valkey exist?

Redis changed its licence away from BSD in 2024. Valkey is the community fork continuing under permissive terms, backed by AWS, Google Cloud and Oracle among others.

Mailgun: What currencies and billing periods does Mailgun support?

Mailgun supports monthly billing in USD, EUR, and GBP. Charges are prorated for mid-month signups. Annual billing options are not explicitly listed on the pricing page.

Source
Valkey: Can I switch from Redis to Valkey?

At the fork point it is drop-in compatible with existing clients and data. The further both projects move from that point, the more you should verify the specific features you use.

Share

Related pages

Other head to heads