Mailgun vs SendGrid
Compare Mailgun and SendGrid based on observed API performance, features, and pricing
Live performance comparison
Real-world performance data from messages sent through Knock
| Provider | Message volume | Growth | Status page updates (30d) | Status page updates (90d) |
|---|---|---|---|---|
100M–500M | 5th of 10 ↑ | 1 | 1 | |
500M+ | 2nd of 10 → | 13 | 23 |
From December 12th to March 12th, Knock routed 100M–500M messages through Mailgun and 500M+ through SendGrid. Mailgun reported 1 status page update over the last 90 days, while SendGrid reported 23.
Response time
Response time measures how long each provider takes to accept an API request from Knock, including connection overhead and any automatic retries. Lower values mean faster message hand-off.
The chart above shows each provider's daily median response time (p50) from December 12th to March 12th. The top-line number is an average of these daily values: Mailgun averaged 123ms compared to 22ms for SendGrid. Mailgun's highest daily p50 was 136ms; SendGrid's was 28ms. SendGrid is 101ms faster at the median, which can add up at high volumes.
The 90th percentile (p90) captures the slowest 10% of requests, revealing how each provider handles moderate stress. Averaged across all days, Mailgun has a p90 of 176ms compared to 77ms for SendGrid. The highest daily p90 was 215ms for Mailgun and 98ms for SendGrid. SendGrid handles these slower requests 99ms faster, suggesting more consistent performance across the board.
The 99th percentile (p99) represents the long tail — the slowest 1% of requests. Averaged across all days, Mailgun reached 381ms at p99 while SendGrid reached 159ms. The highest daily p99 was 451ms for Mailgun and 1256ms for SendGrid, indicating the worst-case response time during spikes or provider-side congestion. SendGrid shows a tighter tail, which may matter for time-sensitive notifications like one-time passwords or real-time alerts where even rare delays can impact user experience.
Error rate
Error rate tracks the ratio of 5xx responses and timeouts to total requests. Knock automatically retries failed requests, so transient provider errors rarely affect end-user delivery.
| Provider | Avg. daily error rate | Highest daily rate | Peak error date | Zero-error days | Days above 0.01% |
|---|---|---|---|---|---|
0.00% | 0.00% | Dec 12 | 91 | 0 | |
0.00% | 0.02% | Jan 21 | 83 | 3 |
Averaged across the date range, Mailgun shows a 0.00% daily error rate compared to 0.00% for SendGrid. The highest single-day error rate was 0.00% for Mailgun and 0.02% for SendGrid. Both providers show similar reliability levels, with error rates well within acceptable thresholds. Knock automatically retries failed requests to both providers, minimizing the impact of transient errors on end-user delivery.
About these metrics: Data represents messages sent through Knock during the specified period. Response time measures time from Knock to provider acceptance. Error rate includes only provider 5xx responses and timeouts.
Recent Mailgun incidents
Status page incidents from the last 30 days for Mailgun
Started Feb 25, 2026 — Resolved Feb 25, 2026
Feb 25, 13:45 PST Resolved - This incident has been resolved.Feb 25, 13:36 PST Monitoring - A fix has been implemented and we are monitoring the results.Feb 25, 12:25 PST Update - We are continuing to work on a fix for this issue.Feb 25, 11:47 PST Update - We are continuing to work on a fix for this issue.Feb 25, 11:30 PST Update - We are continuing to work on a fix for this issue.Feb 25, 11:29 PST Identified - Domain verification is also impacted. Increased chances of domain verification failin
Recent SendGrid incidents
Status page incidents from the last 30 days for SendGrid
Started Mar 11, 2026 — Resolved Mar 11, 2026
Mar 10, 18:00 PDT Completed - The scheduled maintenance has been completed.Mar 10, 17:30 PDT In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary.Mar 9, 07:16 PDT Scheduled - As part of correcting an inaccurate timestamp in the response from our Spamreport API request, we will be performing database maintenance on March 10th, from 5:30 to 6:00pm PT. During this time, customers will be unable to access the public API and v2 equivalent APIs and all Sp
Started Mar 8, 2026 — Resolved Mar 8, 2026
Mar 7, 20:00 PST Completed - The scheduled maintenance has been completed.Mar 7, 16:00 PST In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary.Feb 27, 14:47 PST Scheduled - In order to increase the stability and scalability of our systems, we are performing scheduled maintenance on our infrastructure on Saturday, March 7th, from 4PM-8PM PDT. During this time, customers may not be able to create new accounts, users, subusers, teammates, or API keys
Started Mar 7, 2026 — Resolved Mar 7, 2026
Mar 6, 18:13 PST Completed - The scheduled maintenance has been completed.Feb 23, 10:23 PST Update - Scheduled maintenance is still in progress. We will provide updates as necessary.Feb 23, 10:02 PST Update - From Monday February 23rd - Friday March 6th, our legacy webhook infrastructure will be disabled for 12 hours daily, then re-enabled, affecting webhook deliveries.Feb 18, 12:04 PST Update - Scheduled maintenance is still in progress. We will provide updates as necessary.Feb 17, 14:36 PST U
Started Mar 5, 2026 — Resolved Mar 5, 2026
Mar 5, 11:14 PST Resolved - Between 8:53 AM and 9:37 AM PST, customers may have experienced delays in email event processing, including click and open data. Our Engineers identified a bottleneck, and have resolved the issue. While email delivery continued with low execution times, the reporting of these events to the Stats API and your dashboard was delayed. However, all downstream queues, including Engagement Stats, have fully caught up as of 9:45 AM PST and are resolved at the time.
Started Mar 4, 2026 — Resolved Mar 4, 2026
Mar 4, 08:44 PST Resolved - Our engineers have investigated and resolved an issue that occurred causing delays in timezone updates. On 03/03 ~2:09PM customers would have seen errors in the console when trying to update their timezone setting or while fetching timezones via /v3/timezones. A fix was deployed a fix on 03/04 ~7:48AM. This issuse has now been resolved
Started Mar 4, 2026 — Resolved Mar 4, 2026
Mar 4, 07:30 PST Resolved - Our engineers have investigated and resolved the issues that began on 3/4/2026 from 8am PST to 3/9/2026 at 5pm PST that impacted the reporting for a subset of group unsubscribe and group resubscribe Event Webhooks. Users may have experienced issues with group unsubscribes and group resubscribes that were not processed, although the api calls for those events were processed. The issue has been resolved and all impacted services are operating normally.
Started Mar 3, 2026 — Resolved Mar 3, 2026
Mar 2, 17:17 PST Resolved - Between 4:00 PM and 5:04 PM PST, customers may have experienced delays when viewing Global Stats. Our Engineers identified and resolved the issue
Started Mar 3, 2026 — Resolved Mar 3, 2026
Mar 2, 17:05 PST Resolved - Between 4:00pm to 4:30pm PT, some mail delivery were delayed. There was no data loss or API unavailability. Our Engineers identified and resolved the issue.
Started Mar 2, 2026 — Resolved Mar 2, 2026
Mar 2, 11:06 PST Resolved - Our engineers have confirmed this issue is now resolved. Customers in Argentina should now be able to authenticate and add credit cards successfully. If you are located in Argentina and are still experiencing issues adding or authenticating a credit card, please reach out to Support for additional assistance.Feb 27, 15:02 PST Update - Our engineering team is continuing to monitor system performance. For customers located in Argentina impacted by this issue, please r
Started Mar 1, 2026 — Resolved Mar 1, 2026
Feb 28, 18:00 PST Completed - The scheduled maintenance has been completed.Feb 28, 14:00 PST In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary.Feb 19, 07:47 PST Update - In order to increase the stability and scalability of our systems, we are performing scheduled maintenance on our infrastructure on February 28, from 2PM to 6PM PT. During this time, customers may experience failures when trying to create, update or delete lists, custom fields, se
Started Feb 26, 2026 — Resolved Feb 26, 2026
Feb 26, 11:23 PST Resolved - Our engineers have investigated and resolved an issue that caused high latency when sending email through SendGrid. From 8:24 AM PST to 9:15 AM PST on Thursday, February 26, 2026, customers may have experienced delays sending email from both the SendGrid dashboard (web app) and email sent via SMTP or API. The issue has been resolved, and all SendGrid email sending is operating normally across the dashboard, SMTP, and API.
Started Feb 12, 2026 — Resolved Feb 12, 2026
Feb 12, 10:36 PST Resolved - Our engineers have monitored the fix and confirmed the issue with Advanced Statistics has been resolved. All services are now operating normally at this time.Feb 12, 06:42 PST Update - Our engineering team has identified the root cause of the issue and is continuing to work on implementing a fix. We will provide the next update in four hours or as soon as additional information becomes available.Feb 12, 03:02 PST Update - Our engineering team has identified the root
Started Feb 11, 2026 — Resolved Feb 11, 2026
Feb 11, 12:33 PST Resolved - Our engineers have monitored the fix and confirmed the issue with Ticket Creation within the SendGrid Help Center has been resolved. All services are now operating normally at this time.Feb 11, 11:35 PST Update - We are continuing to monitor for any issues. We will provide another update in an hour or as soon as more information becomes available.Feb 11, 10:43 PST Update - We are continuing to monitor for any issues. We will provide another update in an hour or as so
Pros and cons

Mailgun

SendGrid
Pros
- Well-written documentation with comprehensive guides and best practices for deliverability
- Robust deliverability support with optional expert pairing to optimize sending
- Powerful inbound email processing with customizable routing rules
- Trusted by Lyft, American Express, and Wikipedia since 2010
Pros
- Comprehensive documentation with SDKs for most major languages
- Rich analytics tools with programmatic API access to engagement data
- Strong focus on deliverability with AI-powered intelligent delivery
- Trusted by Uber, Booking.com, and Yelp for high-volume sending
Cons
- Requires familiarity with email protocols and API integrations
- Pricing tiers can be confusing
- Email template features are basic without the Mailjet editor
Cons
- Extended email activity history requires a paid add-on
- Pricing can become complex at higher volumes
- Support response times vary by plan tier
Frequently asked questions
What is the difference between Mailgun and SendGrid?
Mailgun is a developer-focused email API platform owned by Sinch, known for flexible sending and receiving capabilities. SendGrid is a cloud-based email delivery platform owned by Twilio, known for high-volume transactional and marketing email. Mailgun is best suited for developer-focused sending + receiving, while SendGrid is geared toward high-volume transactional + marketing.
Which is cheaper, Mailgun or SendGrid?
Free tier includes 100 emails per day with no expiration. Paid plans start at $15/month for 10,000 emails with overages at $1.80/1K. Free tier includes up to 100 emails per day for 60 days. Paid plans start at $19.95/month for 50,000 emails on the Essentials plan, with an Essentials 100K tier at $34.95/month. Pro plans with dedicated IPs start at $249/month for 300,000 emails. The best value depends on your sending volume. Use the pricing calculator above to compare costs at your expected volume.
Which is faster, Mailgun or SendGrid?
Based on real-world data from Knock, Mailgun has a median API response time (p50) of 123ms compared to 22ms for SendGrid.
Which is more reliable, Mailgun or SendGrid?
From December 12th to March 12th, Mailgun showed an error rate of 0.00% while SendGrid showed 0.00%. Both rates are within acceptable thresholds for production email delivery, and Knock automatically retries failed requests to minimize the impact of transient errors.
Which is more popular, Mailgun or SendGrid?
On the Knock platform, Mailgun handled 100M–500M messages from December 12th to March 12th compared to 500M+ for SendGrid. Mailgun is currently trending upward in adoption, while SendGrid volume has remained stable.
Can I use both Mailgun and SendGrid together?
Yes. Knock enables you to integrate multiple email providers into a single notification workflow. You can use Mailgun and SendGrid side by side, route traffic between them, or migrate from one to the other without changing your application code.
What are the main pros and cons of Mailgun vs SendGrid?
Mailgun strengths include well-written documentation with comprehensive guides and best practices for deliverability and robust deliverability support with optional expert pairing to optimize sending. SendGrid strengths include comprehensive documentation with sdks for most major languages and rich analytics tools with programmatic api access to engagement data. On the other hand, Mailgun drawbacks include requires familiarity with email protocols and api integrations, while SendGrid drawbacks include extended email activity history requires a paid add-on.
Use either provider with Knock
Knock enables you to integrate Mailgun, SendGrid, or any combination of email providers into a single notification workflow. Manage templates, orchestrate cross-channel delivery, and switch providers without changing your code.