Monetize Your AI Products
Earn revenue from every AI request in your application
Monetize Your AI Products
Build AI-powered products and earn revenue from every API call. Set your own margin, and we handle billing and payouts.
Perfect for SaaS builders, AI wrappers, and anyone building products on top of AI models.
How It Works
When you integrate AgnicPay AI Gateway into your product, you can add your own fee to every request:
- Your users make requests through your application
- You add your merchant fee (e.g., 20% margin)
- Users pay the AI cost + your fee
- You earn the difference automatically
Pricing Example
| Component | Amount |
|---|---|
| AI Model Cost | $0.001 |
| Your Fee (20%) | $0.0002 |
| User Pays | $0.0012 |
| You Earn | $0.0002 |
Getting Started
1. Register as a Merchant
Visit pay.agnic.ai to:
- Create your AgnicPay account
- Get your Merchant ID (your account identifier)
- Set up your Merchant Wallet (where you'll receive payouts)
2. Add Merchant Headers
Include three headers with every API request:
| Header | Description | Example |
|---|---|---|
X-Merchant-Id | Your AgnicPay account ID | did:privy:abc123... |
X-Merchant-Wallet | Your payout wallet address | 0x1234...abcd |
X-Merchant-Fee-Percent | Your fee percentage (0-100) | 20 |
All three headers must be provided together. Partial headers will return an error.
Code Examples
Python
TypeScript / JavaScript
cURL
Per-Request Fee
You can also set different fees per request:
Business Model Examples
AI Chatbot SaaS
Charge users per message with a built-in margin:
Developer Tools
Add AI features to your dev tools with usage-based pricing:
White-Label AI Solutions
Build AI products for clients with your own branding and pricing:
Response Headers
After a successful request, check the response headers for confirmation:
| Header | Description |
|---|---|
X-Agnic-Merchant-Id | Your merchant ID (confirms fee was applied) |
X-Agnic-Merchant-Fee-Percent | The fee percentage used |
Viewing Your Earnings
Track your earnings in real-time:
- Log in to pay.agnic.ai
- Navigate to your dashboard
- View pending settlements and payout history
Settlements are processed automatically. Earnings accumulate and are paid out to your merchant wallet.
Fee Guidelines
| Fee Percent | Use Case |
|---|---|
| 5-10% | High-volume, low-margin products |
| 15-25% | Standard SaaS applications |
| 30-50% | Premium features, specialized tools |
| 50%+ | White-glove services, enterprise solutions |
Start with a moderate fee (15-20%) and adjust based on your market and value proposition.
Current Limitations
- Streaming: Merchant fees are not currently supported with streaming responses (
stream: true). Use non-streaming requests for monetized calls.