Portkey vs Hasura
Enterprise AI gateway + observability + guardrails + prompt mgmt
vs. Instant GraphQL + REST on your data sources — with permissions
Pricing tiers
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
Hasura
OSS (Community)
Free forever (Apache-2.0). Self-host GraphQL Engine v2.
$0 base (usage-based)
Cloud Free
$0. 1 project. 60 req/min. Community support.
Free
Professional
$99/mo (starts). Usage-based compute + data pass-through. Production SLAs.
$99/mo
Advanced
Custom. Multi-region, dedicated, observability, SSO.
Custom
Enterprise
Custom. On-prem / air-gap / advanced security.
Custom
Free-tier quotas head-to-head
Comparing free on Portkey vs free on Hasura.
| Metric | Portkey | Hasura |
|---|---|---|
| No overlapping quota metrics for these tiers. | ||
Features
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.
Hasura · 14 features
- Actions — Custom resolvers via HTTP.
- Data Connector Hub — Build connectors to any source.
- Event Triggers — DB changes → webhook.
- GraphQL API — Auto GraphQL over relational + NoSQL.
- Hasura DDN (v3) — Multi-source supergraph with OpenDD.
- JWT Auth — Pluggable JWT verification.
- Metadata Migrations — Git-versioned Hasura config.
- Permissions — Row + column + session-based.
- Query Caching — Edge caching with cache-control directive.
- Remote Schemas — Merge external GraphQL into supergraph.
- REST Endpoints — Turn any GraphQL op into REST.
- Scheduled Triggers — Cron + one-off webhook triggers.
- Subscriptions — Live queries via WS.
- Webhook Auth — Custom auth via webhook.
Developer interfaces
| Kind | Portkey | Hasura |
|---|---|---|
| CLI | Portkey CLI | ddn CLI (v3), hasura CLI |
| SDK | portkey-ai (Node), portkey-ai (Python) | — |
| REST | Portkey API (OpenAI-compat) | Hasura REST Endpoints, Metadata API |
| GRAPHQL | — | Hasura GraphQL Engine |
| MCP | Portkey MCP | — |
| OTHER | Portkey Dashboard | Data Connectors, Hasura Console |
Staxly is an independent catalog of developer platforms. Outbound links to Portkey and Hasura 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.