Referrals
Earn 10% of what the accounts you refer spend on models, for as long as they keep using MafiaLLM.
How it works
- Every account gets a referral code and a link:
https://mafiallm.com/signup?ref=CODE. - When someone signs up through your link, their account is attached to your code.
- You earn 10% of their model spend. The rate is fixed at 10% and is returned by the API as
rate: 0.10. - Earnings are credited to your balance, not paid out to a wallet.
Dashboard
Dashboard → Referrals shows your code, the link, how many accounts joined, total earned, what is available and what has already been credited. The payout button moves the available amount into your balance.
API
Both endpoints use the dashboard session cookie, not an API key.
GET /api/referrals -> code, link, joined, earned, available, paid, rate
POST /api/referrals/payout -> credits the available amount to the balance
Referral earnings are balance credit. They are not withdrawable in crypto, and they cannot be transferred to another account.