Resend and Mailgun are both email APIs aimed at developers. The short answer: Resend is cheaper at every volume we checked and gives you more on its free and entry plans, while Mailgun offers EU data residency, flexible inbound routing and a dedicated IP included from 100,000 emails a month. Every figure below comes from the vendors’ own pages, checked on 16 November 2026.
Who each one is for
Resend is a newer, developer-first API with strong ties to React Email, plus contact-priced marketing broadcasts. It suits startups that want a large free plan and a small, modern API.
Mailgun, owned by Sinch, is an older developer email API built around sending, inbound routing and address validation. It suits teams that process a lot of incoming mail, need EU data residency, or want a dedicated IP without buying an add-on.
Pricing compared
| Monthly volume | Resend | Mailgun |
|---|---|---|
| Free | 3,000/month, 100/day | 100/day |
| 10,000 | Free covers 3,000; Pro $20 covers 50,000 | $15 (Basic) |
| 50,000 | $20 (Pro) | $35 (Foundation 50k) |
| 100,000 | $35 (Pro 100k) | $75 (Foundation 100k) |
| 500,000 | $350 (Scale 500k) | $400 (Scale 500k) |
| 1,000,000 | $650 (Scale 1M) | $700 (Scale 1M) |
Mailgun shows a one-month free trial on Foundation and Scale.
Worked example: 100,000 emails a month
A product sending 100,000 emails a month pays $35 on Resend Pro 100k or $75 on Mailgun Foundation 100k. Resend keeps 30 days of logs and allows 10 domains; Foundation keeps 5 days and allows 1,000 domains. If you need 30 days of logs on Mailgun you move to Scale 100k at $90, which also includes a dedicated IP. Resend’s Scale 100k is also $90, with 1,000 domains and a dedicated IP as a $30 add-on.
Overage
Resend Pro charges $0.90 per 1,000 over your tier. Mailgun’s Basic plan charges $1.80, Foundation $1.30 (50k) or $1.10 (100k), and Scale from $1.10 at 100k falling to $0.40 at 2.5M.
Worked example: 10,000 emails a month
Small volumes are where the plans differ most. At 10,000 a month you are over Resend’s free 3,000, so you pay $20 for Pro, which covers 50,000. Mailgun Basic covers exactly 10,000 for $15, but allows only 1 domain and keeps 1 day of logs. If you expect to grow past 10,000 soon, Resend Pro leaves more headroom for $5 more; if you will stay small and need one domain, Mailgun Basic is cheaper.
Features
- Domains: Resend allows 3 on Free and 10 on Pro. Mailgun allows 1 on Free and Basic, then 1,000 on Foundation and Scale. If you run many client domains, Mailgun Foundation is cheaper than Resend Scale for that.
- Logs: Resend keeps 30 days on every plan. Mailgun keeps 1 day on Free and Basic, 5 on Foundation and 30 on Scale.
- Inbound: Resend includes inbound on all plans. Mailgun gives 1 route on Free, 5 on Basic and full routing on Foundation and up.
- Broadcasts: Resend sells marketing broadcasts. Mailgun’s pricing page does not say whether it does.
- Dedicated IPs: Mailgun includes one from 100,000 a month and sells extras at $59 each. Resend sells one at $30 a month on Scale. See dedicated vs shared IPs before paying for one.
Deliverability and account policies
Both send from shared IPs on lower plans. Resend’s acceptable use policy limits usage that puts shared deliverability at risk, and support is by dashboard ticket and email. We did not find a published suspension or review policy for Mailgun.
On regions, Mailgun is the clear winner for EU data. You pick US or EU per domain and message data stays in that region, with Australia available by contract. Resend sends from US, EU, Brazil and Japan regions, but account data, logs and metadata are stored in the US.
Developer experience
Resend has SDKs or quickstarts for Node.js, PHP, Python, Ruby, Go, Rust, Elixir, Java and .NET, plus framework guides and a CLI. Mailgun has SDKs for Go, Node.js, PHP, Java, Ruby and Python.
Resend’s language list is longer, with Rust, Elixir and .NET that Mailgun’s SDK page does not list. Mailgun’s extra strength is its inbound routes and validation tools, which matter if your app processes incoming mail. Both offer SMTP relay, so code that already speaks SMTP works with either; see SMTP vs API.
Which should you choose?
Choose Resend if
- You want the lower price at every volume we checked.
- You want 3,000 free emails a month and 30 days of logs on every plan.
- You want marketing broadcasts in the same product.
- You want SDKs for Rust, Elixir or .NET.
Choose Mailgun if
- You need EU data residency for message data.
- You receive and route a lot of inbound mail.
- You need many domains at mid volume (1,000 on Foundation).
- You want a dedicated IP included from 100,000 a month.
A third option
Mailcandor is an email API with unlimited domains on every plan, a human review with written reasons instead of a sudden suspension, and 3,000 free emails a month. It speaks the Resend request shape, and any Mailgun SMTP setup can point at its SMTP relay by changing host and password. See Mailcandor vs Mailgun.