Comparison ·

SendGrid vs Mailgun: Which Sending Service Fits Your Volume and Team

SendGrid or Mailgun, compared on plan limits, monthly prices at 10,000 to 250,000 emails, contact-based marketing costs, free tiers, trials and migration steps.

By the editorial team

The short answer

For a marketing team that sends newsletters, promotional campaigns and lifecycle emails from one account, SendGrid is the better pick. Its Marketing Campaigns Basic plan is listed at $15 a month, billed monthly, and covers up to 100,000 contacts and 300,000 emails a month. The reason is structural: SendGrid puts the subscriber list and the campaign sending in the same product, so you pay for the audience you manage as well as the messages you send. Mailgun, by contrast, is priced on sending volume alone, and its entry paid plan, Basic, is $15 a month for 10,000 emails.

If your team is mostly engineers sending application mail, such as password resets, receipts and alerts, and you do not maintain a subscriber database inside the sending vendor, Mailgun is the more direct fit. Its plans are simple to estimate from message counts alone. The rest of this page explains where the two products differ, what each price covers at realistic list sizes, and how to decide. For a wider view of the category, the site's full comparison of email tools covers other providers.

All prices below are the monthly figures shown on each vendor's pricing page as of 7 October 2026. Plan limits and promotional terms change, so confirm the current numbers on the vendor page before you sign up or migrate:

What each tool is built to do

SendGrid is sold as two related products that share a brand and a sending infrastructure. The Email API is a sending service for transactional and application mail, with plans priced by monthly email volume. Marketing Campaigns is a separate set of plans priced by both contacts and emails. Its free tier covers up to 2,000 contacts and 6,000 emails a month, and its Basic plan covers up to 100,000 contacts and 300,000 emails a month for $15 a month. SendGrid is owned by Twilio, and its pricing page is hosted under Twilio's domain, which is worth knowing if your procurement team searches for a SendGrid invoice and finds Twilio instead.

Mailgun is a sending service built around an email API and an SMTP relay. Its Free plan allows 100 emails per day and includes the RESTful email API and SMTP relay. Its paid plans, Basic, Foundation and Scale, are priced by monthly email volume, and usage beyond a plan's allowance is billed as overage. Mailgun's published pricing does not include a contact-based marketing tier. If you want a newsletter editor, subscriber segments and automated journeys inside the same vendor, Mailgun does not provide that on its plan list, so you would pair it with a separate marketing tool.

The difference in shape matters more than the difference in headline price. SendGrid asks you to choose a product (Email API or Marketing Campaigns) and then a plan within it. Mailgun asks you to choose a volume band. A team that answers the first question correctly tends to save money. A team that answers it wrongly tends to pay for two bills.

Tool Best for Entry price (plan, billing view) Key limitation
SendGrid Marketing teams that want contacts, campaigns and sending from one vendor Marketing Campaigns Free at $0 (up to 2,000 contacts and 6,000 emails a month); Marketing Basic at $15 a month, billed monthly (up to 100,000 contacts) Two products with separate plans; the Email API free trial is 100 emails a day for 60 days, not a permanent free plan
Mailgun Engineering teams sending application and transactional mail by API or SMTP Free at $0 (100 emails a day); Basic at $15 a month, billed monthly, for 10,000 emails a month Priced on email volume only, with no contact-based marketing tier on its pricing page

SendGrid: where it fits and where it falls short

SendGrid's main strength for a marketing audience is that the subscriber list and the sending live in one place. Suppose your list is 40,000 people and you send a weekly newsletter plus a handful of automated welcome emails. You can run both from the same account and the same sending domain setup, and the Marketing Campaigns plan gives you one contact cap and one email cap in one price. That makes it easy to see when list growth will push you to the next tier, which is the number marketers most often need to forecast.

The Email API side is priced separately. Essentials is listed at $19.95 a month for 50,000 to 100,000 emails a month, and Pro at $89.95 a month for 100,000 to 2,500,000 emails a month. Premier is custom-priced for volumes above that band. The listed price for these two API plans is the same whether you pay monthly or annually, so the monthly figure is the one to budget against.

The limitation to plan for is structure. Because the marketing product and the API product have separate plans, a team may end up on one plan for campaigns and another for transactional sends, with two sets of limits to watch. A product manager who asks for a single invoice may be surprised to see two line items. SendGrid also prices marketing use against contacts as well as emails, so a list that grows faster than your sending volume can move you to a higher tier even when you are sending the same number of messages each month. The Marketing Basic plan allows 100,000 contacts, and the next listed Marketing plan, Advanced, is $60 a month for up to 200,000 contacts and 1,000,000 emails.

SendGrid also suits teams that want a permanent free route for a small list. The Marketing Campaigns Free plan covers up to 2,000 contacts and 6,000 emails a month at $0, which is enough for a small newsletter. The free route for application mail is different: the Email API free trial gives 100 emails a day for 60 days, and after that a paid Email API plan applies.

Mailgun: where it fits and where it falls short

Mailgun suits teams that treat email as a feature of their product. Its plans are simple to compare. Basic is $15 a month for 10,000 emails, Foundation is $35 a month for 50,000 emails, and Scale is $90 a month for 100,000 emails. Because the tiers depend only on sending volume, you can estimate your monthly cost from the number of messages your application produces, without looking at a subscriber database. For a product that sends a password reset every time a user logs in, that is a clean model.

Mailgun's pricing page describes one month free on Foundation and Scale, and it also describes 30-day trials for paid plans. Read the current terms on the pricing page before you start, because the exact conditions of a trial are set by the vendor and can change. Foundation is listed at $35 a month after the first month, so the trial is a introductory period rather than a lasting discount. Plan your budget around the $35 figure from the start.

The limitation for marketing use is that Mailgun's published plans do not include a contact-based campaign tier. If you need a visual editor for newsletters, subscriber segments and automated journeys, you will likely pair Mailgun with a separate marketing tool. That adds a second bill and a second place to manage suppression lists, which is the same risk as the SendGrid two-product model, only in the opposite direction. Overage charges are usage-based, and the overage rate table is not reproduced on this page, so model a high-volume month on the vendor's pricing page before you rely on a figure. Above the Scale plan's 100,000 emails a month, Mailgun's public plan list does not show a price, so a higher-volume sender should ask for a quote.

What the prices cover at realistic volumes

The table below shows the lowest-priced listed plan that fits each monthly email volume, using only the prices and limits on each vendor's pricing page. Where a vendor does not list a plan for a volume, the cell says so. Marketing plans also depend on contact count, so check both the contact cap and the email cap before you pick a plan.

Emails per month SendGrid Mailgun
10,000 Marketing Basic, $15 a month, billed monthly (up to 100,000 contacts and 300,000 emails). No Email API plan is listed at this volume apart from the 60-day trial. Basic, $15 a month, billed monthly (10,000 emails a month)
50,000 Email API Essentials, $19.95 a month (50,000 to 100,000 emails). If the sends are campaigns, Marketing Basic at $15 a month applies as long as contacts stay within 100,000. Foundation, $35 a month (50,000 emails a month)
100,000 Email API Pro, $89.95 a month (100,000 to 2,500,000 emails). If the sends are campaigns, Marketing Basic at $15 a month applies as long as contacts stay within 100,000. Scale, $90 a month (100,000 emails a month)
250,000 Email API Pro, $89.95 a month (inside the 100,000 to 2,500,000 band). Marketing Basic covers 300,000 emails but only up to 100,000 contacts. Pricing on request. Its public plan list ends at Scale, which covers 100,000 emails a month.

Two patterns stand out. First, SendGrid's Marketing Basic plan is the lowest listed route for a campaign program of up to 100,000 contacts sending up to 300,000 emails a month. Second, Mailgun's entry prices rise in steps that follow sending bands, so a 50,000-email month costs $35 on Foundation, which is more than SendGrid's Essentials plan at the same volume. For application mail alone, SendGrid's Essentials price is lower on the listed figures. The comparison reverses when the volume is campaign mail to a list that is near the contact cap.

Remember that the figures are monthly prices. For SendGrid's Essentials and Pro plans, the listed price is the same under monthly and annual billing, so there is no annual saving to add to the calculation. For Mailgun, the public figures for Basic, Foundation and Scale are the monthly prices.

Contact-based costs for marketing use

Mailgun does not price by contacts, so the contact-based comparison is between SendGrid's Marketing Campaigns plans and the marketing plans of other vendors. The table below uses SendGrid's listed Marketing plans and the marketing plans of Resend, which is one of the alternatives covered later on this page. It shows how the cost of a list grows, not how many emails you send. Each row assumes sending stays inside the email cap of the plan named.

Contacts SendGrid Marketing plan Resend marketing plan Mailgun
1,000 Marketing Free at $0 (up to 2,000 contacts and 6,000 emails a month) Free at $0 (1,000 contacts, unlimited broadcast sending, 10,000 automation runs) No contact-based tier listed
5,000 Marketing Basic at $15 a month, billed monthly (up to 100,000 contacts) Pro at 5,000 contacts, $40 a month No contact-based tier listed
25,000 Marketing Basic at $15 a month, billed monthly, if sending stays within 300,000 emails a month Pro at 25,000 contacts, $180 a month No contact-based tier listed
100,000 Marketing Basic at $15 a month, billed monthly, as the 100,000-contact cap is the top of that plan Pro at 100,000 contacts, $450 a month No contact-based tier listed

The spread in this table is the core fact for a marketing team. On SendGrid's listed Marketing plans, the cost of a 100,000-contact list is still the Basic price, provided sending stays within the plan's email limit. On the Resend marketing plans in the same table, the price rises with the contact count. Neither result is a recommendation by itself. A team with a large inactive list may prefer to segment and prune it before choosing a plan, because contact-based pricing rewards smaller, actively engaged lists.

Two cautions apply. A contact cap is not a sending allowance, so a list of 100,000 people who receive four campaigns a month is a very different load from the same list receiving one. And a contact count that grows faster than your sending volume will eventually move you up a tier even if your monthly send count stays flat. Track both numbers from the start.

Free plans and trials compared

Free tiers are where the two products differ most in practice. Mailgun's Free plan allows 100 emails a day and includes the API and SMTP relay. That makes it a practical place to build and test an integration, though the daily cap means a launch day with a burst of signups can hit the limit. Because the cap is daily rather than monthly, a low-volume month can still run out on one busy day.

SendGrid offers two free routes, and they serve different purposes. The Marketing Campaigns Free plan covers up to 2,000 contacts and 6,000 emails a month at $0. A small newsletter with fewer than 2,000 contacts can run on that plan indefinitely, within the listed limits. The Email API free trial covers 100 emails a day for 60 days. A team that wants to test application mail should plan to move to a paid Email API plan once the 60 days end. Neither route should be treated as a permanent sending budget for application mail without checking the current terms on the pricing page.

Mailgun's trial structure is different. Its pricing page describes one month free on Foundation and Scale, and 30-day trials for paid plans. If you want to test a higher volume without paying for the full first month, read that offer closely before you start, and set a calendar reminder for the date the paid rate begins.

Decision table: which tool for which need

The table below is organised around the decisions you actually face. Each row names the need, the tool that fits it on current listed pricing, and the reason tied to the vendor's published plans.

If you need Pick Because
Newsletters, campaigns and a subscriber list in the same account as sending SendGrid Marketing Campaigns is a listed product with contact and email caps in one plan
Application mail only, with no subscriber database to manage Mailgun Plans are priced on monthly email volume, with no contact tier to manage
A small newsletter under 2,000 contacts and 6,000 emails a month, at no cost SendGrid The Marketing Campaigns Free plan covers that range on the vendor's listed limits
A free route to build and test an integration Mailgun or SendGrid trial Mailgun's Free plan includes the API and SMTP relay at 100 emails a day; SendGrid's Email API trial gives 100 emails a day for 60 days
About 10,000 emails a month for $15 Either, on price SendGrid Marketing Basic and Mailgun Basic are both listed at $15 a month, billed monthly
About 50,000 application emails a month SendGrid Email API Essentials Listed at $19.95 a month for 50,000 to 100,000 emails, against $35 a month for Mailgun's Foundation plan
A large list with modest sending volume Check SendGrid's contact cap first Marketing plans cap contacts, so a large list can require a higher tier than the email count suggests
Volume above 100,000 emails a month Request quotes from both Both vendors list custom or contact-sales options above their published plans

Setup and migration checklist

Switching between SendGrid and Mailgun is mostly about sending domains, suppression data and cut-over timing. The checklist below is ordered so that you do not lose deliverability or unsubscribe records during the move. Run the steps in a staging environment first, and keep the old account active until the new one has handled a full sending cycle.

Step What to do Why it matters
1. Inventory senders List every application, form and campaign that sends mail, with its sending domain and monthly volume You need the volume to pick a plan, and forgotten senders are the most common cause of a delivery gap
2. Confirm plan limits Compare your email count and, for marketing, your contact count against the plan table on the vendor's pricing page Contact caps and email caps are separate, and a plan can fit on one and not the other
3. Authenticate the sending domain Add the DNS records the new vendor gives you for each sending domain, and confirm they are active before sending live mail Unauthenticated domains are more likely to have messages filtered or rejected
4. Export suppression data Export bounces, spam complaints and unsubscribes from the old service and import them into the new one Mailing people who have opted out or bounced damages sender reputation and creates compliance risk
5. Switch the integration Update the API keys or SMTP settings one sender at a time, starting with the lowest-risk one A staged change makes it clear which sender caused a problem if one occurs
6. Run both in parallel Keep the old account live for one full sending cycle and compare delivery and bounce rates in both It gives you a fallback and confirms the new setup before you cancel anything
7. Close the old account Cancel only after you have checked that no sender still points at the old service Scheduled jobs and forgotten scripts can keep sending on a timetable nobody remembers

How to choose

Start with the question of who owns the mail. If a marketer builds newsletters, keeps a contact database and schedules campaigns, SendGrid's structure matches that work, because the list and the sending sit under one vendor and one plan family. If an engineer owns the mail and wants a sending service priced on volume, Mailgun is easier to reason about, because there is no list to pay for. Neither answer is wrong, but they produce different bills.

Next, count contacts and emails separately. Many marketing teams pick a plan from list size and then discover that sending volume is higher, or the other way round. For SendGrid's Marketing plans, both numbers count. For Mailgun, only the email count sets the tier. For SendGrid's Email API plans, the email count sets the tier and there is no contact cap.

Then look at the free allowance you actually need. A team that wants to try an integration for a week can use Mailgun's 100 emails a day or SendGrid's 60-day Email API trial. A team that wants a permanent free route for a small newsletter should look at SendGrid's Marketing Campaigns Free plan, which lists 2,000 contacts and 6,000 emails a month.

Finally, check your growth path. If you expect the list to pass 100,000 contacts, SendGrid's Marketing Basic plan stops at that cap, and the next listed Marketing tier is Advanced at $60 a month for up to 200,000 contacts. If you expect sending volume to pass 100,000 emails a month, Mailgun's public plans stop at Scale, so you will need a quote at that size. Both vendors make the upper end of their range a conversation rather than a self-serve purchase.

Alternatives if neither fits

Two other sending services publish plan prices that are worth comparing if neither SendGrid nor Mailgun matches your plan shape. Postmark lists a Free plan at $0 for 100 emails a month with no overages, a Basic plan at $15 a month starting at 10,000 emails a month, a Pro plan at $16.50 a month starting at 10,000 emails a month, and a Platform plan at $18 a month starting at 10,000 emails a month. At 50,000 emails a month, its listed Basic price is $55, Pro is $60.50 and Platform is $66.

Resend lists a Free plan at $0 for 3,000 emails a month and 100 emails a day, a Pro plan at $20 a month for 50,000 emails a month, and a Scale plan at $90 a month for 100,000 emails a month. It also publishes marketing plans priced by contacts, including a Free plan at $0 for 1,000 contacts and a Pro marketing plan at $40 a month for 5,000 contacts. Check each vendor's pricing page before you decide, because listed plans and sliders change over time.

Frequently asked questions

Is SendGrid free forever?

Not for the Email API. The Email API free trial gives 100 emails a day for 60 days. SendGrid's Marketing Campaigns Free plan covers up to 2,000 contacts and 6,000 emails a month, and that is the free option to check if you are sending campaigns rather than application mail. Confirm current terms on the Twilio pricing page before you rely on either.

Does Mailgun have a free plan?

Yes. Mailgun's Free plan allows 100 emails a day and includes the RESTful email API and SMTP relay. Its paid plans start with Basic at $15 a month for 10,000 emails a month, billed monthly.

Which is cheaper at 10,000 emails a month?

On the listed prices, SendGrid's Marketing Basic plan and Mailgun's Basic plan both cost $15 a month, billed monthly. The deciding factor is what else you pay for. Marketing Basic includes a contact list of up to 100,000 contacts, while Mailgun's Basic plan is priced on email volume alone.

Which is cheaper at 50,000 emails a month?

Mailgun's Foundation plan is listed at $35 a month for 50,000 emails. SendGrid's Email API Essentials plan is listed at $19.95 a month for 50,000 to 100,000 emails. If the sending is campaign mail to a list, SendGrid's Marketing Basic plan at $15 a month may also apply, provided contacts stay within 100,000. For application mail, Essentials is the lower listed price.

Does Mailgun offer marketing campaigns?

Mailgun's public plans are based on email volume, with usage-based overages and no contact-based campaign tier. If you need a newsletter editor and subscriber segments, plan to pair Mailgun with a separate marketing tool, or choose SendGrid's Marketing Campaigns product for one vendor.

Can I use a free trial to test a migration?

You can test the integration, but the trial limits are small. SendGrid's Email API trial covers 100 emails a day for 60 days. Mailgun's Free plan covers 100 emails a day, and its pricing page describes one month free on Foundation and Scale. Use a trial to confirm the setup, then move to a paid plan sized to your real volume before you close the old account.

What happens to my unsubscribe list when I switch?

Export your suppression data from the old service and import it into the new one before you send any live campaign. That covers bounces, spam complaints and unsubscribes. Sending to addresses that have opted out creates compliance risk and can harm your sender reputation, so treat this step as required.

When should I ask for a custom quote?

Ask for a quote when your volume or contact count goes beyond the plans on the public pricing page. SendGrid lists Premier and Custom options for high-volume needs, and Mailgun's pricing page is the place to check current options above its Scale plan. Bring your monthly email count, your contact count and a list of your senders to the conversation so the quote reflects your real workload.