Hasura vs PocketBase
Instant GraphQL + REST on your data sources — with permissions
vs. Open-source backend in a single Go binary
Pricing tiers
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
PocketBase
Self-Hosted
MIT-licensed single binary. Run on any VPS / Docker / bare metal. No usage caps — only limited by your server.
$0 base (usage-based)
Free-tier quotas head-to-head
Comparing free on Hasura vs self-hosted on PocketBase.
| Metric | Hasura | PocketBase |
|---|---|---|
| No overlapping quota metrics for these tiers. | ||
Features
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.
PocketBase · 12 features
- Access Rules — Record-level access rules (filter expressions) referencing @request and @collect…
- Admin Dashboard — Built-in web UI for schema + data management.
- Auth — Email+password, OAuth2 (Google, GitHub, Facebook, Apple, Discord, Microsoft, etc…
- Backups — Built-in backup/restore with S3 upload option.
- Built-in Mailer — SMTP integration for verification, password reset, magic link emails.
- Collections — Schema-defined record types with fields, validations, and record/admin/auth acce…
- Embedded JS Engine — JavaScript VM (goja) lets you write hooks in JS without recompiling.
- Extend as Go Library — Embed PocketBase in a larger Go app, add custom routes and events.
- File Storage — Local filesystem or S3-compatible storage with access rules.
- Hooks — Server-side Go or JavaScript hooks that run on CRUD events (OnRecordBeforeCreate…
- Migrations — JS/Go migration scripts applied on startup.
- Realtime Subscriptions — SSE-based subscriptions to collection changes.
Developer interfaces
| Kind | Hasura | PocketBase |
|---|---|---|
| CLI | ddn CLI (v3), hasura CLI | — |
| SDK | — | Go API (extend as library), pocketbase (Dart), pocketbase (JS SDK) |
| REST | Hasura REST Endpoints, Metadata API | REST API |
| GRAPHQL | Hasura GraphQL Engine | — |
| OTHER | Data Connectors, Hasura Console | Admin Dashboard, Realtime SSE |
Staxly is an independent catalog of developer platforms. Outbound links to Hasura and PocketBase 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.