Documentation

Getting Started with BillAI

BillAI is a monetization platform for ChatGPT and MCP app developers. Add access control and payments to your app in minutes.

What is BillAI?

BillAI is a SaaS monetization platform designed specifically for ChatGPT app developers. It provides a simple SDK for access control and entitlements, combined with hosted checkout powered by Stripe Connect.

With BillAI, you don't need to set up your own company or standalone Stripe account. Payments are powered by Stripe Connect, and you receive payouts directly to your bank account. We charge a 7% platform fee on successful transactions.

Key Features

5-Minute Setup

Install the SDK, add a few lines of code, and start accepting payments. No complex configuration required.

Hosted Checkout

Payments are powered by Stripe Connect Express. Users pay through our secure checkout, and you receive payouts automatically.

Access Control

Gate features with a single API call. Support for both boolean and usage-based features with automatic usage tracking.

Flexible Plans

Create unlimited pricing plans with custom features. Support for monthly and yearly billing intervals.

Quick Start

1

Create an account and app

Sign up at BillAI, create a new app in the dashboard, and define your pricing plans with the features you want to gate.

2

Install the SDK

$ npm install @billai/sdk
3

Check access in your code

TypeScript
import { AccessControl } from '@billai/sdk';

const access = new AccessControl({
  apiKey: process.env.BILLAI_API_KEY!,
  appId: 'app_xxx',
});

const result = await access.check(userId, 'premium_feature');

if (!result.granted) {
  // Show upgrade prompt with result.upgradeUrl
}