Trigger.dev vs Portkey
Open-source background jobs with no timeouts and full observability
vs. Enterprise AI gateway + observability + guardrails + prompt mgmt
Pricing tiers
Trigger.dev
Free
$0. 5K runs/mo. 1 concurrent run. 1 team member. 7-day log retention.
Free
Self-Host (OSS)
Free. Apache-2.0 license. Docker Compose + Postgres + Redis.
$0 base (usage-based)
Hobby
$10/mo. 50K runs/mo. 25 concurrent. Unlimited queue time.
$10/mo
Pro
$50/mo (starts at — usage scales). 250K runs/mo baseline. 100 concurrent. Priority.
$50/mo
Enterprise
Custom. HIPAA, SSO, dedicated clusters, on-prem.
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 free on Trigger.dev vs free on Portkey.
| Metric | Trigger.dev | Portkey |
|---|---|---|
| No overlapping quota metrics for these tiers. | ||
Features
Trigger.dev · 13 features
- Batch Trigger — Trigger many runs at once with limits.
- Environment Variables — Manage secrets in dashboard.
- Idempotency Keys — Prevent duplicate runs.
- Machine Sizing — Pick CPU/RAM per task.
- Queues + Concurrency — Named queues for controlled throughput.
- Realtime + React Hooks — Subscribe to run progress from client.
- Retries — Exponential + custom strategies.
- Schedules — Cron-triggered runs.
- Self-Hosting — Run locally or on your infra.
- Subtasks + triggerAndWait — Compose tasks by triggering children.
- Task Metadata — Attach arbitrary metadata to runs.
- Tasks — Define long-running TS tasks.
- wait.for / wait.until — Durable waits — minutes, hours, days.
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 | Trigger.dev | Portkey |
|---|---|---|
| CLI | trigger.dev CLI | Portkey CLI |
| SDK | @trigger.dev/react-hooks, @trigger.dev/sdk | portkey-ai (Node), portkey-ai (Python) |
| REST | Trigger.dev REST API | Portkey API (OpenAI-compat) |
| MCP | — | Portkey MCP |
| OTHER | Trigger.dev Dashboard, Trigger.dev Webhooks | Portkey Dashboard |
Staxly is an independent catalog of developer platforms. Outbound links to Trigger.dev 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.