APIs · head to head
Mailgun vs Portkey

Portkey
APIs
Observe, govern, and secure every AI interaction across your enterprise
- From
- On request
- Free plan
- No
The short version
- Mailgun starts at $15/mo; Portkey prices on request.
- Where Mailgun falls short: free tier limited to 100 emails per day, restricting high-volume use cases.
How do Mailgun and Portkey differ?
Mailgun and Portkey differ on starting price (Free against On request) and free tier (Yes against No). Only the attributes on which Mailgun and Portkey actually diverge.
Identical on both: platforms (Web), category (APIs).
Not yet recorded: pricing model for Portkey, founded for Portkey.
What is each one used for?
Mailgun is most often brought in for transactional email delivery and SMTP relay; Portkey for accessing 1,600+ language models through unified API gateway. The jobs each tool is most often brought in to do.
Mailgun
- Transactional email delivery and SMTP relaynot Portkey
- Email marketing at scale for developers and enterprisesnot Portkey
Portkey
- Accessing 1,600+ language models through unified API gatewaynot Mailgun
- Monitoring and observing LLM behavior in production environmentsnot Mailgun
- Managing costs and setting budget limits for AI spendingnot Mailgun
- Implementing guardrails and PII redaction for secure AI interactionsnot Mailgun
Where do Mailgun and Portkey fall short?
Mailgun's most cited limit: free tier limited to 100 emails per day, restricting high-volume use cases. 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
Portkey
- The free Developer tier records only 10,000 logs per month with 3 day log retention; the $49 per month Production tier raises that to 100,000 logs with $9 per additional 100,000 requests, as of August 2026
- The product is now sold to enterprises as Palo Alto Networks' Prisma AIRS AI Gateway, and the old pricing page redirects to Palo Alto content
How much do Mailgun and Portkey cost?
Mailgun has a free plan, with paid plans from $15/mo. 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
Portkey
On requestNo published plan breakdown. See the Portkey review.
Which should you pick?
Choose Portkey if
Nothing in the data separates Portkey from Mailgun on the points above - pick on price and on how each one feels to use.
Questions people ask
- Is Mailgun or Portkey better?
- It depends on the job. Mailgun fits transactional email delivery and SMTP relay; Portkey fits accessing 1,600+ language models through unified API gateway. Mailgun starts at Free and Portkey at On request.
- Which is cheaper, Mailgun or Portkey?
- Mailgun has a free tier; the other does not. Paid plans start at Free for Mailgun and On request for Portkey.
- Does Mailgun or Portkey run on more platforms?
- Both run on Web, so platform support will not decide this one for you.
- Can I use Mailgun for free?
- Yes. Mailgun has a free tier, so you can try it without paying. Portkey starts at On request.
- 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 Portkey is typically brought in for.
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.
SourcePortkey: What happens if I exceed my Portkey plan's request limit?
Production tier ($49/month) charges $9 per additional 100,000 requests beyond the included 100,000. Enterprise customers have custom limits determined through their service agreement. Source: https://portkey.ai/pricing
SourceMailgun: 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.
SourcePortkey: Can I self-host Portkey to avoid per-request billing?
Yes. Portkey offers an Open Source self-hosted version with unlimited requests at no cost, including universal API, routing, guardrails, and load balancing features. Source: https://portkey.ai/pricing
SourceMailgun: 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.
SourcePortkey: How long does Portkey retain my logs and metrics?
Free Developer tier retains logs 3 days and metrics 30 days. Production tier retains logs 30 days and metrics 90 days. Enterprise tier offers custom retention periods. Source: https://portkey.ai/pricing
SourcePortkey: What compliance features are included in the Enterprise plan?
Enterprise tier includes SOC2 Type 2 certification, GDPR compliance, HIPAA compliance, VPC hosting, SSO, advanced guardrails, and dedicated support. Custom pricing required. Source: https://portkey.ai/pricing
SourceRelated pages
Other head to heads
- Mailgun vs Postmark
- Mailgun vs Swan
- Mailgun vs Courier
- Mailgun vs Mambu
- Mailgun vs Tyk
- Mailgun vs Yapily
- Mailgun vs 10x Banking
- Mailgun vs Microsoft Azure API Management
- Mailgun vs Hoppscotch
- Mailgun vs Ably
- Mailgun vs Lithic
- Mailgun vs AWS API Gateway
- Mailgun vs GraphQL Playground
- Mailgun vs IBM API Connect
- Mailgun vs Janus Gateway
- Mailgun vs Method Financial
- Mailgun vs Sensedia
- Mailgun vs Sila
- Mailgun vs LiteLLM
- Mailgun vs Kong Gateway
- Mailgun vs Apigee
- Mailgun vs Tink
- Mailgun vs WSO2 API Manager
- Mailgun vs Treblle
- Mailgun vs Volt
- Mailgun vs 3scale
- Mailgun vs Akana
- Mailgun vs TrueLayer
- Mailgun vs Basis Theory
- Mailgun vs curl
- Mailgun vs Flybits
- Mailgun vs Moesif
- Mailgun vs Neonomics
- Mailgun vs Novu
- Portkey vs Postmark
- Portkey vs Swan
- Portkey vs Courier
- Portkey vs Mambu
- Portkey vs Tyk
- Portkey vs Yapily
- Portkey vs 10x Banking
- Portkey vs Microsoft Azure API Management
- Portkey vs Hoppscotch
- Portkey vs Ably
- Portkey vs Lithic
- Portkey vs AWS API Gateway
- Portkey vs GraphQL Playground
- Portkey vs IBM API Connect
- Portkey vs Janus Gateway
- Portkey vs Method Financial
- Portkey vs Sensedia
- Portkey vs Sila
- Portkey vs LiteLLM
- Portkey vs Kong Gateway
- Portkey vs Apigee
- Portkey vs Tink
- Portkey vs WSO2 API Manager
- Portkey vs Treblle
- Portkey vs Volt
- Portkey vs 3scale
- Portkey vs Akana
- Portkey vs TrueLayer
- Portkey vs Basis Theory
- Portkey vs curl
- Portkey vs Flybits
- Portkey vs Moesif
- Portkey vs Neonomics
- Portkey vs Novu

