Medusa vs Portkey
Open-source commerce engine — build custom storefronts with Next.js + Node
vs. Enterprise AI gateway + observability + guardrails + prompt mgmt
Pricing tiers
Medusa
OSS (self-host)
$0. MIT license. Run Medusa backend + admin on your infra.
$0 base (usage-based)
Medusa Cloud Free
$0. Hobby projects. Shared infra. Community support.
Free
Medusa Cloud Pro
$99/mo. Production support. Dedicated DB. Priority.
$99/mo
Enterprise
Custom. SSO, SLA, dedicated cluster, PCI.
Custom
Portkey
Developer (Free)
Free forever. 10k logs/month. Universal API + key management. 3 prompt templates. Basic observability.
Free
Gateway (OSS)
MIT-licensed gateway only (no observability UI). Self-host for routing/fallbacks.
$0 base (usage-based)
Production
$49/month. 100k logs ($9 per additional 100k). Fallbacks, load balancing, retries, semantic caching. Unlimited prompts. RBAC.
$49/mo
Enterprise
Custom. 10M+ logs/month. Custom guardrails, advanced evals, SSO, budget controls, VPC + on-prem, SOC2, HIPAA, GDPR.
Custom
Free-tier quotas head-to-head
Comparing oss on Medusa vs free on Portkey.
| Metric | Medusa | Portkey |
|---|---|---|
| No overlapping quota metrics for these tiers. | ||
Features
Medusa · 16 features
- Admin Dashboard — React-based admin UI.
- Auth — Customer + admin auth with JWT.
- Cart — Multi-region carts with tax/pricing logic.
- Checkout — Multi-step checkout flow.
- Customers + Groups — Customer records + B2B groups.
- Dynamic Pricing — Price lists, rules, customer-specific.
- Event Bus — Async events via Redis / RabbitMQ.
- File Service — Pluggable storage (S3, local).
- Gift Cards — Native gift-card support.
- Inventory + Multi-warehouse — Stock tracking across locations.
- Next.js Starter — Production-ready Next.js storefront.
- Orders + Fulfillment — Full order lifecycle (edits, returns, exchanges).
- Products + Variants — Products with options, variants, images.
- Promotions + Discounts — Rule-based promos, campaigns.
- Tax Providers — Pluggable tax calculation.
- Workflows Engine — Durable saga-style business logic.
Portkey · 18 features
- AI Gateway — Unified OpenAI-compatible API to 250+ LLMs.
- Alerts — Thresholds on latency, error rate, cost, usage.
- Budget Controls — Per-key + per-team spending limits.
- Evaluations — Built-in evaluator templates + custom.
- Fallbacks — Config-driven provider fallback chains.
- Guardrails — Pre/post processors for safety + compliance.
- Load Balancing — Round-robin, weighted, least-latency across providers.
- MCP Support — Use MCP servers as tools through gateway.
- Observability — Logs, traces, feedback, alerts, cost tracking.
- OSS Gateway — Open-source gateway (portkey-ai/gateway).
- Prompt Library — Shared prompt library + public marketplace.
- Prompt Templates — Version + test + collaborate on prompts.
- Retries — Configurable retry policies per route.
- Role-Based Access Control — Team permissions on prompts + keys.
- Semantic Caching — Vector-based cache on query meaning.
- Simple Caching — Exact-match cache.
- Virtual Keys — Per-app keys with budget + rate limits + permissions.
- VPC Deployment (Ent) — Deploy in your own VPC for compliance.
Developer interfaces
| Kind | Medusa | Portkey |
|---|---|---|
| CLI | medusa CLI | Portkey CLI |
| SDK | @medusajs/js-sdk | portkey-ai (Node), portkey-ai (Python) |
| REST | Medusa Admin API, Medusa Store API | Portkey API (OpenAI-compat) |
| MCP | Medusa MCP | Portkey MCP |
| OTHER | Medusa Admin UI, Next.js Starter | Portkey Dashboard |
Staxly is an independent catalog of developer platforms. Outbound links to Medusa and Portkey are plain references to their official websites. Pricing is verified against vendor pages at publication time — reconfirm before buying.
Want this comparison in your AI agent's context? Install the free Staxly MCP server.