Staxly

Portkey vs Fly.io

Enterprise AI gateway + observability + guardrails + prompt mgmt
vs. Run your app close to users, globally

Portkey websiteFly.io website

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
Portkey website

Fly.io

Pay-as-you-go
No monthly fee. Machines billed per second. Free allocations: ~3 small shared machines + 3 GB volumes.
$0 base (usage-based)
Shared CPU 1x — 256 MB
Entry VM. 1 shared vCPU, 256 MB RAM. ~$2.02/month continuously on.
$2/mo
Performance 1x — 2 GB
Dedicated 1 vCPU, 2 GB RAM.
$32/mo
Reservation — Shared (1 yr)
$36/year for $5/mo credit (40% savings).
$36/mo
Shared CPU 8x — 16 GB
8 shared vCPU, 16 GB RAM.
$89/mo
Performance 16x — 128 GB
Dedicated 16 vCPU, 128 GB RAM.
$1014/mo
Enterprise
Custom. Dedicated capacity, SLA.
Custom
Fly.io website

Free-tier quotas head-to-head

Comparing free on Portkey vs pay-as-you-go on Fly.io.

MetricPortkeyFly.io
No overlapping quota metrics for these tiers.

Features

Portkey · 18 features

  • AI GatewayUnified OpenAI-compatible API to 250+ LLMs.
  • AlertsThresholds on latency, error rate, cost, usage.
  • Budget ControlsPer-key + per-team spending limits.
  • EvaluationsBuilt-in evaluator templates + custom.
  • FallbacksConfig-driven provider fallback chains.
  • GuardrailsPre/post processors for safety + compliance.
  • Load BalancingRound-robin, weighted, least-latency across providers.
  • MCP SupportUse MCP servers as tools through gateway.
  • ObservabilityLogs, traces, feedback, alerts, cost tracking.
  • OSS GatewayOpen-source gateway (portkey-ai/gateway).
  • Prompt LibraryShared prompt library + public marketplace.
  • Prompt TemplatesVersion + test + collaborate on prompts.
  • RetriesConfigurable retry policies per route.
  • Role-Based Access ControlTeam permissions on prompts + keys.
  • Semantic CachingVector-based cache on query meaning.
  • Simple CachingExact-match cache.
  • Virtual KeysPer-app keys with budget + rate limits + permissions.
  • VPC Deployment (Ent)Deploy in your own VPC for compliance.

Fly.io · 14 features

  • Auto Stop/StartMachines auto-stop when idle, start on request (like scale-to-zero).
  • CertsLet's Encrypt + wildcard certs managed.
  • Fly GPUA100/L40S/A10 on-demand GPU machines.
  • Fly Kubernetes (FKS)Managed Kubernetes on Fly machines.
  • Fly MachinesFirecracker microVMs. Start in <1s. Run any Docker image.
  • Fly PostgresManaged Postgres via Supabase partnership (2024). Also legacy self-run Postgres
  • fly-replay headersRoute request to another region at app level.
  • Fly VolumesPersistent SSD attached to a Machine. Encrypted at rest.
  • Global AnycastSingle IP routes to the closest region automatically.
  • LiteFSDistributed SQLite with primary/replica across regions.
  • Private Networks6PN WireGuard mesh. Connect machines across regions privately.
  • SecretsEncrypted env vars propagated to all regions.
  • Tigris (partner)S3-compatible storage for Fly apps. By partner.
  • Upstash Redis (partner)Managed Redis via Upstash.

Developer interfaces

KindPortkeyFly.io
CLIPortkey CLIflyctl CLI
SDKportkey-ai (Node), portkey-ai (Python)
RESTPortkey API (OpenAI-compat)Machines API
GRAPHQLFly GraphQL API
MCPPortkey MCP
OTHERPortkey DashboardFly Postgres (wire)
Staxly is an independent catalog of developer platforms. Outbound links to Portkey and Fly.io 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.