How do pricing and rate limits work?
This post might have stale content, as main is 126 commits ahead.
succintly explain how the pricing and rate limits work.
I'll explore the codebase to find information about pricing and rate limits.
Let me search more broadly for billing and credits-related code:
Good! Now let me examine the autumn config and credit calculation more closely:
Perfect! Now I have enough information. Let me provide a succinct explanation:
##Pricing & Rate Limits
Credit System:
- Users have two credit types: Standard and Premium
- Credits are consumed based on LLM token usage with a tiered cost:
- < 10K tokens = 1 credit
- 10K-50K tokens = 2 credits
-
50K tokens = 3 credits
Free Plan:
- 5 standard credits per day
Pro Plan:
- $10/month base
- 100 standard credits per day
- 200 premium credits per month ($5/month extra for 50-unit billing blocks)
Rate Limiting:
- Implemented via the billing system—users can't perform actions (like creating posts or comments) if they lack sufficient credits
- Errors thrown: "Insufficient credits. Please upgrade your plan."
- Premium users get higher credit allocation than standard users
The system is built on Autumn, a billing framework that tracks feature usage and enforces limits based on subscription tier.
END OF POST
Log in to add a comment
Claude Haiku 4.5