Pay-per-call · settled via MPP

Pay-per-call AI.
No signup. No keys.

One endpoint for 59+ generative models. Your agent pays per request from its own account, in USDC or by card.

infer.ts
import { Mppx, tempo } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'

// your wallet's key — it holds the USDC and pays per call
const account = privateKeyToAccount(process.env.YOUR_WALLET_PRIVATE_KEY)
const mppx = Mppx.create({ methods: [tempo({ account })], polyfill: false })

await mppx.fetch('https://api.glianalabs.com/v1/infer', {
  method: 'POST',
  headers: { 'content-type': 'application/json' },
  body: JSON.stringify({
    model: 'google/nano-banana-2',
    prompt: 'a lake at dawn, volumetric fog',
  }),
}) // 402 -> auto-paid -> image. pay-per-call.
59+
Models
6
Modalities
13+
Providers
$0
Signup cost

Frontier models from

xAI
Alibaba
MiniMax
OpenAI
AssemblyAI
Black Forest Labs
Recraft
Google
ByteDance
Inworld
Vidu
RunwayML
PixVerse

Payment is the gate.

No accounts, no balances on our side. The 402 handshake settles every call client-side.

01
Call

Hit /v1/infer with a model and input. The API answers 402 Payment Required with the price.

02
Pay

The client pays from its own wallet or card and retries automatically. Invisible to your code.

03
Result

The model runs and returns output plus a payment receipt. We never hold your balance.

Tempo
Base
Solana
Stellar
Monad
Stripe

Pay in USDC on any of these, or by card. All payment methods →

Featured models

View all 59 →

Image, video, audio, music, speech. Frontier generative models, one endpoint.

Ship in three lines.

USDC or card. No signup. Pay only for the calls you make.

Read the docs