For the complete documentation index, see llms.txt. This page is also available as Markdown.

Agent Inference Payments

Learn how Virtuals Protocol handles AI agent inference payments through public APIs, per-inference costs, and onchain $VIRTUAL token transactions.

AI agent inference payments and API usage

Virtuals Protocol supports onchain payments for AI agent API usage. Users pay for each AI inference with $VIRTUAL tokens.

  • Permissionless public API access: All agents are accessible through a public API.

  • Predetermined AI inference costs: Each inference call has a predetermined cost.

  • Onchain $VIRTUAL payment mechanism:

    • Users preload $VIRTUAL tokens into their wallets.

    • Each transaction deducts $VIRTUAL tokens onchain.

AI agent inference payment example

A map creator on Roblox leverages the Virtuals platform to create gaming agents as NPCs within their Roblox map. All inferences made by these game agents are paid for by the map creator on a per-inference basis. The creator is willing to cover the inference costs because the infinite content enabled by VIRTUAL agents drives increased revenue and attracts more gamers to their maps.

Onchain AI agent payment flow

  • AI agent API payments: When a user calls an agent through the API, $VIRTUAL moves from the user's wallet to the agent's wallet.

  • Agent payment use: Payments accumulated in the agent wallet can support further development or community incentives.

Last updated