Portkey vs GitBook
Enterprise AI gateway + observability + guardrails + prompt mgmt
vs. Modern docs & knowledge bases — Notion-meets-Mintlify for teams
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
GitBook
Free (Personal)
$0. Unlimited public docs, unlimited editors, AI Assistant (limited). For open-source or personal.
Free
Plus
$6.70/user/mo (annual) or $10/mo. Unlimited public + private spaces, custom domain.
$7/mo
Pro
$12.50/user/mo annual. SSO, advanced security, visitor auth, git sync auto-merge.
$13/mo
Enterprise
Custom. SAML, audit logs, dedicated support, security reviews.
Custom
Free-tier quotas head-to-head
Comparing free on Portkey vs free on GitBook.
| Metric | Portkey | GitBook |
|---|---|---|
| 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.
GitBook · 14 features
- AI Assistant — End-user chat + authoring help.
- Block Editor — Notion-style visual editor.
- Change Requests — PR-like review for docs edits.
- Custom Domain — docs.yourco.com.
- Full-text Search — Scoped + global.
- Git Sync — Two-way GitHub/GitLab sync.
- Integrations Gallery — Built-in integrations panel.
- Markdown Support — Import/export MD.
- OpenAPI Blocks — Embed interactive API reference.
- Page Analytics — Views, search queries, feedback.
- PDF Export — Download docs as PDF.
- SSO — SAML + OIDC.
- Versioning — Compare versions, revert.
- Visitor Authentication — Gate private docs (Pro+).
Developer interfaces
| Kind | Portkey | GitBook |
|---|---|---|
| CLI | Portkey CLI | gitbook CLI (legacy) |
| SDK | portkey-ai (Node), portkey-ai (Python) | @gitbook/api (TS) |
| REST | Portkey API (OpenAI-compat) | GitBook HTTP API |
| MCP | Portkey MCP | — |
| OTHER | Portkey Dashboard | GitBook Editor, GitBook Webhooks, GitHub/GitLab Sync |
Staxly is an independent catalog of developer platforms. Some links to Portkey and GitBook may be affiliate links — Staxly may earn a commission if you sign up through them, at no extra cost to you. 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.