Compare Mailgun against SendGrid API performance
Compare real-time performance, reliability, and uptime benchmarks for Mailgun and SendGrid, powered by proprietary data from billions of messages sent through Knock.
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 → | 6 | 11 | |
100M–500M | 2nd of 10 → | 25 | 25 |
From September 3rd to December 2nd, Knock routed 100M–500M messages through Mailgun and 100M–500M through SendGrid. Mailgun reported 11 status page updates over the last 90 days, while SendGrid reported 25.
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 September 3rd to December 2nd. The top-line number is an average of these daily values: Mailgun averaged 120ms compared to 15ms for SendGrid. Mailgun's highest daily p50 was 140ms; SendGrid's was 26ms. SendGrid is 105ms 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 167ms compared to 33ms for SendGrid. The highest daily p90 was 579ms for Mailgun and 37ms for SendGrid. SendGrid handles these slower requests 134ms 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 257ms at p99 while SendGrid reached 101ms. The highest daily p99 was 1533ms for Mailgun and 236ms 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% | Sep 3 | 91 | 0 | |
0.00% | 0.01% | Nov 23 | 90 | 0 |
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.01% 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
Recent status page incidents for Mailgun
Started Nov 30, 2026 — Resolved Nov 30, 2026
Nov 30, 05:15 PST Resolved - This incident has been resolved. Nov 30, 03:45 PST Update - We are continuing to monitor this issue. Nov 30, 03:43 PST Identified - We are seeing elevated timeouts connecting to Yahoo EU domains for deliveries. Messages deliveries to the domains below may be delayed. sky.com yahoo.at yahoo.be yahoo.bg yahoo.co.uk yahoo.co.za yahoo.com.hr yahoo.com.ua yahoo.cz yahoo.de yahoo.dk yahoo.ee yahoo.es yahoo.fi yahoo.fr yahoo.gr yahoo.hu yahoo.ie yahoo.it yahoo.lt y
Started Nov 27, 2026 — Resolved Nov 27, 2026
Nov 27, 01:02 PST Resolved - This incident has been resolved. Nov 27, 00:51 PST Monitoring - A fix has been implemented and we are monitoring the results. Nov 27, 00:25 PST Identified - The issue has been identified and a fix is being implemented. Nov 26, 23:57 PST Investigating - We are currently investigating this issue.
Started Nov 23, 2026 — Resolved Nov 23, 2026
Nov 23, 07:09 PST Resolved - This incident has been resolved. Nov 23, 06:53 PST Monitoring - A fix has been implemented and we are monitoring the results. Nov 23, 06:45 PST Investigating - We are currently investigating reports of users unable to log in to the Mailgun control panel. Message delivery is unaffected.
Started Nov 18, 2026 — Resolved Nov 18, 2026
Nov 18, 11:35 PST Resolved - Impacted addresses have been removed from suppression lists. Nov 17, 19:58 PST Monitoring - Addresses that were impacted are in the process of being removed from suppression lists. Nov 17, 12:31 PST Identified - We are currently monitoring the deliverability of Apple iCloud and Private Relay addresses. We working on removing addresses that were added to suppression lists during the effected time.
Started Nov 13, 2026 — Resolved Nov 13, 2026
Nov 13, 10:50 PST Resolved - Delivery rates to Microsoft mailbox providers have returned to normal levels. Some messages may have expired with the status code 602 and a message of “Too old”. Those messages were not delivered and will need to be retried. Nov 12, 14:38 PST Identified - Delivery to Microsoft mailbox providers is currently experiencing issues. Messages are deferred and there is no mail loss at this time. We will provide updates as we receive more information.
Recent SendGrid incidents
Recent status page incidents for SendGrid
Ongoing since Feb 19, 2027
THIS IS A SCHEDULED EVENT Feb 19, 2027, 15:00 - 19:00 PST Nov 19, 04:55 PST Scheduled - We’re conducting a planned maintenance in Germany (TNX-DE1) between 3:00 PM and 7:00 PM Pacific Time on 02/19/2027. During the maintenance window, customers using TNX-DE1 interconnect services—including those with redundant connections—could experience a brief (30–60 second) service disruption while we perform a Junos OS upgrade on the DE1 Edge2 Juniper QFX10K network gear.
Ongoing since Feb 12, 2027
THIS IS A SCHEDULED EVENT Feb 12, 2027, 15:00 - 19:00 PST Nov 19, 04:46 PST Scheduled - We’re conducting a planned maintenance in Germany (TNX-DE1) between 3:00 PM and 7:00 PM Pacific Time on 02/12/2027. During the maintenance window, customers using TNX-DE1 interconnect services—including those with redundant connections—could experience a brief (30–60 second) service disruption while we perform a Junos OS upgrade on the DE1 Edge1 Juniper QFX10K network gear.
Ongoing since Jan 29, 2027
THIS IS A SCHEDULED EVENT Jan 29, 2027, 05:00 - 09:00 PST Nov 19, 04:05 PST Scheduled - We’re conducting a planned maintenance in Australia (TNX-AU1) between 5:00 AM and 9:00 AM Pacific Time on 01/29/2027. During the maintenance window, customers using TNX-AU1 interconnect services—including those with redundant connections—could experience a brief (30–60 second) service disruption while we perform a Junos OS upgrade on the AU1 Edge2 Juniper QFX10K network gear.
Ongoing since Jan 22, 2027
THIS IS A SCHEDULED EVENT Jan 22, 2027, 05:00 - 09:00 PST Nov 19, 04:03 PST Scheduled - We’re conducting a planned maintenance in Australia (TNX-AU1) between 5:00 AM and 9:00 AM Pacific Time on 01/22/2027. During the maintenance window, customers using TNX-AU1 interconnect services—including those with redundant connections—could experience a brief (30–60 second) service disruption while we perform a Junos OS upgrade on the AU1 Edge1 Juniper QFX10K network gear.
Ongoing since Dec 23, 2026
THIS IS A SCHEDULED EVENT Dec 23, 12:00 - 16:00 PST Dec 1, 14:13 PST Scheduled - The Tele2 network in Russia is conducting a planned maintenance from 23 December 2026 at 12:00 PST until 23 December 2026 at 16:00 PST. During the maintenance window, there could be intermittent delays delivering SMS to Tele2 Russia handsets when sending via alphanumeric and long codes senders.
Pros and cons
Compare the strengths and tradeoffs between Mailgun and SendGrid.

Mailgun
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
Cons
- Requires familiarity with email protocols and API integrations
- Pricing tiers can be confusing
- Email template features are basic without the Mailjet editor

SendGrid
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
- Extended email activity history requires a paid add-on
- Pricing can become complex at higher volumes
- Support response times vary by plan tier
Pricing comparison
Compare Mailgun and SendGrid as your email volume grows.
Frequently asked questions
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.
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.
Based on real-world data from Knock, Mailgun has a median API response time (p50) of 120ms compared to 15ms for SendGrid.
From September 3rd to December 2nd, 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.
On the Knock platform, Mailgun handled 100M–500M messages from September 3rd to December 2nd compared to 100M–500M for SendGrid. Mailgun volume has remained stable, while SendGrid volume has remained stable.
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.
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.