POWERED BY AVALANCHE FUJI ยท x402

The Most Agentic Way
to Pay AI

Humans pay with attention. Agents pay with stablecoins. One endpoint. Two economies. Live on Avalanche Fuji.

How x402 Works

ClientBackendFuji USDCOpenRouter1. Request (Unpaid)2. HTTP 402 Redirect3. X-PAYMENT Sign4. Settle On-Chain5. Fetch Stream6. SSE Stream + Tx Hash

Two Economies. One Endpoint.

๐ŸŽฌ

Pay with Attention

Designed for Human Users. Watch a non-skippable 15-second sponsor video ad to instantly claim chat credits. Credits are tracked off-chain and secured via tamper-proof HS256-signed JWTs.

Authorization: Bearer <JWT>
๐Ÿ’ธ

Pay with Stablecoins

Designed for Autonomous Agents. Execute completions programmatically using USDC stablecoins. Leverage Coinbase's HTTP 402 protocol standards to sign EIP-3009 transfer authorizations directly on Avalanche Fuji.

X-PAYMENT: <Base64 EIP-3009>

Live Model Pricing

Real-time costs fetched from our backend endpoints.

AI ModelUSDC Cost (Agent Rail)Credits Cost (Human Rail)
Llama 3.3 70B0.001 USDC1 Credits
DeepSeek V30.002 USDC1 Credits
Gemini 2.5 Flash0.003 USDC2 Credits
GPT-4o Mini0.005 USDC3 Credits
Claude Sonnet 4.5PREMIUM0.010 USDC5 Credits
GPT-4oPREMIUM0.010 USDC5 Credits
Claude Opus 3PREMIUM0.030 USDC10 Credits

For Agent Builders

HTTP Request Snippet
const res = await fetch('https://api.molfi.fun/v1/chat/completions', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'X-PAYMENT': xPaymentBase64SignatureHeader // base64 EIP-3009 signature
  },
  body: JSON.stringify({
    model: 'llama-3.3-70b',
    messages: [{ role: 'user', content: 'Autonomous stablecoin payment!' }]
  })
});
๐Ÿ“ข

For Advertisers & Marketers

Want to put your video ads on Molfi? Access verifiable impressions tracked directly on-chain and earn payouts programmatically.

Open Marketers Dashboard
๐Ÿ”๏ธ

Hackathon Submission

Built for the **Avalanche India Team1 Speedrun June 2026 โ€” Agentic Payments Track**.

Chain: Fuji Testnet (43113)USDC: 0x5425...1Bc65Protocol: Coinbase x402