Softwr

APIs · head to head

Mailgun vs Portkey

Mailgun logo

Mailgun

APIs

Email delivery built for developers

From
Free
Free plan
Yes
Portkey logo

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.

Attributes where Mailgun and Portkey differ
AttributeMailgunPortkey
Starting priceFreeOn request
Free tierYesNo

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 request

No published plan breakdown. See the Portkey review.

Which should you pick?

Choose Mailgun if

  • You want to start without paying.

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.

Source
Portkey: 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

Source
Mailgun: 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.

Source
Portkey: 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

Source
Mailgun: 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.

Source
Portkey: 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

Source
Portkey: 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

Source
Share

Related pages

Other head to heads