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 sets borrowing and lending rates based on real-time liquidity utilization in DeFi protocols.
Chainscore © 2026
definition
DEFINITION

What is an Interest Rate Model?

A mathematical function that algorithmically determines borrowing and lending rates in a decentralized finance (DeFi) protocol based on the utilization of available capital.

An interest rate model is a core smart contract component in lending protocols like Aave and Compound. It dynamically calculates two key rates: the borrow rate paid by users taking out loans and the supply rate (or deposit rate) earned by liquidity providers. These rates are not set by a central authority but are instead derived from real-time on-chain data, primarily the utilization rate—the ratio of borrowed funds to total supplied funds in a given liquidity pool. This automated, transparent mechanism replaces traditional banking's manual rate-setting process.

The primary function of these models is to balance capital efficiency with protocol safety. A common design is the kinked rate model or jump rate model, where the borrow interest rate increases sharply after a predefined optimal utilization rate is exceeded. This steep increase acts as an economic disincentive, discouraging further borrowing to prevent the pool from being completely drained, which protects lenders and maintains system solvency. Simpler linear models apply a constant slope, but are less common in major protocols due to their weaker defensive incentives.

From a technical perspective, the model's parameters—such as the base rate, slope parameters, and optimal utilization point—are governance-controlled constants stored in the protocol's smart contracts. The calculation is performed on-chain each time a user interacts with the protocol (e.g., borrowing, repaying, depositing). The supply rate is algorithmically derived from the borrow rate, typically by multiplying it by the utilization rate, reflecting the revenue generated from borrowers that is distributed to lenders, minus a reserve factor retained by the protocol.

Different asset classes may employ distinct models tailored to their risk profiles. For instance, a stablecoin pool might have a lower optimal utilization threshold (e.g., 80-90%) to ensure high liquidity, while a more volatile asset's model might be configured more conservatively. Advanced models may also incorporate oracle-based adjustments for external market rates or integrate time-based components. The choice and calibration of a model are critical for a protocol's long-term viability and capital attraction.

Understanding interest rate models is essential for DeFi participants to assess protocol risks and potential returns. A well-designed model ensures lenders are compensated for risk and liquidity is reliably available, while borrowers face predictable, market-driven costs. These automated mechanisms are foundational to the permissionless and efficient capital markets enabled by decentralized finance, providing a transparent alternative to traditional financial intermediation.

how-it-works
MECHANISM

How an Interest Rate Model Works

An interest rate model is a smart contract algorithm that programmatically determines borrowing and lending rates based on real-time supply and demand for an asset within a decentralized finance (DeFi) protocol.

At its core, an interest rate model is a mathematical function that maps the utilization rate of a liquidity pool—the percentage of supplied funds that are currently borrowed—to a specific interest rate. This creates a dynamic, self-regulating system. When utilization is low, rates are low to incentivize borrowing; when utilization approaches capacity, rates rise sharply to incentivize repayments and new deposits, protecting the protocol's solvency. This automated mechanism replaces the need for a central authority to set rates.

The most common framework is the jump rate model, popularized by protocols like Compound and Aave. It defines distinct rate curves for different utilization zones: a low, stable rate up to an optimal utilization point, and an exponentially increasing kink rate beyond it. Key parameters like the base rate, multiplier, and jump multiplier are set by governance and determine the slope and aggressiveness of these curves. These models are often visualized with the utilization rate on the x-axis and the resulting APY/APR on the y-axis.

Beyond basic jump models, more sophisticated approaches exist. Adaptive rate models may adjust parameters based on broader market conditions or protocol performance. Some models incorporate oracle-fed data like central bank rates or volatility metrics. The primary goals remain constant: to ensure liquidity is always available for withdrawals, to manage protocol risk by discouraging over-leverage, and to create efficient markets where rates reflect true opportunity cost. A well-calibrated model is critical for a lending protocol's stability and attractiveness to users.

key-features
MECHANICAL COMPONENTS

Key Features of Interest Rate Models

Interest rate models are algorithmic functions that programmatically set borrowing costs and deposit yields based on real-time supply and demand for an asset. Their core features define their behavior, stability, and risk profile.

01

Utilization Rate

The Utilization Rate is the primary input for most models, calculated as Total Borrows / Total Supply. It measures the proportion of deposited funds that are currently lent out. This single metric drives rate adjustments:

  • Low Utilization: Indicates ample liquidity, typically leading to lower borrow rates to incentivize borrowing.
  • High Utilization: Signals scarce liquidity, triggering sharply increasing borrow rates to discourage new loans and incentivize repayments or new deposits.
02

Kink & Multiplier

These parameters define the shape of a piecewise function, most famously used in the Compound v2 model. The Kink is a specific utilization rate threshold (e.g., 80%). The Multiplier (or slope) determines how sharply rates increase.

  • Below Kink: A lower, stable multiplier applies, offering predictable rates.
  • Above Kink: A much higher multiplier kicks in, causing borrow rates to rise exponentially as a defensive mechanism against liquidity crises.
03

Base Rate & Spread

These are the foundational, often constant, components of the rate calculation.

  • Base Rate: A minimum rate that applies even at 0% utilization, representing a baseline cost of capital or protocol fee.
  • Spread: The margin between the borrow rate and the supply rate. It is the protocol's revenue, often dynamically adjusted to ensure sustainability. The relationship is typically: Supply Rate = Borrow Rate * Utilization Rate * (1 - Reserve Factor).
04

Dynamic vs. Static Parameters

This feature determines how a model adapts over time.

  • Static Models: Parameters like kink and multiplier are fixed upon deployment (e.g., early Compound, Aave v1). They are simple but cannot adapt to new market conditions without a governance upgrade.
  • Dynamic/Adaptive Models: Parameters can be updated automatically via oracles or governance to respond to long-term volatility shifts or protocol goals. This aims for greater stability but adds complexity.
05

Interest Rate Curve Shapes

The graphical output of the model's function, which can be linear, polynomial, or piecewise.

  • Linear/Stable: Rates increase steadily with utilization (e.g., some Aave v2 assets). Predictable but less responsive to liquidity crunches.
  • Exponential/Jump Rate: Rates increase slowly at first, then very rapidly near 100% utilization. Designed to strongly defend against liquidity exhaustion.
  • Flat/Zero Rate: Used for non-borrowable collateral assets (like stETH in some protocols) where the supply rate is solely from external yield.
06

Real-World Examples

Different protocols implement distinct models for different risk profiles.

  • Compound v2 (Jump Rate Model): The canonical piecewise function with a clear kink. USDC: kink at 90%, with slopes of 4% and 60%.
  • Aave v2/v3 (Optimal Rate Model): Often uses two linear slopes that meet at an optimal utilization point, aiming for efficiency.
  • Euler's Reactive Model: Dynamically adjusts parameters based on a moving average of the asset's volatility, directly linking risk to cost.
visual-explainer
INTEREST RATE MODEL

Visualizing the Model

An exploration of how interest rate models are graphically represented to illustrate the dynamic relationship between a protocol's utilization rate and the resulting borrowing and lending rates.

An interest rate model is a mathematical function that determines borrowing and lending rates based on a protocol's utilization rate, which is the ratio of borrowed funds to total supplied funds. Visualizing this model typically involves a graph where the x-axis represents the utilization rate (from 0% to 100%) and the y-axis represents the annual percentage yield (APY). The resulting curve shows how interest rates respond to changes in capital demand, with key inflection points like the optimal utilization rate and kink point clearly marked. This visualization is crucial for users and developers to understand the economic incentives and risks embedded in a lending protocol.

The most common visual representation is the kinked model, popularized by platforms like Compound and Aave. This graph features a distinct 'kink' or elbow in the curve at a predetermined utilization threshold (e.g., 80-90%). Below this kink point, borrowing rates increase gradually to incentivize liquidity provision. Above the kink, the slope of the curve steepens dramatically, causing borrowing rates to rise sharply. This steep section acts as a circuit breaker, creating a strong economic disincentive for further borrowing to protect the protocol's liquidity and solvency. The supply rate curve is derived from the borrowing rate, adjusted for the protocol's reserve factor.

Visual analysis of the model reveals critical protocol parameters and risk profiles. The slope of the curve indicates interest rate volatility and sensitivity to market conditions. A steeper curve generally means rates are more reactive to utilization changes, which can lead to higher yields for lenders during high demand but also increased cost volatility for borrowers. The distance between the borrowing and supply rate curves represents the protocol's revenue, part of which is taken as a reserve. By examining these visualizations, users can compare models across different protocols, assessing which offer more stable returns or more aggressive yield opportunities based on their risk tolerance.

examples
INTEREST RATE MODEL

Protocol Examples & Implementations

Interest rate models are core smart contracts that algorithmically adjust borrowing and lending rates based on pool utilization. These implementations showcase different design philosophies for managing risk and capital efficiency.

IMPLEMENTATION TYPES

Interest Rate Model Comparison

A comparison of common interest rate model designs used in DeFi lending protocols, focusing on their core mechanisms and operational characteristics.

Feature / MetricLinear (Jump Rate)KinkedAdaptive (Dynamic)

Core Mechanism

Piecewise linear function with a discrete jump at a utilization threshold

Piecewise linear function with a sharp increase in slope (kink) at optimal utilization

Algorithmically adjusts parameters based on market conditions (e.g., via oracles, governance)

Interest Rate Curve

Two or three distinct linear segments

Two linear segments with different slopes

Continuously variable; shape evolves

Parameter Adjustment

Manual governance update

Manual governance update

Automatic or semi-automatic

Market Responsiveness

Low (static)

Low (static)

High (dynamic)

Predictability for Users

High

High

Medium to Low

Primary Use Case

Simple, predictable rates; capital efficiency warnings

Strong incentive to maintain optimal utilization

Complex markets requiring automated monetary policy

Example Protocol

Compound V2

Aave V2

Compound V3 (Base model), Euler

security-considerations
INTEREST RATE MODEL

Security & Economic Considerations

Interest rate models are algorithmic frameworks that programmatically adjust borrowing and lending rates based on real-time market conditions, primarily the utilization rate of a liquidity pool. They are a core mechanism for managing risk and capital efficiency in DeFi protocols.

01

Core Mechanism: Utilization Rate

The utilization rate (U) is the primary input for most models, calculated as Total Borrows / Total Supply. It measures the proportion of deposited funds that are actively loaned out.

  • Low Utilization (< Optimal): Rates are low to incentivize borrowing.
  • High Utilization (> Optimal): Rates rise sharply to incentivize repayments and new deposits, protecting liquidity.
02

Common Model: Jump Rate

A piecewise function where rates increase gradually up to a kink point (optimal utilization), then jump to a much steeper slope. This creates a clear economic signal.

  • Example: Aave's stablecoin pools. Below the kink (e.g., 90%), rates are modest. Above it, they can spike to over 100% APY to urgently rebalance the pool.
03

Economic Security Function

The model's primary security role is to prevent liquidity crises. By making borrowing prohibitively expensive at high utilization, it:

  • Incentivizes Repayment: Encourages borrowers to close positions.
  • Attracts Capital: High lending rates draw new suppliers to refill the pool.
  • Mitigates Bad Debt: Reduces the risk of the protocol being unable to honor withdrawals.
04

Parameter Risks & Governance

Model safety depends on correctly configured parameters, which are often set via protocol governance.

  • Key Parameters: Optimal utilization kink, base rate, slope 1 (before kink), slope 2 (after kink).
  • Risk: Poorly set parameters can lead to capital flight (if rates are too low) or stifled protocol growth (if rates are too high).
05

Advanced Model: Dynamic Rate (Compound)

Compound's model uses a governance-managed multiplier on the utilization rate, allowing for more flexible, adaptive tuning without changing the core formula. Rates are calculated as: Borrow Rate = Base Rate + (Utilization Rate * Multiplier).

  • This allows DAO voters to adjust market responsiveness based on economic conditions.
06

Oracle Dependency & Manipulation

Interest accrual is often calculated per block, but the Annual Percentage Rate (APR) displayed to users relies on price oracles to estimate annualized yields.

  • Manipulation Vector: An attacker with significant borrowing power could artificially inflate the utilization rate to manipulate rates, creating opportunities for market manipulation or disrupting protocol stability.
INTEREST RATE MODEL

Frequently Asked Questions (FAQ)

Interest rate models are core smart contracts that algorithmically determine borrowing and lending rates in DeFi protocols. This FAQ addresses common technical and operational questions.

An interest rate model is a smart contract algorithm that dynamically calculates the borrowing rate and supply rate for an asset in a lending protocol based on its utilization rate. It works by defining a mathematical relationship, typically a piecewise linear or kinked curve, where the borrowing interest rate increases as the pool's utilization (the ratio of borrowed funds to supplied funds) rises. This mechanism automatically balances supply and demand: high utilization signals capital scarcity, triggering higher borrowing costs to incentivize repayment and additional deposits, while low utilization leads to lower rates to encourage borrowing. Key inputs are the current totalBorrows and totalCash (or totalSupply), from which the utilizationRate = totalBorrows / (totalCash + totalBorrows) is calculated and fed into the model's rate function.

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