API FEE STRUCTURE
OPUS AI offers two flexible approaches to fee management, accommodating both end-users and service providers:
User-Managed Funding
Overview: Users purchase and hold USDC on a chosen Layer-2 network.
Process:
Users register and approve the OPUS AI smart contracts.
This authorization allows fee deductions directly from their own USDC balance whenever a verified transaction report is submitted on-chain.
Service Provider-Managed Funding
Overview: An AI agent service provider can register on behalf of their users, maintaining a pooled USDC balance.
Process:
Providers deduct fees from their pooled balance as verified reports are submitted.
Providers can set maximum spending limits per user request, ensuring controlled costs and predictable expense management.
OPUS AI Layer Pricing
1. Base Fee
Amount: 4 USDC
Description: A fixed fee charged for every API request processed on the OPUS AI Layer.
2. Compute Units Fee (Pay-As-You-Go Model)
Definition: Compute Units measure API resource consumption. For this model, 1 Compute Unit = 1,000 Gas Units.
Pricing Tiers (Per Compute Unit)
LLM Mini Model: $0.025 per Compute Unit (Recommended for Basic tasks like ETH transfers)
LLM Standard Model: $0.1 per Compute Unit (Recommended for Moderate tasks like token swaps)
LLM Premium Model: $0.50 per Compute Unit (Recommended for Complex tasks like staking and liquidity provision)
Example Transactions
LLM Mini Model Examples
1. ETH Transfer
Gas Units Consumed: 21,000 (Equivalent to 21 Compute Units)
Fee Calculation:
Base Fee: $4
Compute Fee: 21 × $0.025 = $0.525
Total Fee: $4.525
2. Small Contract Execution
Gas Units Consumed: 50,000 (Equivalent to 50 Compute Units)
Fee Calculation:
Base Fee: $4
Compute Fee: 50 × $0.025 = $1.25
Total Fee: $5.25
LLM Standard Model Examples
1. Token Swap on DEX
Gas Units Consumed: 150,000 (Equivalent to 150 Compute Units)
Fee Calculation:
Base Fee: $4
Compute Fee: 150 × $0.10 = $15.00
Total Fee: $19.00
2. Medium Contract Interaction
Gas Units Consumed: 200,000 (Equivalent to 200 Compute Units)
Fee Calculation:
Base Fee: $4
Compute Fee: 200 × $0.10 = $20.00
Total Fee: $24.00
LLM Premium Model Examples
1. Staking Smart Contract Interaction
Gas Units Consumed: 300,000 (Equivalent to 300 Compute Units)
Fee Calculation:
Base Fee: $4
Compute Fee: 300 × $0.50 = $150.00
Total Fee: $154.00
2. Liquidity Provision
Gas Units Consumed: 500,000 (Equivalent to 500 Compute Units)
Fee Calculation:
Base Fee: $4
Compute Fee: 500 × $0.50 = $250.00
Total Fee: $254.00
Summary
This fee structure ensures transparent, scalable pricing while balancing operational sustainability and user flexibility. The tiered Compute Unit pricing model accommodates diverse API usage scenarios, ensuring cost-efficiency and encouraging resource-efficient requests.
Last updated