Repolode
useautumn

useautumn/autumn

Open-source pricing and billing layer between Stripe and your app, for subscriptions, credits, usage-based and overage pricing.

Open-source alternative to:Stripe BillingChargebeeRecurly

Stars
2,828
Forks
279
Open issues
326
Last commit
22 hours ago

What is it?

Autumn sits between Stripe and your application so you can define a pricing model and embed it with a few lines of code. It covers subscriptions, credit systems and top-ups, usage-based models with overages, and custom plans for large customers.

The main goal is to take billing logic out of your application code. Upgrades, downgrades, cancellations and failed payments are handled by the platform rather than by webhook handlers you write yourself, and pricing changes can be made in the dashboard without database migrations.

Billing logic is exposed through three functions: attach for purchase and plan-change flows, check for access and remaining usage, and track for recording usage events. Autumn is available as a hosted cloud service or can be self-hosted with Bun and Postgres.

Key features

  • 01Subscriptions, credit systems and top-ups in one platform
  • 02Usage-based billing with real-time limits and overage charges
  • 03Seat-based and pay-upfront pricing models
  • 04Upgrade, downgrade, cancellation and failed-payment handling built in
  • 05Three functions (attach, check, track) for integrating billing

Use cases

  • Adding paid plans and feature limits to a SaaS product
  • Charging for AI token or API usage with overages
  • Offering custom enterprise plans without changing application code
  • Experimenting with credits or new pricing without database migrations

Quick start

  1. 1

    Make sure bun is installed

  2. 2

    Install project dependencies

    bun install
  3. 3

    Run Autumn

    bun dev

Things to know

  • Self-hosting depends on several external services, and the README suggests contacting the team on Discord for help.
  • Logging in locally requires Resend or Google OAuth credentials in server/.env, or an OTP printed to the console.

Topics

FAQ

What is autumn?
Open-source pricing and billing layer between Stripe and your app, for subscriptions, credits, usage-based and overage pricing. Autumn sits between Stripe and your application so you can define a pricing model and embed it with a few lines of code. It covers subscriptions, credit systems and top-ups, usage-based models with overages, and custom plans for large customers.
Is autumn free to use? What license does it have?
autumn is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
Is autumn still maintained?
Actively maintained. The last commit to autumn was on Oct 19, 2026.
What can I use autumn for?
Adding paid plans and feature limits to a SaaS product Charging for AI token or API usage with overages Offering custom enterprise plans without changing application code Experimenting with credits or new pricing without database migrations
How do I install autumn?
Make sure bun is installed Install project dependencies: bun install Run Autumn: bun dev
Where can I get autumn?
The source code and installation instructions are on GitHub: https://github.com/useautumn/autumn

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects