AuthMint: Usage-Based Billing for AI Apps

AuthMint is a usage tracking and credit billing platform designed for developers building AI-powered tools. It handles authentication, quota management, tracked usage by tag, and automatic credit deduction. Enabling any indie dev or enterprise organisations the ability to charge and monitor users for AI API usage without building a metering engine from scratch.

Key Features

  • Multi-tenant Architecture using Supabase RLS and project-scoped access
  • Token Granting System with FIFO consumption and expiration
  • Developer-Defined Plans & Quotas – recurring, one-off, and monitor-only
  • Tagged Usage Tracking for different features, workflows, or models
  • REST API & JWT Auth for tracking usage from any client
  • Stripe Integration for top-ups and subscriptions (via Stripe Connect)

Technologies

Next.jsTailwind CSSTypeScriptSupabasePostgreSQLRESTJWTStripe

Project Highlights

  • Complete multi-tenant SaaS platform built for AI billing use cases
  • Handles complex usage tracking with tagging and automatic credit deduction
  • Production-ready with security, audit logging, and payment integration
  • In beta testing with plans for open-source components and hosted version

Screenshots

Dashboard

Dashboard Overview

Tracked Users

User Management

Usage View

Usage Analytics

Tag Management

Tag Management

Manual Credit Grants

Credit Grants

Project Settings

Project Settings

Status

AuthMint is in beta and actively being developed. I'm exploring options for open-sourcing parts of the platform and launching a hosted version for indie devs.