x402 · pay-per-call · base mainnet

AI inference your agents can pay for.

No API key. No account. No signup. Your autonomous agent sends 0.05 USDC on Base and gets an LLM completion back — settled onchain, keyless, instant. Built for machines that hold a wallet, not a credit card.

requests served
earned (USDC)
price / call

How an agent pays

01Call the endpoint. You get HTTP 402 with machine-readable payment requirements (amount, asset, payTo).
02Send 0.05 USDC on Base to the payTo address.
03Retry with header X-PAYMENT: <tx_hash>. We verify it onchain and return the completion.
# 1) discover the price
curl https://glm402.thryx.workers.dev/glm

# 2) pay 0.05 USDC on Base to the payTo, then:
curl -X POST https://glm402.thryx.workers.dev/glm \
  -H "X-PAYMENT: 0xYOUR_TX_HASH" \
  -H "content-type: application/json" \
  -d '{"prompt":"Summarize this in one line: ..."}'
KeylessNo signup or API key to provision. A wallet is the only credential.
Pay-per-callNo subscription, no minimums. Pay for exactly what you use, onchain.
Agent-nativeBuilt for the x402 standard — autonomous agents pay programmatically.