Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Interest Rate Model

An interest rate model is a smart contract algorithm that dynamically adjusts borrowing and lending rates based on real-time utilization of a liquidity pool.
Chainscore © 2026
definition
DEFINITION

What is an Interest Rate Model?

A mathematical function that algorithmically determines the cost of borrowing and the reward for lending assets in a decentralized finance (DeFi) protocol.

An interest rate model is a core smart contract component that dynamically calculates borrow rates and supply rates (or deposit rates) based on real-time market conditions within a lending protocol. It replaces the centralized rate-setting of traditional banks with transparent, on-chain code. The primary mechanism for this adjustment is typically the utilization rate, which is the ratio of total borrowed assets to total supplied assets. As demand for borrowing increases (higher utilization), the model automatically raises rates to incentivize more suppliers to deposit assets and to discourage additional borrowing, thereby balancing the liquidity pool.

The most prevalent type is the jump rate model, exemplified by protocols like Compound and Aave. This model defines a kink—a specific utilization threshold—where the borrowing rate curve steepens significantly. Below the kink, rates increase gradually to encourage initial borrowing and protocol usage. Above the kink, rates rise sharply as a safety mechanism to prevent the pool from being over-leveraged and illiquid. Other models include linear models with a constant slope and more complex dynamic models that may incorporate factors like volatility or oracle price feeds to manage risk.

The model's parameters—such as the base rate, slope parameters, and the kink—are crucial for protocol stability and are often governed by a decentralized autonomous organization (DAO). A well-calibrated model ensures the protocol remains solvent by maintaining sufficient liquidity for withdrawals while offering competitive yields. Poorly designed models can lead to bank runs if rates are too low to attract suppliers, or stifle growth if they are prohibitively high for borrowers. Thus, the interest rate model is fundamental to the monetary policy of a DeFi lending market.

key-features
MECHANICAL COMPONENTS

Key Features of Interest Rate Models

Interest rate models are algorithmic functions that programmatically set borrowing and lending rates based on real-time supply and demand for an asset. Their core features determine protocol stability, capital efficiency, and user incentives.

02

Kink Model (Piecewise Linear)

A kink model, like Compound's and Aave's, uses a piecewise linear function with a kink point (e.g., 80% utilization). Below the kink, rates rise slowly to encourage borrowing. Above it, rates rise sharply to:

  • Strongly incentivize repayments and new deposits.
  • Act as a circuit breaker against liquidity shortages. This creates a predictable, two-tiered response to market conditions.
03

Dynamic Rate Adjustment (Jump Rate & Variable Slope)

Advanced models introduce dynamic parameters for finer control. A Jump Rate Model (like Iron Bank's) adds a discontinuous rate 'jump' at a specific utilization to urgently recapitalize pools. Variable Slope Models allow governance to adjust the slope of the rate curve post-deployment, enabling protocol adaptation to new market data without a full upgrade.

04

Stable vs. Variable Rates

Protocols often offer dual rate options:

  • Variable Rate: Fluctuates based on the model's real-time utilization.
  • Stable Rate: A fixed rate, typically higher than the initial variable rate, offered for a limited time to hedge against volatility. This is a product feature built on top of the core model, providing user choice and risk management.
05

Oracle-Dependent Parameters

Some parameters within a rate model can be set or adjusted by price oracles. For example, the optimal kink point for a volatile asset might be dynamically lowered based on oracle-reported price volatility. This creates a feedback loop where market data (volatility) directly influences the risk parameters of the lending market.

06

Reserve Factor

The reserve factor is a percentage of the interest paid by borrowers that is diverted to a protocol's treasury or insurance fund, rather than to depositors. It is a critical parameter set by governance that directly impacts the Supply APY, as it reduces the yield passed through to lenders. A higher reserve factor increases protocol revenue but decreases depositor returns.

how-it-works
DEFINITION & MECHANICS

How an Interest Rate Model Works

An interest rate model is a smart contract algorithm that programmatically determines the cost of borrowing and the reward for supplying assets in a decentralized lending protocol.

An interest rate model is a deterministic mathematical function, typically implemented as a smart contract, that calculates variable borrow rates and supply rates based on real-time utilization of a liquidity pool. The core mechanism revolves around the utilization rate, which is the ratio of borrowed assets to total supplied assets. As more capital is borrowed, the utilization rate increases, signaling higher demand and potential scarcity, which triggers the model to raise borrowing costs. This automated adjustment serves dual purposes: incentivizing lenders with higher yields and discouraging excessive borrowing to maintain protocol solvency.

Most models employ a piecewise function, often visualized as a kinked curve, with distinct slopes for different utilization ranges. A common structure is a jump rate model or a linear model, where rates increase gradually until a predefined optimal utilization rate (e.g., 80-90%) is reached. Beyond this kink point, the slope of the curve steepens dramatically, causing borrow rates to spike. This sharp increase is a critical risk-management feature designed to urgently incentivize debt repayment or additional liquidity supply to bring utilization back to a safe level, thereby protecting the protocol from illiquidity.

The model directly links the borrow rate and supply rate through the utilization. The supply rate (or deposit rate) is derived from the total borrowing interest paid, minus a protocol reserve factor, which is a fee retained by the protocol. This creates a direct economic feedback loop: lenders earn more when borrowing demand is high, and borrowers pay more when liquidity is tight. Real-world examples include Compound's jump rate model and Aave's stable and variable rate models, which can have different parameters per asset to reflect its volatility and market depth.

core-mechanism-utilization
INTEREST RATE MODEL

The Core Mechanism: Utilization Rate

The utilization rate is a core metric in DeFi lending protocols that determines the supply and borrowing costs of assets.

The utilization rate is a real-time metric, expressed as a percentage, that measures the proportion of total supplied assets in a lending pool that are currently being borrowed. It is calculated as U = Total Borrows / Total Supply. This single figure is the primary input for a protocol's interest rate model, directly dictating the supply APY earned by liquidity providers and the borrow APY paid by borrowers. A high utilization rate indicates scarce available liquidity, prompting the model to increase borrowing costs to incentivize repayment and new deposits.

Protocols implement algorithmic interest rate curves that react to the utilization rate. Typically, these curves have two or more distinct phases. Below a target utilization threshold (e.g., 80%), rates increase gradually to balance supply and demand. Once utilization surpasses this optimal rate or a kink point, the curve enters a much steeper high-utilization regime. This sharp, often exponential, increase in borrowing costs acts as a circuit breaker, strongly incentivizing borrowers to repay loans and liquidity providers to deposit more assets, thereby protecting the protocol's solvency.

The utilization rate is a critical risk management tool. It serves as a leading indicator of liquidity stress within a pool. A persistently high utilization rate near 100% signals that the pool may be unable to fulfill large withdrawal requests without triggering liquidations or requiring external intervention. Consequently, sophisticated users and risk managers monitor this metric closely, as it influences capital efficiency, yield opportunities, and systemic risk. Protocols may adjust their rate model parameters, such as the kink point and slope coefficients, based on governance votes to optimize for stability or growth.

common-model-types
MECHANISMS

Common Types of Interest Rate Models

Interest rate models are the algorithmic engines that determine borrowing costs and deposit yields in DeFi lending protocols. They dynamically adjust rates based on real-time supply and demand for an asset.

01

Jump Rate Model

A piecewise function that introduces a sharp, non-linear increase in the borrow rate once a predefined utilization ratio threshold is crossed. This model is designed to create a strong economic incentive for liquidity providers to deposit assets and for borrowers to repay loans before the pool becomes critically under-supplied.

  • Key Feature: The "kink" point defines the utilization threshold where rates jump.
  • Purpose: Protects protocol solvency by aggressively discouraging borrowing at high utilization.
  • Example: Aave's stablecoin pools historically used a version of this model.
02

Linear Model

A model where the borrow interest rate increases at a constant, linear rate as the utilization ratio rises from 0% to 100%. It represents the simplest form of supply-demand pricing in DeFi.

  • Key Feature: Straight-line relationship between utilization and rate.
  • Use Case: Often used for preliminary implementations or assets with predictable, stable demand.
  • Limitation: Lacks the aggressive defensive mechanism of a jump rate model at high utilization.
03

Dynamic Rate Model (e.g., Compound v2)

A model that uses a multiplicative factor and a base rate to calculate borrowing costs. The borrow rate is derived from the supply rate, which is the utilization ratio multiplied by the borrow rate. This creates a direct, dynamic link between the rates paid to lenders and charged to borrowers.

  • Key Feature: borrowRate = utilizationRate * multiplier + baseRate.
  • Governance Parameters: The multiplier (slope) and baseRate (y-intercept) can be adjusted via governance.
  • Example: The foundational model for Compound Finance's cToken markets.
04

Adaptive / PID Controller Model

An advanced model that uses a Proportional-Integral-Derivative (PID) controller—a classic control theory mechanism—to automatically adjust interest rates towards a target utilization ratio. It continuously measures the error (difference between actual and target utilization) and adjusts rates to correct it.

  • Key Feature: Algorithmic, feedback-loop driven rate setting.
  • Goal: Maintain optimal liquidity efficiency without manual parameter updates.
  • Example: Used by newer protocols like Euler Finance and in updated versions of existing models.
05

Isolated Pool Model

This is not a specific rate function, but a critical architectural approach. Each lending pool has its own isolated risk parameters and interest rate model, which are calibrated specifically for the asset's volatility, liquidity, and market depth. This allows for precise, asset-specific tuning.

  • Key Feature: Risk and rates are contained within individual asset silos.
  • Benefit: Enables the listing of more volatile or exotic assets without jeopardizing the entire protocol.
  • Example: Aave V3's introduction of isolated pools for higher-risk assets.
protocol-examples
INTEREST RATE MODELS

Protocol Examples & Implementations

Interest rate models are core smart contracts that algorithmically determine borrowing and lending rates based on a pool's utilization. Different DeFi protocols implement distinct models, each with unique parameters and risk profiles.

GLOSSARY

Technical Parameters & Configuration

This section defines the core parameters and configurable models that govern the behavior of DeFi protocols, focusing on interest rates, risk management, and system mechanics.

An interest rate model is a smart contract algorithm that programmatically determines borrowing and lending rates based on a pool's utilization rate (the ratio of borrowed assets to supplied assets). It works by using a piecewise function, typically with a kink, where rates increase slowly until a target utilization is reached, then rise sharply to incentivize repayments and protect liquidity. For example, in a common model, the borrowing rate might be 0% at 0% utilization, 10% at 80% utilization (the kink), and can escalate to over 100% APY at 100% utilization. This dynamic pricing mechanism is fundamental to protocols like Aave and Compound for balancing supply and demand.

security-considerations
INTEREST RATE MODEL

Security & Economic Considerations

Interest rate models are algorithmic functions that dynamically adjust borrowing and lending rates based on real-time supply and demand for an asset within a protocol, directly impacting its economic security and capital efficiency.

01

Core Mechanism: Utilization Rate

The utilization rate is the primary input for most interest rate models, calculated as Total Borrows / Total Supply. It measures the proportion of deposited assets that are currently lent out. Models increase the borrow rate as utilization rises to incentivize more deposits and discourage additional borrowing, creating a self-correcting mechanism for liquidity.

02

Model Types: Linear, Kink, and Jump

  • Linear Models: Apply a constant slope, where rates increase steadily with utilization (e.g., early Compound v1).
  • Kink Models (Piecewise Linear): Feature a 'kink' point (optimal utilization). Rates rise slowly before the kink and sharply after it to strongly incentivize liquidity provision (e.g., Aave, Compound v2).
  • Jump Rate Models: Introduce a discontinuous 'jump' in rates at very high utilization (e.g., 95%) as an emergency brake to prevent liquidity exhaustion.
03

Economic Security & Oracle Attacks

Interest rates directly influence protocol security. Excessively low borrow rates can encourage over-leveraged positions, increasing systemic risk. If the borrow rate is lower than the yield from a manipulated oracle price feed, it creates an arbitrage opportunity for an oracle attack, where an attacker borrows cheaply against inflated collateral. Models must set a minimum borrow rate as a security parameter.

04

Parameter Governance & Centralization Risk

Model parameters—like the kink point, slope coefficients, and reserve factor—are typically set via governance. This introduces governance risk; poorly calibrated updates can destabilize markets. The reserve factor, a percentage of interest diverted to a protocol treasury, affects the net yield for suppliers and is a key economic policy lever.

05

Interest Rate Oracle & Composability

The calculated borrow and supply rates act as a critical interest rate oracle for the wider DeFi ecosystem. Other protocols, like yield aggregators or structured products, rely on these rates. Inaccurate or manipulable models can cause cascading effects, making model robustness a matter of composability security.

06

Example: Aave's Stable & Variable Rates

Aave implements distinct models for stable and variable borrowing. Stable rates offer short-term predictability but can be rebalanced. Variable rates change directly with utilization. Each asset pool has uniquely configured parameters (base rate, slope1, slope2, optimal utilization) set via governance, demonstrating the bespoke calibration required for different asset volatilities.

MECHANISM OVERVIEW

Interest Rate Model Comparison

A comparison of the core mechanisms, risk profiles, and implementation characteristics of common interest rate models used in DeFi lending protocols.

Feature / MetricLinear ModelJump Rate ModelKinked Model

Core Mechanism

Interest rate changes linearly with utilization

Interest rate jumps sharply at a target utilization

Interest rate has a 'kink' (slope change) at optimal utilization

Interest Rate Formula

rate = baseRate + (utilization * multiplier)

rate = baseRate + (utilization * multiplier) + jumpMultiplier (if U > Uoptimal)

rate = baseRate + (utilization * multiplier1) for U <= Ukink, plus multiplier2 for U > Ukink

Primary Goal

Predictable, smooth rate changes

Strong disincentive beyond target utilization

Maintain stability near optimal utilization

Borrower Incentive at High Utilization

Moderate

Very Strong (punitive)

Strong

Liquidity Provider Protection

Low

High

Medium-High

Implementation Complexity

Low

Medium

Medium

Example Protocol Usage

Early Compound versions

Compound v2, Aave (stable rate)

Aave (variable rate), many forks

Parameter Tuning Sensitivity

Low

High (critical jump point)

High (critical kink point)

INTEREST RATE MODELS

Frequently Asked Questions (FAQ)

Interest rate models are algorithmic formulas that determine borrowing costs and deposit yields in decentralized finance (DeFi). This FAQ addresses common questions about their mechanics, types, and key parameters.

An interest rate model is a smart contract algorithm that programmatically sets the borrowing rate and supply rate for a crypto asset within a lending protocol. It works by dynamically adjusting rates based on the real-time utilization of the asset's liquidity pool. The core mechanism uses the utilization rate—the ratio of borrowed funds to total supplied funds—as its primary input. As more of an asset is borrowed (high utilization), the borrowing rate increases to incentivize repayment and attract more suppliers. Conversely, when utilization is low, rates decrease to encourage borrowing. This automated, market-driven approach replaces traditional financial intermediaries, ensuring protocol solvency and efficient capital allocation.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team
Interest Rate Model: Definition & How It Works in DeFi | ChainScore Glossary