APIs · head to head
MJML vs Portkey
MJML
APIs
Open-source markup language that compiles to responsive HTML email
- From
- Free
- Free plan
- Yes

Portkey
APIs
Observe, govern, and secure every AI interaction across your enterprise
- From
- On request
- Free plan
- No
The short version
- MJML is free; Portkey prices on request.
- Where MJML falls short: it is a code framework, so marketers without HTML knowledge cannot use it without a developer or a separate editor.
How do MJML and Portkey differ?
MJML and Portkey differ on starting price (Free against On request), free tier (Yes against No) and platforms. Only the attributes on which MJML and Portkey actually diverge.
Not yet recorded: pricing model for Portkey, category for MJML.
Which features does each one have?
They share no listed features; 6 appear only for MJML. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in MJML
- Semantic components
- Responsive by default
- Custom components
- Compiler to HTML
- Open source
- Online playground
Only in Portkey
Nothing recorded that MJML does not also cover.
What is each one used for?
MJML is most often brought in for A development team keeping email templates in git and compiling them in CI; Portkey for accessing 1,600+ language models through unified API gateway. The jobs each tool is most often brought in to do.
MJML
- A development team keeping email templates in git and compiling them in CInot Portkey
- Transactional email with shared layouts across many message typesnot Portkey
- An agency building reusable email components for several clientsnot Portkey
- Developers who want Outlook-safe layouts without hand-writing tablesnot Portkey
Portkey
- Accessing 1,600+ language models through unified API gatewaynot MJML
- Monitoring and observing LLM behavior in production environmentsnot MJML
- Managing costs and setting budget limits for AI spendingnot MJML
- Implementing guardrails and PII redaction for secure AI interactionsnot MJML
Where do MJML and Portkey fall short?
MJML's most cited limit: it is a code framework, so marketers without HTML knowledge cannot use it without a developer or a separate editor. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
MJML
- It is a code framework, so marketers without HTML knowledge cannot use it without a developer or a separate editor
- It does not send or host email, so you need an ESP and a preview tool such as an email testing service alongside it
- Output is table-based HTML that is larger and harder to read than hand-crafted markup, which makes manual debugging of client quirks slower
- Custom components need JavaScript knowledge, so extending it is not a no-code task
- Origins in Mailjet and now Sinch mean the project direction depends on a vendor whose main business is selling email delivery, not maintaining the framework
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 MJML and Portkey cost?
MJML is free to use. Plan by plan below, from each vendor's own pricing page.
MJML
Free- MJMLFree
- Open-source framework
- No licence fee
- Community support
Portkey
On requestNo published plan breakdown. See the Portkey review.
Which should you pick?
Choose MJML if
- You need semantic components.
- You want to start without paying.
- You work on Web, macOS, Windows, Linux, API.
- You also want responsive by default.
Choose Portkey if
Nothing in the data separates Portkey from MJML on the points above - pick on price and on how each one feels to use.
Questions people ask
- Is MJML or Portkey better?
- It depends on the job. MJML fits a development team keeping email templates in git and compiling them in CI; Portkey fits accessing 1,600+ language models through unified API gateway. MJML starts at Free and Portkey at On request.
- Which is cheaper, MJML or Portkey?
- MJML has a free tier; the other does not. Paid plans start at Free for MJML and On request for Portkey.
- Does MJML or Portkey run on more platforms?
- MJML runs on Web, macOS, Windows, Linux, API. Portkey runs on Web.
- Can I use MJML for free?
- Yes. MJML has a free tier, so you can try it without paying. Portkey starts at On request.
- What is MJML best used for?
- MJML is most often used for a development team keeping email templates in git and compiling them in ci, transactional email with shared layouts across many message types, an agency building reusable email components for several clients, developers who want outlook-safe layouts without hand-writing tables. Of those, a development team keeping email templates in git and compiling them in ci and transactional email with shared layouts across many message types are not what Portkey is typically brought in for.
- What can MJML do that Portkey cannot?
- MJML covers Semantic components, Responsive by default, Custom components, Compiler to HTML.
Answered from the vendors’ own pages
MJML: Is MJML free?
Yes. It is open source with no licence fee.
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
SourceMJML: Does MJML send email?
No. It compiles markup to HTML; you send it with an ESP.
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
SourceMJML: Who created MJML?
Developers at Mailjet, in early 2015.
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
SourceMJML: Does it work with Outlook?
Its output is built to be responsive in the most popular clients, including Outlook.
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
SourceRelated pages
Other head to heads
- MJML vs Maizzle
- MJML vs Jenkins
- MJML vs Bazel
- MJML vs GitHub
- MJML vs Eclipse
- MJML vs GNU Emacs
- MJML vs Pants Build
- MJML vs Python
- MJML vs AWS CDK
- MJML vs Backstage
- MJML vs Soketi
- MJML vs Swagger UI
- MJML vs Fig
- MJML vs Frappe
- MJML vs Ghostty
- MJML vs Gitea
- MJML vs GitKraken
- MJML vs GoLand
- MJML vs LiteLLM
- MJML vs Kong Gateway
- MJML vs Apigee
- MJML vs Tink
- MJML vs AWS API Gateway
- MJML vs WSO2 API Manager
- MJML vs Treblle
- MJML vs Volt
- MJML vs 3scale
- MJML vs Akana
- MJML vs Mambu
- MJML vs TrueLayer
- MJML vs Zimpler
- MJML vs api.video
- MJML vs Basis Theory
- MJML vs curl
- MJML vs Flybits
- MJML vs Moesif
- Portkey vs Maizzle
- Portkey vs Jenkins
- Portkey vs Bazel
- Portkey vs GitHub
- Portkey vs Eclipse
- Portkey vs GNU Emacs
- Portkey vs Pants Build
- Portkey vs Python
- Portkey vs AWS CDK
- Portkey vs Backstage
- Portkey vs Soketi
- Portkey vs Swagger UI
- Portkey vs Fig
- Portkey vs Frappe
- Portkey vs Ghostty
- Portkey vs Gitea
- Portkey vs GitKraken
- Portkey vs GoLand
- Portkey vs LiteLLM
- Portkey vs Kong Gateway
- Portkey vs Apigee
- Portkey vs Tink
- Portkey vs AWS API Gateway
- Portkey vs WSO2 API Manager
- Portkey vs Treblle
- Portkey vs Volt
- Portkey vs 3scale
- Portkey vs Akana
- Portkey vs Mambu
- Portkey vs TrueLayer
- Portkey vs Zimpler
- Portkey vs api.video
- Portkey vs Basis Theory
- Portkey vs curl
- Portkey vs Flybits
- Portkey vs Moesif
