# 8.3 Staking & Rewards

Staking LRZ not only unlocks platform perks but also grants yield opportunities tied to platform revenue.

### Staking Model:

* **Flexible staking**: Minimum 1,000 LAYR, unlocked anytime
* **Locked staking**: Up to 90 days, with higher rewards

### Rewards System:

* Distributed monthly from:
  * Pre-allocated Staking pool
  * IDE Access Subscriptions (10%)
  * API overage usage pool (10% fees)
  * Bot usage taxes (2–5% routed to staking treasury)

### Bonuses:

* Top stakers receive **early beta access**, **model prompt tokens**, and **in-platform advertising credits**

```solidity
// Reward distribution (simplified logic)
function distributeRewards() external onlyTreasury {
    uint256 reward = totalFees / totalStaked;
    for (address staker : stakers) {
        rewards[staker] += stakedAmount[staker] * reward;
    }
}

```
