What problem does it solve?
Enforcing usage limits, metering feature consumption, and gating access based on a customer's plan requires wiring billing state into application code, which is error-prone when done manually against Stripe webhooks and custom entitlement logic.
Core Features & Use Cases
- Feature Access Checks: Call the Autumn
check function server-side (TypeScript, Python, or cURL) to verify a customer has sufficient balance before executing a protected action.
- Usage Tracking: Record consumption with the
track function after a successful action so balances decrement correctly.
- Credit Systems: Deduct usage from a shared credit balance across multiple features with different per-unit costs, and gate boolean features like premium model access.
- Use Case: An AI chatbot limits free users to a monthly message quota; the backend checks the
messages feature balance before each request and tracks usage afterward, while React hooks show paywalls when limits are reached.
Quick Start
Ask the AI to add usage tracking and feature gating to your app using the Autumn SDK, checking access server-side before each protected action and tracking usage afterward.