We are a tech startup building a B2B SaaS platform that provides developers with API access to our proprietary, self-hosted AI models.
Our core AI processing engine is already built, containerized, and runs locally on our servers. Your job is to build the customer-facing commercial wrapper around it from the ground up. We need a Lead Developer to deploy an open-source API management gateway (e.g., One API or New API), build a custom Next.js web storefront, and implement a robust, hybrid Stripe billing system (Subscriptions + Prepaid).
(Note: You will not touch the core AI machine learning code. Your focus is strictly the SaaS web application, the billing layer, and the reverse proxy infrastructure).
Core Responsibilities:
API Gateway & DevOps: Deploy an open-source API management gateway via Docker on our Ubuntu VPS. Configure Nginx as a reverse proxy to route traffic securely, ensuring our internal AI engine's ports are completely air-gapped from the public internet.
The Web Storefront (Next.js): Build a modern landing page, pricing page, and developer dashboard (using Tailwind CSS) where users can register, view their live token balance, manage their active subscriptions, and generate sk-... API keys.
Hybrid Billing (Stripe Subscriptions & Prepaid): Implement a dual billing model.
Subscriptions: Users can subscribe to monthly recurring plans (e.g., $49/mo for a set amount of API quota). You must handle Stripe customer portals, upgrades, downgrades, and cancellations.
Pay-As-You-Go: Users can also make one-time top-ups to their wallet if they run out of their monthly subscription quota.
Webhooks: Build highly secure Stripe Webhooks to accurately allocate, reset, or revoke token quotas inside the API Gateway when a subscription renews or a one-time payment is made.
Data Syncing: Ensure the Next.js app acts as a lightweight frontend, fetching live balances and API keys directly from the Gateway’s Admin REST API rather than building a duplicate wallet database.
Show More