Back to Portfolio
Penstoke app iconDeveloper Platform

Penstoke

One API for AI models, object storage and push notifications, running on your own provider keys with nothing metered or marked up.

AI GatewayObject StoragePush Notifications

What It Had To Do

  • Call one endpoint instead of wiring up each AI, storage and push provider separately.
  • Keep using your own provider accounts and rates, with no traffic passing through a markup.
  • Fail over to another provider when the first one rate-limits, errors or times out.

Strategic Planning

Penstoke charges for configuration rather than traffic. Each account brings its own provider credentials, which are encrypted at rest with AES-256-GCM and never shown again after saving apart from the last four characters. Apps authenticate with scoped, revocable keys, and the gateway logs request metadata rather than file contents.

Key Features

OpenAI-compatible AI gateway that maps a model alias to a primary model plus ordered fallbacks, enforces per-app dollar budgets and logs model, tokens, latency and cost per call.
Storage gateway issuing short-lived presigned upload URLs, routing paths to buckets with fallbacks across R2, S3, Google Cloud Storage, Supabase, MinIO, Backblaze B2 and Cloudinary.
Push gateway delivering to iOS, Android and Web through Apple APNs and Firebase FCM, by topic or to devices filtered by platform and tag.
Read-only app analytics pulling installs, store revenue, ad earnings and active users from Google Play, App Store Connect, AdMob and GA4, keeping each amount in its original currency.