Variable Borrow Rates
How your collateral mix sets a premium on top of the base borrow rate on Project 0.
On P0, what you pay to borrow depends on what you borrow against. Your borrow rate is the asset's base rate plus a premium set by your collateral mix:
Borrow rate = Base rate + PremiumThe base rate comes from the asset's utilization curve and is the same for everyone. The premium is personal: riskier collateral backing a borrow might add a premium to your rate.
Most borrows pay the base rate only: a premium applies to some assets, and only some collateral adds to it. Seeing Your Rates in the App shows where to check which.
How the Premium Works
Assets that take part belong to a premium category, for example Stable, SOL, LST or Volatile. For each pair of categories, the protocol sets a premium rate: what a collateral category adds when it backs a borrow of another category.
Your premium on a borrow is the average of those pair rates, weighted by how much of your collateral each asset makes up:
Premium = Sum(Collateral value * Pair rate) / Total collateral value- Collateral without a pair adds nothing. An asset with no category, or no rate against the asset you borrow, counts at 0%, which lowers the average.
- Collateral counts at full value. The premium uses the USD value of your collateral before asset weights or Emode. Isolated assets don't count.
- The premium is never negative. It only adds to the base rate.
Worked Example
You borrow SOL (base rate 6%) against $1,000 of collateral:
| Collateral | Value | Share | Pair rate vs SOL | Adds |
|---|---|---|---|---|
| jitoSOL (LST) | $600 | 60% | 2% | 1.20% |
| WIF (Volatile) | $200 | 20% | 20% | 4.00% |
| USDC (no pair) | $200 | 20% | 0% | 0.00% |
Premium = 1.20% + 4.00% + 0.00% = 5.20%
Borrow rate = 6% + 5.20% = 11.20%Withdraw the WIF and your collateral is $800, of which jitoSOL is 75%:
Premium = 75% * 2% = 1.50%
Borrow rate = 6% + 1.50% = 7.50%The rates shown are illustrative; check the app for current values.
When Your Rate Updates
Your premium is stored on each borrow and only changes when it is refreshed. Between refreshes it does not move with prices.
It refreshes when your Account borrows, withdraws, takes a flash loan or is liquidated. Deposits and repays made through the app usually refresh it too. Anyone can also refresh an Account's rates on-chain at any time.
Changes to the premium table apply to your borrows at their next refresh.
How the Premium Is Charged
The premium accrues as simple interest on your borrowed principal, on top of the base rate. Accrued premium is part of your debt:
- It counts toward your health, like interest. A borrow you leave untouched slowly loses health as premium accrues, and can eventually be liquidated even if prices don't move.
- Repaying pays accrued premium first. "Repay all" closes everything, premium included.
Borrowing with a premium needs a fresh price for every collateral asset in your Account. If one of your collateral prices is stale, the borrow fails until it updates.
Seeing Your Rates in the App
Variable rates are marked with a rate icon across app.0.xyz:
- Markets show your rate on assets you borrow, and an estimate (marked "~") on assets you don't borrow yet.
- Explore rates lists which collateral adds a premium to the asset you want to borrow, and how much.
- Simulate lets you add or remove collateral and see how each borrow's rate would change.
- Borrow rate impact in the action box shows which of your borrows change rate with the transaction, and why.
- Market detail pages list the collateral that adds a premium to that asset, if any.
Lowering Your Premium
- Back a borrow with lower-premium collateral. Adding collateral with a low or no pair rate lowers the average.
- Use separate Accounts. Premiums are set per Account. Keep volatile collateral in a different Account from borrows you want at the base rate, just as you would to preserve Emode.
FAQ
Why did my rate go up after I deposited?
Your premium is an average over all the collateral in your Account, so new collateral changes the rate on borrows you already have, even though the borrows themselves didn't change. For example, if an Account with only USDC collateral borrows SOL and then deposits WIF, the SOL borrow's rate goes up. The new rate applies from the next refresh, which a deposit through the app usually triggers.
Why did my rate change when I only repaid?
Repaying through the app usually refreshes your stored rate. If your collateral prices moved since your last refresh, the rate catches up to your current mix. The repay amount itself has no effect.
Does borrowing more raise my premium rate?
No. The rate depends only on your collateral mix and the asset you borrow, not on how much you borrow. You do pay it on a larger debt, though, and the borrow refreshes your rate, so it can still move if your collateral prices changed since the last refresh.
Why is the rate in the app marked "~"?
It is an estimate from your current collateral. The rate you get when you borrow can differ slightly, because the protocol prices collateral conservatively at the moment of the refresh.