Turso vs Portkey
Edge SQLite — libSQL at the speed of light
vs. Enterprise AI gateway + observability + guardrails + prompt mgmt
Pricing tiers
Turso
Free
100 DBs, 5 GB storage, 500M row reads/mo, 10M row writes/mo. No credit card.
Free
Developer
Unlimited DBs, 9 GB storage, 2.5B reads, 25M writes.
$5/mo
Scaler
24 GB storage, 100B reads, 100M writes. Teams + DPA support. Price is annual-billed.
$25/mo
Pro
50 GB storage, 250B reads, 250M writes. Teams, DPA, SSO, BYOK, HIPAA, SOC2, priority support. Annual billed.
$417/mo
Enterprise
White-glove support + unlimited usage + dedicated infra.
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 Turso vs free on Portkey.
| Metric | Turso | Portkey |
|---|---|---|
| databases | 100 DBs | — |
| row reads month | 500000000 reads/month | — |
| row writes month | 10000000 writes/month | — |
| storage gb | 5 GB | — |
Features
Turso · 11 features
- Branching — Create DB branches from a primary for staging/test envs.
- BYOK Encryption — Bring your own encryption key (Pro+).
- Edge Routing — Requests route automatically to the nearest replica group.
- Embedded Replicas — Client-side local SQLite file that syncs from the primary — reads are <1ms local…
- libSQL — Turso's open-source SQLite fork with HTTP, WebSocket, and multi-writer support.
- libSQL Server (sqld) — Self-hostable server component. Runs libSQL as a service.
- Multi-Database — Create thousands of DBs cheaply — perfect for per-tenant / per-customer isolatio…
- Point-in-Time Restore — Rollback DB to any moment within backup window.
- Scheduled Backups — Automated point-in-time backups.
- SQLite Compatibility — Drop-in SQLite — same SQL dialect, same file format.
- Teams & RBAC — Org-level access control for Scaler+ tiers.
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 | Turso | Portkey |
|---|---|---|
| CLI | Turso CLI | Portkey CLI |
| SDK | go-libsql, @libsql/client, libsql-experimental (Python), libsql-rs, libsql-swift | portkey-ai (Node), portkey-ai (Python) |
| REST | libSQL HTTP, Platform API | Portkey API (OpenAI-compat) |
| MCP | Turso MCP | Portkey MCP |
| OTHER | libSQL WebSocket, SQLite wire protocol | Portkey Dashboard |
Staxly is an independent catalog of developer platforms. Outbound links to Turso 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.